2019年6月13日 星期四

Ubuntu16.04 + vnc

gnome
https://blog.whe.me/post/ubuntu-install-gui.html


vnc

sudo apt-ge install xfce4



#!/bin/sh
# Uncomment the following two lines for normal desktop:
# unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc
[ -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 &
sesion-manager & xfdesktop & xfce4-panel &
xfce4-menu-plugin &
xfsettingsd &
xfconfd &
xfwm4 &

1 則留言:

  1. crontab -e
    @reboot /usr/bin/vncserver :1



    原文網址:https://kknews.cc/other/3eg3jro.html

    回覆刪除