From e992e427a1dd414d9c5df8193c76359bd9852999 Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Wed, 11 Mar 2009 11:56:13 +0000 Subject: Hints for Ubuntu desktop fixes ..., see #395 too ... git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2711 95ad53e4-c205-0410-b2fa-d234c58c8868 --- os-plugins/plugins/desktop/OpenSLX/Distro/Ubuntu.pm | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'os-plugins') diff --git a/os-plugins/plugins/desktop/OpenSLX/Distro/Ubuntu.pm b/os-plugins/plugins/desktop/OpenSLX/Distro/Ubuntu.pm index cfe1d264..804e5690 100644 --- a/os-plugins/plugins/desktop/OpenSLX/Distro/Ubuntu.pm +++ b/os-plugins/plugins/desktop/OpenSLX/Distro/Ubuntu.pm @@ -1,4 +1,4 @@ -# Copyright (c) 2006, 2007 - OpenSLX GmbH +# Copyright (c) 2006..2009 - OpenSLX GmbH # # This program is free software distributed under the GPL version 2. # See http://openslx.org/COPYING @@ -48,7 +48,9 @@ sub setupGDMScript my $configFile = $self->GDMPathInfo->{config}; $script .= unshiftHereDoc(<<' End-of-Here'); - + # Ubuntu clones might need to get the /etc/gdm/gdm.conf copied or + # better to have a fully blown gdm.conf-custom + # cp ... /mnt/etc/gdm/gdm.conf # cleanup after users Xorg session sed 's,^#!.*,,' /mnt/etc/gdm/PostSession/Default \ >/mnt/etc/gdm/PostSession/Default.system @@ -58,8 +60,8 @@ sub setupGDMScript echo "$USER files removed by $0" >/tmp/files.removed 2>/dev/null ) & . /etc/gdm/PostSession/Default.system' >/mnt/etc/gdm/PostSession/Default chmod a+x /mnt/etc/gdm/PostSession/Default* - - rllinker gdm 1 10 + # gdm should be started after dbus + rllinker gdm 4 10 echo '/usr/sbin/gdm' >/mnt/etc/X11/default-display-manager chroot /mnt update-alternatives --set x-window-manager /usr/bin/metacity chroot /mnt update-alternatives --set x-session-manager \ -- cgit v1.2.3-55-g7522