- 參考資料
- 安裝X windows及vnc相關元件
- dnf -y group install “Server with GUI”
- dnf -y install tigervnc-server
- 設定vncserver
- cd /etc/tigervnc
- 編輯vncserver.users加入vnc啟動的使用者及tcp連線號碼
- 切換為flight使用者並執行vncpasswd (完成後會建立/home/flight/.vnc/passwd)
- 編輯vncserver-config-defaults設定vnc server相關參數(預設的desktop參數需改為session)
## Default settings for VNC servers started by the vncserver service
#
# Any settings given here will override the builtin defaults, but can
# also be overriden by ~/.vnc/config and vncserver-config-mandatory.
#
# See the following manpages for more details: vncserver(1) Xvnc(1)
#
# Several common settings are shown below. Uncomment and modify to your
# liking.
securitytypes=vncauth,tlsvnc
#desktop=gnome
session=gnome
geometry=1920x1000
#localhost
alwaysshared