在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,所以才会报错。

当然,如果现在命令行中以当前用户去运行,就不会有错误提示了。

posted @ 2012-12-20 12:58  黄丁丁  阅读(749)  评论(0编辑  收藏  举报