三里屯摇滚 发表于 2011-12-20 22:24

ubuntu server 11.10安装vncserver


ubuntu server 11.10安装vncserver











ubuntu上安装vncserver网上有很多教程了,这里只提几点需要注意的地方:




xstartup格式:



view plaincopy to clipboard01.#!/bin/sh   
02.   
03.# Uncomment the following two lines for normal desktop:   
04.# unset SESSION_MANAGER   
05.# exec /etc/X11/xinit/xinitrc   
06.   
07.[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup   
08.[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources   
09.xsetroot -solid grey   
10.vncconfig -iconic &   
11.x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &   
12.#x-window-manager &   
13.gnome-session-fallback &   1. 注掉x-window-manager

2. ubuntu 11.10默认采用gnome3特效,如果用gnome-session会看不到标题栏,因此需要采用gnome-session-fallback

梦境照进现实 发表于 2011-12-21 21:39

学习鸟 谢谢分享
页: [1]
查看完整版本: ubuntu server 11.10安装vncserver