vncserver 启动、停止

第一次启动:

[root@test-server /root]$vncserver


You will require a password to access your desktops.

Password:
Verify:

New 'test-server:1 (root)' desktop is test-server:1

Creating default startup script /root/.vnc/xstartup
Starting applications specified in /root/.vnc/xstartup

Log file is /root/.vnc/test-server:1.log

第二次启动:

[root@test-server /root]$vncserver

New 'test-server:1 (root)' desktop is test-server:1

Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/test-server:1.log

停止vncserver:

vncserver -kill :1

启动VNC图形界面

编辑文件 /root/.vnc/xstarup

将以下两行注释去掉

 unset SESSION_MANAGER
 exec /etc/X11/xinit/xinitrc



你可能感兴趣的:(session,File,Access,图形)