HOWTO: Enable and control the gnome VNC vino-server from an SSH connection

NOTE: At long last here's the updated method. This was tested between two Ubuntu 10.10 Maverick hosts. Thanks to all the contributors to this thread, especially the posts by frafu and InkyDinky

user@localbox:~$ ssh -Y user@remotebox
user@remotebox:~$ vino-preferences

# check settings and hit close button
user@remotebox:~$ sudo -s
root@remotebox:~# export DISPLAY=:0.0
root@remotebox:~# xhost +
root@remotebox:~# /usr/lib/vino/vino-server &
# to start the vino server
root@remotebox:~# netstat -nl | grep 5900 
# check to make sure vino server is listening on port 5900
exit or CTRL-D twice to close SSH session to remotebox

user@localbox:~$ ssh -L 5900:localhost:5900 user@remotebox
# establish a new SSH connection to remotebox w/forwarded VNC port
# launch Remote Desktop Viewer (vinagre) under Applications => Internet and connect to localhost
Attached Images Attached Images


출처 - http://ubuntuforums.org/showthread.php?t=266981





'System > Linux' 카테고리의 다른 글

linux - 공유 라이브러리 등록 및 출력  (0) 2013.06.10
linux - RPM(RPM Package Manager)  (0) 2013.06.07
linux - iptables 예제  (0) 2013.05.17
linux - webmin  (0) 2013.05.17
fedora - virtualbox installation  (0) 2013.05.02
Posted by linuxism
,