安装最简单的环境:
apt-get install gnome-shell
apt-get install gnome-panel
apt-get install gnome-menus
apt-get install gnome-session
apt-get install gdm
安装vncserver
curl -o -L https://bintray.com/tigervnc/stable/download_file?file_path=tigervnc-1.9.0.x86_64.tar.gz
配置xstartup 文件:
#!/bin/sh export XKL_XMODMAP_DISABLE=1 unset SESSION_MANAGER unset DBUS_SESSION_BUS_ADDRESS
gnome-panel & gnome-settings-daemon & metacity & nautilus & gnome-terminal & gnome-session &
启动并连接:
vncserver :1
vncserver -kill :1
安装xface 支持的桌面:
代码语言:javascript复制sudo apt-get install xfce4
代码语言:javascript复制sudo apt-get install xubuntu-desktop
代码语言:javascript复制xfce4-session
代码语言:javascript复制#!/bin/sh
export XKL_XMODMAP_DISABLE=1
#unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
#gnome-panel &
#gnome-settings-daemon &
#metacity &
#nautilus &
#gnome-terminal &
#gnome-session &
xfce4-session &
连接成功后,可以丰富桌面,继续安装:
apt install gnome
保持更新,更多内容请查看 cnblogs.com/xuyaowen