WIP: Notes
This commit is contained in:
7
fedora/ansible/tigervnc/files/config
Normal file
7
fedora/ansible/tigervnc/files/config
Normal file
@@ -0,0 +1,7 @@
|
||||
## Supported server options to pass to vncserver upon invocation can be listed
|
||||
## in this file. See the following manpages for more: vncserver(1) Xvnc(1).
|
||||
## Several common ones are shown below. Uncomment and modify to your liking.
|
||||
##
|
||||
session=gnome
|
||||
securitytypes=vncauth,tlsvnc
|
||||
geometry=1920x1080
|
||||
1
fedora/ansible/tigervnc/files/vncserver.users
Normal file
1
fedora/ansible/tigervnc/files/vncserver.users
Normal file
@@ -0,0 +1 @@
|
||||
:2=vncuser
|
||||
12
fedora/ansible/tigervnc/files/xstartup
Normal file
12
fedora/ansible/tigervnc/files/xstartup
Normal file
@@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
unset SESSION_MANAGER
|
||||
unset DBUS_SESSION_BUS_ADDRESS
|
||||
/etc/X11/xinit/xinitrc
|
||||
# Assume either Gnome will be started by default when installed
|
||||
# We want to kill the session automatically in this case when user logs out. In case you modify
|
||||
# /etc/X11/xinit/Xclients or ~/.Xclients yourself to achieve a different result, then you should
|
||||
# be responsible to modify below code to avoid that your session will be automatically killed
|
||||
if [ -e /usr/bin/gnome-session ]; then
|
||||
vncserver -kill $DISPLAY
|
||||
fi
|
||||
Reference in New Issue
Block a user