Linux VNC 桌面系统启动

来源:互联网 发布:时间序列数据举例 编辑:程序博客网 时间:2024/05/17 03:20
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.

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


原创粉丝点击