Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem starting Mate with lightdm [SOLVED]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Tony0945
Watchman
Watchman


Joined: 25 Jul 2006
Posts: 5127
Location: Illinois, USA

PostPosted: Mon Aug 18, 2014 8:56 pm    Post subject: Problem starting Mate with lightdm [SOLVED] Reply with quote

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
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Sat Aug 23, 2014 9:59 am    Post subject: Reply with quote

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
View user's profile Send private message
Tony0945
Watchman
Watchman


Joined: 25 Jul 2006
Posts: 5127
Location: Illinois, USA

PostPosted: Sat Aug 23, 2014 1:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Sun Aug 24, 2014 7:53 am    Post subject: Reply with quote

There are different ways to start a x-server / session. Look into and choose one with suits your needs
Back to top
View user's profile Send private message
Princess Nell
l33t
l33t


Joined: 15 Apr 2005
Posts: 916

PostPosted: Sun Aug 24, 2014 8:23 pm    Post subject: Reply with quote

Do you have a ~/.dmrc? What are its contents?
Back to top
View user's profile Send private message
Tony0945
Watchman
Watchman


Joined: 25 Jul 2006
Posts: 5127
Location: Illinois, USA

PostPosted: Thu Aug 28, 2014 1:11 am    Post subject: Reply with quote

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
View user's profile Send private message
Tony0945
Watchman
Watchman


Joined: 25 Jul 2006
Posts: 5127
Location: Illinois, USA

PostPosted: Fri Aug 29, 2014 5:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
Tony0945
Watchman
Watchman


Joined: 25 Jul 2006
Posts: 5127
Location: Illinois, USA

PostPosted: Sun Aug 31, 2014 12:49 am    Post subject: Reply with quote

It should have been "Session=mate"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum