`
cnshirui
  • 浏览: 7416 次
  • 性别: Icon_minigender_1
  • 来自: 上海
最近访客 更多访客>>
社区版块
存档分类
最新评论

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
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics