WIP: Notes
This commit is contained in:
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