安裝最簡單的環境: apt-get install gnome-shell apt-get install gnome-panel apt-get install gnome-menus apt-get install gnome-session apt-get install gdm 安裝vncs ...
安裝最簡單的環境:
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 支持的桌面:
sudo apt-get install xfce4
sudo apt-get install xubuntu-desktop
xfce4-session
#!/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 &此時xstartup的配置
連接成功後,可以豐富桌面,繼續安裝:
apt install gnome
保持更新,更多內容請查看 cnblogs.com/xuyaowen