diff options
| author | Dirk von Suchodoletz | 2008-08-26 21:49:26 +0200 |
|---|---|---|
| committer | Dirk von Suchodoletz | 2008-08-26 21:49:26 +0200 |
| commit | 7169d60195760f3fd97fb12bd0388990e5f6141c (patch) | |
| tree | 540cdc10a24f8ce4828f7be20a6eb21b01004fa4 | |
| parent | Not really sure if it is necessary but to play it save... (diff) | |
| download | core-7169d60195760f3fd97fb12bd0388990e5f6141c.tar.gz core-7169d60195760f3fd97fb12bd0388990e5f6141c.tar.xz core-7169d60195760f3fd97fb12bd0388990e5f6141c.zip | |
vmchooser problem reported by Detlef (no "default" session in
Ubuntu)
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2105 95ad53e4-c205-0410-b2fa-d234c58c8868
| -rw-r--r-- | os-plugins/plugins/desktop/OpenSLX/Distro/Ubuntu.pm | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/os-plugins/plugins/desktop/OpenSLX/Distro/Ubuntu.pm b/os-plugins/plugins/desktop/OpenSLX/Distro/Ubuntu.pm index 6e3f8299..544d0aa4 100644 --- a/os-plugins/plugins/desktop/OpenSLX/Distro/Ubuntu.pm +++ b/os-plugins/plugins/desktop/OpenSLX/Distro/Ubuntu.pm @@ -78,6 +78,17 @@ sub KDMPathInfo return $pathInfo; } +sub GDMConfigHashForWorkstation +{ + my $self = shift; + + my $configHash = $self->SUPER::GDMConfigHashForWorkstation(); + $configHash->{'daemon'}->{SessionDesktopDir} = + '/usr/share/gdm/BuiltInSessions/:/usr/share/xsessions/:/etc/X11/sessions/'; + + return $configHash; +} + sub KDMConfigHashForWorkstation { my $self = shift; @@ -88,6 +99,8 @@ sub KDMConfigHashForWorkstation $configHash->{'X-:0-Core'}->{Startup} = '/etc/kde3/kdm/Xstartup'; $configHash->{'X-:0-Core'}->{Session} = '/etc/kde3/kdm/Xsession'; $configHash->{'X-:0-Core'}->{Reset} = '/etc/kde3/kdm/Xreset'; + $configHash->{'X-:0-Core'}->{SessionsDirs} = + '/usr/share/xsessions,/usr/share/apps/kdm/sessions,/etc/X11/sessions'; return $configHash; } |
