How to setup a Linux VNC Server with KDE or Gnome:
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.
vncserver -restart
修改/etc/inittab,将default改为5就行。
VNC配置
http://bbs.chinaunix.net/viewthread.php?tid=368552
在console启动KDE,使用startkde命令
AIX
Here's how to change from the default window manager twm to CDE.
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.
vncserver -restart
修改/etc/inittab,将default改为5就行。
VNC配置
http://bbs.chinaunix.net/viewthread.php?tid=368552
在console启动KDE,使用startkde命令
AIX
Here's how to change from the default window manager twm to CDE.
Once you run vncserver, it will create a file called ~/.vnc/xstartup
Edit that file, comment out all the lines, and add this line:
# This line gives you a CDE desktop when you sign on to VNC
/usr/dt/bin/dtsession &
Now restart your vncserver to pick up the change.
vncserver -kill :1
vncserver