-
Notifications
You must be signed in to change notification settings - Fork 72
Expand file tree
/
Copy pathxstartup
More file actions
16 lines (13 loc) · 688 Bytes
/
xstartup
File metadata and controls
16 lines (13 loc) · 688 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
# This is a xstartup script for vncserver.
# (c) Pete Birley
#export XKL_XMODMAP_DISABLE=1
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
#Currently Gnome falls over launching via session, so we need to bring it up manually:
gnome-panel &
gnome-settings-daemon &
metacity &
nautilus &
#This script customises and bugfixes gnome - it is being run here - rather than in .gnomerc or similar as these will not work with manausl launch - and the user is already logged in so we arn't using gdm or similar - this should be refactored to run sliently and lock user input/VNC output untill it has completed.
gnome-terminal -e /usr/local/etc/gnome-docker-fix-and-customise.sh &