vnc普通用户不能登录的解决方法

1.如果你要用某个用户登录vnc,首先在command line下用这个user登录
比如,你要用Oracle登录vnc,首先su - oracle
之后在command line下输入 vnc
接着vi ~/.vnc/xstart字样的文件把所有内容都屏蔽,加上 gnome-session
接着重启vnc  
vncserver -kill:1
vncserver
再用vncviewer登录


2.用root用户登录vnc,调出command-line su - user
也是一样可以用的

posted @ 2017-11-28 15:34  希曼博客  阅读(1269)  评论(0编辑  收藏  举报