summaryrefslogtreecommitdiffstats
path: root/os-plugins
diff options
context:
space:
mode:
authorDirk von Suchodoletz2009-03-11 12:56:13 +0100
committerDirk von Suchodoletz2009-03-11 12:56:13 +0100
commite992e427a1dd414d9c5df8193c76359bd9852999 (patch)
treea5e6ad5691f5b617a312a6423c362a0f61ee7b45 /os-plugins
parentMinor improvement in SLX init (stage3). (diff)
downloadcore-e992e427a1dd414d9c5df8193c76359bd9852999.tar.gz
core-e992e427a1dd414d9c5df8193c76359bd9852999.tar.xz
core-e992e427a1dd414d9c5df8193c76359bd9852999.zip
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
Diffstat (limited to 'os-plugins')
-rw-r--r--os-plugins/plugins/desktop/OpenSLX/Distro/Ubuntu.pm10
1 files changed, 6 insertions, 4 deletions
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 \