在CentOS下运行thg打开tortoiseHg时候老是弹出两行错误原因
运行 thg &
报下面两个错误,但是程序能正常执行。
QGtkStyle was unable to detect the current GTK+ theme.
Qt: Session management error: None of the authentication protocols specified are supported
意思大概就是你当前登录的用户是普通用户,然而却做命令行里root帐号下执行thg &来调用Qt,所以才会报错。
当然,如果现在命令行中以当前用户去运行,就不会有错误提示了。
本博客所有文章如无说明,则均为作者黄丁丁原创
转载请注明出处:http://www.cnblogs.com/huangdingding