Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
X fails to start with Slim but works with startx
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
deltamalloc
Apprentice
Apprentice


Joined: 18 Jan 2013
Posts: 279

PostPosted: Sat Jul 30, 2016 2:17 pm    Post subject: X fails to start with Slim but works with startx Reply with quote

I cannot start X, well, X starts, but I cannot login, slim fails to start the window manager. startx as root can successfully start it, it can also start the window manager through .xinitrc (XFCE).

I have this in my slim.log:

Code:

slim: open_session: Unable to open session: Failed to execute program org.      freedesktop.ConsoleKit: Permission denied


I can also see this:

Code:

# ck-list-sessions

(ck-list-sessions:26861): GLib-WARNING **: GError set over the top of a previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL before it's set.
The overwriting error message was: Error calling StartServiceByName for org.freedesktop.ConsoleKit: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program org.freedesktop.ConsoleKit: Permission denied
Segmentation fault


In dmesg:

Code:

[ 1403.538519] traps: ck-list-session[26861] general protection ip:7f43e8f177ac sp:7ffff0507b10 error:0 in libc-2.22.so[7f43e8ecf000+192000]


I tried to emerge glibc and consolekit, it didn't help, still a black screen when I try to login. What should I do? All I did was do a simple world update, then this happened after I rebooted. I also emerged some new programs since last time I rebooted, but I unmerged those just to be safe.
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6308
Location: /usr/lib64/lv2

PostPosted: Sun Jul 31, 2016 2:29 pm    Post subject: Reply with quote

Do you have

Code:

exec startxfce4


in your .xinitrc, AND

Code:

# login_cmd           exec /bin/sh - ~/.xinitrc %session
login_cmd           exec /bin/bash -login ~/.xinitrc %session
# login_cmd           exec /bin/bash -login /usr/share/slim/Xsession %session


as the uncommented option in /etc/slim.conf?
_________________
Gentoo Studio: A Gentoo-based, professional digital audio workstation OS.
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