|

楼主 |
发表于 2005-12-31 13:50:28
|
显示全部楼层
楼上的, 你说的对,你看下面的解说其实是酱紫解决的
_______________________________________
源自 http://faq.gotomyvnc.com/fom-serve/cache/56.html
The default desktop for the VNC Server is "TWM", though most people are used to KDE or Gnome instead. Here is how to change it:
1. Edit ~/.vnc/xstartup
2. For KDE, replace "twm &" with "startkde &"
3. For Gnome, replace "twm &" with "exec gnome-session &"
4. Kill any existing VNC servers with "vncserver -kill :xxx" where xxx is the display number.
5. Start a new server.
___________________________________________
实现vncerver自启动:
建一个文件/root/vncserver.sh然后chmod ugo+x vncserver.sh
/root/vncserver.sh内容如下:
#!/bin/bash
vncserver
在/etc/rc.d/rc.local里面加上/root/vncserver.sh就可以啦,要不直接写vncserver |
|