Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Slim starts X but not XFCE4
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
GSnake
Tux's lil' helper
Tux's lil' helper


Joined: 10 Sep 2012
Posts: 120
Location: Italy

PostPosted: Tue Sep 11, 2012 2:47 pm    Post subject: Slim starts X but not XFCE4 Reply with quote

As the title says, I've set everything up but when I type my user/pass my PC logs into a X session (black screen with X as cursor) and not into a XFCE4 one. What should I do?
Back to top
View user's profile Send private message
Hypnos
Advocate
Advocate


Joined: 18 Jul 2002
Posts: 2889
Location: Omnipresent

PostPosted: Tue Sep 11, 2012 3:28 pm    Post subject: Reply with quote

Can you start XFCE successfully from a text console with the 'startxfce4' command?
_________________
Personal overlay | Simple backup scheme
Back to top
View user's profile Send private message
DanneStrat
n00b
n00b


Joined: 05 Jan 2012
Posts: 73

PostPosted: Tue Sep 11, 2012 3:32 pm    Post subject: Reply with quote

Have you specified xfce in the XSESSION variable?

Code:
# nano -w /etc/env.d/90xsession


XSESSION="Xfce4"

Code:
# env-update && source /etc/profile


Log in with slim.
Back to top
View user's profile Send private message
GSnake
Tux's lil' helper
Tux's lil' helper


Joined: 10 Sep 2012
Posts: 120
Location: Italy

PostPosted: Tue Sep 11, 2012 4:15 pm    Post subject: Reply with quote

DanneStrat wrote:
Have you specified xfce in the XSESSION variable?

Code:
# nano -w /etc/env.d/90xsession


XSESSION="Xfce4"

Code:
# env-update && source /etc/profile


Log in with slim.

I already done that... not working.

Hypnos wrote:
Can you start XFCE successfully from a text console with the 'startxfce4' command?


Yes, it starts.
Back to top
View user's profile Send private message
jgascon
Apprentice
Apprentice


Joined: 08 Dec 2006
Posts: 252

PostPosted: Wed Sep 12, 2012 3:08 pm    Post subject: Reply with quote

Can you post the /etc/slim.conf and the ~/.xinitrc files?
Back to top
View user's profile Send private message
GSnake
Tux's lil' helper
Tux's lil' helper


Joined: 10 Sep 2012
Posts: 120
Location: Italy

PostPosted: Wed Sep 12, 2012 7:20 pm    Post subject: Reply with quote

jgascon wrote:
Can you post the /etc/slim.conf and the ~/.xinitrc files?

Solved by installing ConsoleKit...
By the way I've no xinitrc files set for any of the pc users...
Back to top
View user's profile Send private message
v_andal
Guru
Guru


Joined: 26 Aug 2008
Posts: 541
Location: Germany

PostPosted: Thu Sep 13, 2012 9:51 am    Post subject: Reply with quote

Just a side note. Newer slim (~1.3.4) supports consolekit, so when starting XFCE one does not need to use ck-launch-session. Otherwise 2 sessions are started and the user permissions get messed up.

Also, maybe http://wiki.gentoo.org/wiki/Xfce gives better instructions.
Back to top
View user's profile Send private message
Walen
n00b
n00b


Joined: 28 Oct 2012
Posts: 9

PostPosted: Sun Oct 28, 2012 10:50 am    Post subject: Re: Slim starts X but not XFCE4 Reply with quote

GSnake wrote:
As the title says, I've set everything up but when I type my user/pass my PC logs into a X session (black screen with X as cursor) and not into a XFCE4 one. What should I do?
I just had exactly the same problem. It seems the "solution" is to press F1 key until you see Session: Xfce4. http://en.gentoo-wiki.com/wiki/Xfce/Installation#XDM hints to add xfce4-session to your .xsession file to make it the default choice.
Back to top
View user's profile Send private message
Jeroend
n00b
n00b


Joined: 16 Aug 2005
Posts: 31

PostPosted: Mon Jul 15, 2013 7:11 pm    Post subject: Reply with quote

I had the same problem beceause dbus wasn't running

solved it by: rc-update add dbus default
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