diff options
author | Oliver Tappe | 2008-06-08 14:39:05 +0200 |
---|---|---|
committer | Oliver Tappe | 2008-06-08 14:39:05 +0200 |
commit | 0311f8685b606ad037de7639a1c24838819900ce (patch) | |
tree | bc5f7c4928f367229fdf92e91ca54b2e26982ad1 /os-plugins/plugins/desktop/OpenSLX/Distro/Ubuntu.pm | |
parent | * since I regularly got irritated by slxconfig-demuxer saying something about (diff) | |
download | core-0311f8685b606ad037de7639a1c24838819900ce.tar.gz core-0311f8685b606ad037de7639a1c24838819900ce.tar.xz core-0311f8685b606ad037de7639a1c24838819900ce.zip |
* adjusted config-path for kdmrc as needed
* implemented support for switching to the requested session- and window-manager
When I tested this with my local Ubuntu-8.04, it does what is expected, but seemingly that's still not enough, as all I get is still an xterm only.
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1866 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'os-plugins/plugins/desktop/OpenSLX/Distro/Ubuntu.pm')
-rw-r--r-- | os-plugins/plugins/desktop/OpenSLX/Distro/Ubuntu.pm | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/os-plugins/plugins/desktop/OpenSLX/Distro/Ubuntu.pm b/os-plugins/plugins/desktop/OpenSLX/Distro/Ubuntu.pm index 59f77f52..7df3825c 100644 --- a/os-plugins/plugins/desktop/OpenSLX/Distro/Ubuntu.pm +++ b/os-plugins/plugins/desktop/OpenSLX/Distro/Ubuntu.pm @@ -48,11 +48,25 @@ sub setupGDMScript $script .= unshiftHereDoc(<<' End-of-Here'); rllinker gdm 1 1 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 \ + /usr/bin/gnome-session End-of-Here return $script; } +sub KDMPathInfo +{ + my $self = shift; + + my $pathInfo = $self->SUPER::KDMPathInfo(); + + $pathInfo->{config} = '/etc/kde3/kdm/kdmrc'; + + return $pathInfo; +} + sub setupKDMScript { my $self = shift; @@ -63,6 +77,9 @@ sub setupKDMScript $script .= unshiftHereDoc(<<' End-of-Here'); rllinker kdm 1 1 echo '/usr/bin/kdm' > /mnt/etc/X11/default-display-manager + chroot /mnt update-alternatives --set x-window-manager /usr/bin/kwin + chroot /mnt update-alternatives --set x-session-manager \ + /usr/bin/startkde End-of-Here return $script; |