Chinaunix首页 | 论坛 | 博客
  • 博客访问: 38665
  • 博文数量: 20
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 145
  • 用 户 组: 普通用户
  • 注册时间: 2016-03-25 09:44
个人简介

unix

文章分类

全部博文(20)

文章存档

2016年(20)

我的朋友

分类: 嵌入式

2016-05-18 11:03:35

Qt:Session management error: None of the authentication protocols specified aresupported


Qt是可能出现一下警告,不过可以忽略,程序照样可以运行,这并不是错误。

1、QGtkStyle was unable to detect the current GTK+ theme.

2、Qt: Session management error: None of the authentication protocols specified are supported

               

折腾了好久,终于找到答案了。

第一个警告解决:gedit /etc/X11/xinit/.xinitrc,添加一行export GTK2_RC_FILES="$HOME/.gtkrc-2.0"

第二个警告解决:在使用root登录是就会出现这种问题,切换成普通用户及可。


 
 

阅读(4665) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~