su 사용자계정
------=====================
우분투 vnc 설정 출처
http://blog.fun25.co.kr/ubuntu-14-04-gnome-desktop-%EB%B0%8F-vnc-%EC%84%A4%EC%B9%98/
gnome desktop 설치
# sudo apt-get install ubuntu-desktop
gnome panel 설치
# sudo apt-get install gnome-panel
vnc 서버 설치
# sudo apt-get install vnc4server
vnc 서버 시작
# vncserver -geometry 1920x1080 -depth 16
You will require a password to access your desktops.
Password:
Verify:
New 'geosr148:1 (delft3d)' desktop is geosr148:1
Creating default startup script /home/delft3d/.vnc/xstartup
Starting applications specified in /home/delft3d/.vnc/xstartup
Log file is /home/delft3d/.vnc/geosr148:1.log
#!/bin/sh
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
# x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
# x-window-manager &
gnome-panel &
gnome-settings-daemon &
metacity &
nautilus -n &
gnome-terminal &
$ sudo chmod +x ~/.vnc/xstartup
vnc 서버 종료 및 시작
$ vncserver -kill :1
Killing Xvnc4 process ID 22709
$ vncserver -geometry 1920x1080 -depth 16
New 'geosr148:1 (delft3d)' desktop is geosr148:1
Starting applications specified in /home/delft3d/.vnc/xstartup
Log file is /home/delft3d/.vnc/geosr148:1.log
클라이언트에서 접속하기
vnc 클라이언트에
IP:1
접속
-===========================
lsb_release -a