티스토리 뷰

EN/Debian 6

Debian 6 Desktop Env VNC Server

ServerWorld 2016.05.23 22:11

Debian 6 Desktop Env VNC Server


VNC Server



1. Install VNC Server to operate Debian with GUI remotely from Windows client.


root@otaec:~# aptitude -y install vnc4server 


root@otaec:~# su - squeeze # switch to a user who set VNC

squeeze@otaec:~$ vncpasswd # set VNC password

Password:# input

Verify:

squeeze@otaec:~$ vncserver :1 # start

xauth: creating new authority file /home/squeeze/.Xauthority


New 'otaec:1 (squeeze)' desktop is otaec:1


Creating default startup script /home/squeeze/.vnc/xstartup

Starting applications specified in /home/squeeze/.vnc/xstartup

Log file is /home/squeeze/.vnc/otaec:1.log


squeeze@otaec:~$ vncserver -kill :1 # stop

Killing Xvnc4 process ID 3965

squeeze@otaec:~$ vi .vnc/xstartup 


# add follows

exec gnome-session &


# start with diplay number '1', screen resolution '800x600', color depth '24'

squeeze@otaec:~$ vncserver :1 -geometry 800x600 -depth 24 


New 'otaec:1 (squeeze)' desktop is otaec:1


Starting applications specified in /home/squeeze/.vnc/xstartup

Log file is /home/squeeze/.vnc/otaec:1.log




2. Install VNC viewer on client computer next. Download from the site below to install. 


http://www.realvnc.com/products/free/4.1/download.html


Start VNC viewer after installing. Then following scrren is shown. Input [(Server's hostname or IP address):(display number)] like following example.

 

※ Next manual



저작자 표시 비영리 변경 금지
신고
댓글