cnshirui 发表于 2013-1-15 14:22:08

How to Login Ubuntu Remote Desktop in Windows?

1. use putty to login Ubuntu, install vnvserver: sudo apt-get install vnc4server
2. edit $HOME/.vnc/xstartup as below
#!/bin/sh

# Uncomment the following two lines for normal desktop:
# unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
#xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#twm &
gnome-session &

3. start server: vncserver
4. in windows, use vncviewer to login 192.168.0.2:1
页: [1]
查看完整版本: How to Login Ubuntu Remote Desktop in Windows?