View previous topic :: View next topic |
Author |
Message |
Tony0945 Watchman
Joined: 25 Jul 2006 Posts: 5127 Location: Illinois, USA
|
Posted: Mon Aug 18, 2014 8:56 pm Post subject: Problem starting Mate with lightdm [SOLVED] |
|
|
I've installed lightdm (latest stable) on two boxes. One box has Mate 1.8 as the only desktop and it worked straight out of the box.
The second box had multiple desktop's formerly managed with Slim and GDM before Slim. Out of the box lightdm launched Icewm. I uninstalled Icewm and now nothing will launch.
I tried replacing Code: | #user-session=default | to Code: | user-session=mate-session | and restarting xdm. Then I tried a total reboot. Then a re-install (after Icewm was gone) and reboot. No help.
In lightdm.log I find this snippet: Code: | [+0.33s] DEBUG: Activating VT 7
[+0.39s] DEBUG: Session pid=2034: Greeter connected version=1.8.5
[+0.96s] DEBUG: Session pid=2034: Greeter closed communication channel
[+0.96s] DEBUG: Session pid=2034: Exited with return value 11
[+0.96s] DEBUG: Seat: Session stopped
[+0.96s] DEBUG: Seat: Stopping; failed to start a greeter
[+0.96s] DEBUG: Seat: Stopping
[+0.96s] DEBUG: Seat: Stopping display server
[+0.96s] DEBUG: Sending signal 15 to process 2026
[+0.96s] CRITICAL: Source ID 7 was not found when attempting to remove it
[+1.29s] DEBUG: Process 2026 exited with return value 0
[+1.29s] DEBUG: DisplayServer x-0: X server stopped
[+1.29s] DEBUG: Releasing VT 7
[+1.29s] DEBUG: DisplayServer x-0: Removing X server authority /var/run/lightdm/root/:0
[+1.29s] DEBUG: Seat: Display server stopped
[+1.29s] DEBUG: Seat: Stopped
[+1.29s] DEBUG: Required seat has stopped
[+1.29s] DEBUG: Stopping display manager
[+1.29s] DEBUG: Display manager stopped |
And in x-o-greeter.log this complete log: Code: |
(lightdm-gtk-greeter:2043): GLib-CRITICAL **: g_shell_parse_argv: assertion 'command_line != NULL' failed
** (lightdm-gtk-greeter:2043): WARNING **: Failed to open sessions directory: Error opening directory '/usr/share/lightdm/sessions': No such file or directory
** (lightdm-gtk-greeter:2043): WARNING **: Fail
ed to open sessions directory: Error opening directory '/usr/share/lightdm/remote-sessions': No such file or directory
|
I have no individual .xinitrc or anything like that. I always used Slim to select the WM, lately always Mate.
/usr/share/lightdm/session doesn't exist on the other box (where I get a login and Mate runs) either. Both are amdfam10 CPU's running Gentoo
Last edited by Tony0945 on Fri Aug 29, 2014 5:12 pm; edited 1 time in total |
|
Back to top |
|
|
Roman_Gruber Advocate
Joined: 03 Oct 2006 Posts: 3846 Location: Austro Bavaria
|
Posted: Sat Aug 23, 2014 9:59 am Post subject: |
|
|
you may try another login manager like lxdm and check if it works there. Slim never worked in recent releases here although i tried to change the configuration several times.
You need a login manager. Any login manager can do the job, it does not means you have to use slim at all costs. |
|
Back to top |
|
|
Tony0945 Watchman
Joined: 25 Jul 2006 Posts: 5127 Location: Illinois, USA
|
Posted: Sat Aug 23, 2014 1:09 pm Post subject: |
|
|
I've installed xdm and it works, although the greeter is hideous and it doesn't support choosing session managers on the fly like Slim. But it works and supports XDMC and X forwarding.
I'm cooling on lxdm as i look into the configuration and see a lot of GNOME and systemd stuff. |
|
Back to top |
|
|
Roman_Gruber Advocate
Joined: 03 Oct 2006 Posts: 3846 Location: Austro Bavaria
|
Posted: Sun Aug 24, 2014 7:53 am Post subject: |
|
|
There are different ways to start a x-server / session. Look into and choose one with suits your needs |
|
Back to top |
|
|
Princess Nell l33t
Joined: 15 Apr 2005 Posts: 916
|
Posted: Sun Aug 24, 2014 8:23 pm Post subject: |
|
|
Do you have a ~/.dmrc? What are its contents? |
|
Back to top |
|
|
Tony0945 Watchman
Joined: 25 Jul 2006 Posts: 5127 Location: Illinois, USA
|
Posted: Thu Aug 28, 2014 1:11 am Post subject: |
|
|
Found this old article: http://www.linuxjournal.com/article/3325?page=0,3 It even indicates that an x application can run on top of the greeter. If I can de-ugly the greeter and add an application to pre-select the session like Slim, then I'll stick with good old xdm.
Will check out the .dmrc file and report back. |
|
Back to top |
|
|
Tony0945 Watchman
Joined: 25 Jul 2006 Posts: 5127 Location: Illinois, USA
|
Posted: Fri Aug 29, 2014 5:11 pm Post subject: |
|
|
Examined .dmrc. It contains "Session=Icewm" for some unearthly reason. Changed it to "Session=mate-session".
Thanks to all and especially Princess Nell. |
|
Back to top |
|
|
Tony0945 Watchman
Joined: 25 Jul 2006 Posts: 5127 Location: Illinois, USA
|
Posted: Sun Aug 31, 2014 12:49 am Post subject: |
|
|
It should have been "Session=mate" |
|
Back to top |
|
|
|