내밥줄/리눅스

Ubuntu 12.04 vnc

jjoell 2014. 4. 24. 12:50

~/.vnc/xstartup을 다음과 같이 수정


#!/bin/sh

# Uncomment the following two lines for normal desktop:


unset SESSION_MANAGER

#exec /etc/X11/xinit/xinitrc


gnome-session --session=ubuntu-2d &

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup

[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources


xsetroot -solid grey

vncconfig -iconic &


#x-terminal-emulator -geometry 1280x1024+10+10 -ls -title "$VNCDESKTOP Desktop" &

#x-window-manager &


저장 후 

vncserver :번호