简化 xstartup 内容.

Signed-off-by: ithink.chan <chenyang@autoai.com>
This commit is contained in:
ithink.chan 2019-11-12 17:49:54 +08:00
parent 589558527a
commit af2942f83a
1 changed files with 2 additions and 14 deletions

View File

@ -42,22 +42,10 @@ vncserver -kill :<num>
unset SESSION_MANAGER unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS unset DBUS_SESSION_BUS_ADDRESS
# For Cinnamon
#exec dbus-launch cinnamon-session #exec dbus-launch cinnamon-session
# For Xfce
exec dbus-launch xfce4-session exec dbus-launch xfce4-session
#[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
#[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
#xsetroot -solid grey
#vncconfig -iconic &
#x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#x-window-manager &
#gnome-session &
#xfce4-terminal &
#sesion-manager & xfdesktop & xfce4-panel &
#xfce4-menu-plugin &
#xfsettingsd &
#xfconfd &
#xfwm4 &
``` ```
## 远程访问 ## 远程访问