Skip to content

Commit dd1fda6

Browse files
committed
fix: error message from gnome spawning process
1 parent 381a472 commit dd1fda6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

ubuntu/bootstrap_gnome.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,21 @@ unsetenv DBUS_SESSION_BUS_ADDRESS
5656
# Set VNCSESSION to tell /etc/xdg/xfce4/xinitrc to not run xscreensaver
5757
# http://vstone.eu/2009/04/disabling-xscreensaver-when-using-xfce-vnc/
5858
setenv VNCSESSION yes
59+
setenv DISPLAY :1
5960
gnome-session &
61+
gnome-panel &
62+
gnome-settings-daemon &
63+
metacity &
64+
nautilus &
6065
# Make sure that copy / paste are correctly forwarded to the VNC viewer
6166
vncconfig -nowin &
6267
EOF
6368
chmod +x /home/work/.vnc/xstartup
6469

6570
mkdir -p $HOME/.config/nautilus
6671
chown -R $USER:$USER $HOME/.config/nautilus
72+
mkdir -p $HOME/.gtk-bookmarks
73+
chown -R $USER:$USER $HOME/.gtk-bookmarks
6774

6875
cat >/home/work/.xscreensaver <<EOF
6976
mode: off

0 commit comments

Comments
 (0)