运行 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,所以才会报错。
当然,如果现在命令行中以当前用户去运行,就不会有错误提示了。