virtualbox错误:Qt WARNING: Qt: Session management error: None of the authentication protocols specif

virtualbox错误:Qt WARNING: Qt: Session management error: None of the authentication protocols specif

virtualbox可以运行,但出现以下信息:

root@zctech-chengjb:/var/www/zctech# virtualbox
Qt WARNING: QGtkStyle was unable to detect the current GTK+ theme.
Qt WARNING: 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登录时就会出现这种问题,切换成普通用户及可。

zczhangjx@zctech-chengjb:/var/www/zctech$ virtualbox
zczhangjx@zctech-chengjb:/var/www/zctech$
用普通用户登录就不会出现这种问题。

你可能感兴趣的:(VirtualBox)