VNC Server的配置很简单:
# vncpasswd Password:****** Verify:******
# cat .vnc/xstartup #!/bin/sh # Uncomment the following two lines for normal desktop: unset SESSION_MANAGER exec /etc/X11/xinit/xinitrc [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources xsetroot -solid grey vncconfig -iconic & xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & gnome-session &
# vncserver & [3] 8079 [[email protected] ~]# New ‘master.liucc.com:1 (root)‘ desktop is master.liucc.com:1 Creating default startup script /root/.vnc/xstartup Starting applications specified in /root/.vnc/xstartup Log file is /root/.vnc/master.liucc.com:1.log [3] Done vncserver
时间: 2024-11-05 12:34:54