分类: LINUX
2008-02-22 16:14:21
[root@mail vnc-3.3.7-x86_linux]# cp *vnc* /usr/local/bin
[root@mail vnc-3.3.7-x86_linux]# mkdir /usr/local/vnc
[root@mail vnc-3.3.7-x86_linux]# cp -r classes/ /usr/local/vnc/
[root@mail vnc-3.3.7-x86_linux]# vncpasswd
Password:
Verify:
Cannot write password file /root/.vnc/passwd
[root@mail vnc-3.3.7-x86_linux]# vncserver
You will require a password to access your desktops.
Password:
Verify:
New 'X' desktop is mail:1
Creating default startup script /root/.vnc/xstartup
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/mail:1.log
[root@mail vnc-3.3.7-x86_linux]# netstat -an
linux上的vnc server内定的桌面管理环境是twm,实在是太简陋了.
修改$HOME/.vnc/xstartup这个文件.
把所有内容的行前加上#,再在接尾部份加上:
startkde &
gnome-session &