티스토리 뷰

OpenSUSE 11 Desktop Environment Configure VNC Server



Configure VNC Server

 

Configure VNC to connect with GUI from remote client.




1. Login as a user you'd like to configure VNC connection and set like follows.


# set VNC password

suse@otaec:~> vncpasswd 

Using password file /home/suse/.vnc/passwd

VNC directory /home/suse/.vnc does not exist, creating.

Password:

Verify:

Would you like to enter a view-only password (y/n)? n




# start VNC server

suse@otaec:~> vncserver :1 

xauth: (argv):1:  bad display name "otaec:1" in "add" command


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


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

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

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


# stop VNC server

suse@otaec:~> vncserver -kill :1 

Killing Xvnc process ID 23691


suse@otaec:~> vi ~/.vnc/xstartup

# end line: comment out and add

#twm &

exec gnome-session &


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

suse@otaec:~> vncserver :1 -geometry 800x600 -depth 24

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