Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cannot start XFCE4 as regular user [SOLVED]
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
Hammett
Apprentice
Apprentice


Joined: 26 Jan 2005
Posts: 167
Location: Barcelona, Catalonia

PostPosted: Sun Dec 27, 2009 4:11 pm    Post subject: Cannot start XFCE4 as regular user [SOLVED] Reply with quote

Hi all!

I have installed XFCE but I cannot run it in normal user. I have both dbus and hal up and running, but when I try to fire XFCE I come to this error:

Code:

Unable to load a failsafe session

Unable to determine failsafe session name.  Possible causes: xfconfd isn't running (D-Bus setup problem); environment variable $XDG_CONFIG_DIRS is set incorrectly (must include "/etc"), or xfce4-session is installed incorrectly.


$XDG_CONFIG_DIRS points to /etc/xdg

I have tried to find a solution googling and on the forum, but most of the issues are referred to people not having either hal or dbus enabled, which is not my case.

If I run XFCE as root, I have no problems and the WM loads fine.

Can anyone help me with that please?

Thanks in advance!
_________________
I don't fear the people. I fear the demon inside them.


Last edited by Hammett on Tue Dec 29, 2009 12:07 am; edited 1 time in total
Back to top
View user's profile Send private message
Ion Silverbolt
Apprentice
Apprentice


Joined: 04 Nov 2004
Posts: 203

PostPosted: Mon Dec 28, 2009 3:47 am    Post subject: Reply with quote

Are you able to startx ok without starting xfce4?

Might be a permissions issue. This might help:

Code:
chown -R username:username /home/username/*


Are you using su to login as your user? If so, try logging into user straight off the bat and see if that helps.
Back to top
View user's profile Send private message
Hammett
Apprentice
Apprentice


Joined: 26 Jan 2005
Posts: 167
Location: Barcelona, Catalonia

PostPosted: Mon Dec 28, 2009 8:06 am    Post subject: Reply with quote

I can start X with fluxbox without problems.
I use XDM as a login manager set up to load fluxbox (via .xsession) and works well. Changing the .xsession to load XFCE does not help either. I end up with the XDM login screen again and checking .xsession-error file show the same error I posted before.

I have tried your suggestion to chown my whole home directory but that didn't help.
_________________
I don't fear the people. I fear the demon inside them.
Back to top
View user's profile Send private message
s0ulslack
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jan 2003
Posts: 134
Location: Idaho

PostPosted: Mon Dec 28, 2009 12:06 pm    Post subject: Reply with quote

hrm, just a shot in the dark but try emerge xfce4-session -C and remerge it.
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 5013
Location: Dallas area

PostPosted: Mon Dec 28, 2009 12:16 pm    Post subject: Re: Cannot start XFCE4 as regular user Reply with quote

Hammett wrote:

I have tried to find a solution googling and on the forum, but most of the issues are referred to people not having either hal or dbus enabled, which is not my case.

If I run XFCE as root, I have no problems and the WM loads fine.

Can anyone help me with that please?

Thanks in advance!


Is your user in the hal and dbus groups

Specifically:
haldaemon
plugdev

and
polkituser
if you have it

Since root can run it and the user can't it's probably a permission problem.
_________________
PRIME x570-pro, 3700x, RX 550 - 5.8 zen kernel
Acer E5-575 (laptop), i3-7100u - i965 - 5.5 zen kernel
---both---
gcc 9.3.0, profile 17.1 (no-pie & modified) amd64-no-multilib, eudev, openrc, openbox, palemoon
Back to top
View user's profile Send private message
Hammett
Apprentice
Apprentice


Joined: 26 Jan 2005
Posts: 167
Location: Barcelona, Catalonia

PostPosted: Mon Dec 28, 2009 12:49 pm    Post subject: Reply with quote

I added my normal user to those groups and the error is still there.

I will also put the output from the console, in case it helps

Code:

(xfce4-session:6616): xfconf-WARNING **: Error check failed at xfconf_channel_get_internal():390: Property "/security/FailsafeSessionName" does not exist on channel "xfce4-session"


I do not know if that is another issue it has nothing to do with the original post or might be related.
_________________
I don't fear the people. I fear the demon inside them.
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 5013
Location: Dallas area

PostPosted: Mon Dec 28, 2009 3:03 pm    Post subject: Reply with quote

do you have a
~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml
file
_________________
PRIME x570-pro, 3700x, RX 550 - 5.8 zen kernel
Acer E5-575 (laptop), i3-7100u - i965 - 5.5 zen kernel
---both---
gcc 9.3.0, profile 17.1 (no-pie & modified) amd64-no-multilib, eudev, openrc, openbox, palemoon
Back to top
View user's profile Send private message
Hammett
Apprentice
Apprentice


Joined: 26 Jan 2005
Posts: 167
Location: Barcelona, Catalonia

PostPosted: Mon Dec 28, 2009 3:34 pm    Post subject: Reply with quote

Yes, I do have this file on my home directory
_________________
I don't fear the people. I fear the demon inside them.
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 5013
Location: Dallas area

PostPosted: Mon Dec 28, 2009 5:39 pm    Post subject: Reply with quote

does it resemble this
Code:
<?xml version="1.0" encoding="UTF-8"?>

<channel name="xfce4-session" version="1.0">
  <property name="general" type="empty">
    <property name="FailsafeSessionName" type="empty"/>
    <property name="SessionName" type="string" value="Default"/>
    <property name="SaveOnExit" type="bool" value="true"/>
    <property name="PromptOnLogout" type="bool" value="false"/>
    <property name="AutoSave" type="bool" value="false"/>
  </property>
  <property name="sessions" type="empty">
    <property name="Failsafe" type="empty">
      <property name="IsFailsafe" type="empty"/>
      <property name="Count" type="empty"/>
      <property name="Client0_Command" type="empty"/>
      <property name="Client0_PerScreen" type="empty"/>
      <property name="Client1_Command" type="empty"/>
      <property name="Client1_PerScreen" type="empty"/>
      <property name="Client2_Command" type="empty"/>
      <property name="Client2_PerScreen" type="empty"/>
      <property name="Client3_Command" type="empty"/>
      <property name="Client3_PerScreen" type="empty"/>
      <property name="Client4_Command" type="empty"/>
      <property name="Client4_PerScreen" type="empty"/>
    </property>
  </property>
  <property name="splash" type="empty">
    <property name="Engine" type="string" value=""/>
  </property>
</channel>

_________________
PRIME x570-pro, 3700x, RX 550 - 5.8 zen kernel
Acer E5-575 (laptop), i3-7100u - i965 - 5.5 zen kernel
---both---
gcc 9.3.0, profile 17.1 (no-pie & modified) amd64-no-multilib, eudev, openrc, openbox, palemoon
Back to top
View user's profile Send private message
Hammett
Apprentice
Apprentice


Joined: 26 Jan 2005
Posts: 167
Location: Barcelona, Catalonia

PostPosted: Mon Dec 28, 2009 6:00 pm    Post subject: Reply with quote

Mine is way shorter

Code:

<?xml version="1.0" encoding="UTF-8"?>

<channel name="xfce4-session" version="1.0">
  <property name="splash" type="empty">
    <property name="Engine" type="string" value="mice"/>
  </property>
  <property name="chooser" type="empty">
    <property name="AlwaysDisplay" type="bool" value="true"/>
  </property>
</channel>


I will try to use your to see....

Thanks!


***********EDIT*************

I have used the config you provided, but the error persists.... This is really driving me crazy!!
_________________
I don't fear the people. I fear the demon inside them.
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 5013
Location: Dallas area

PostPosted: Mon Dec 28, 2009 6:59 pm    Post subject: Reply with quote

How are you starting xfce? xdm/gdm/etc or startx

what does your .xsession or .xinitrc file look like
_________________
PRIME x570-pro, 3700x, RX 550 - 5.8 zen kernel
Acer E5-575 (laptop), i3-7100u - i965 - 5.5 zen kernel
---both---
gcc 9.3.0, profile 17.1 (no-pie & modified) amd64-no-multilib, eudev, openrc, openbox, palemoon
Back to top
View user's profile Send private message
Hammett
Apprentice
Apprentice


Joined: 26 Jan 2005
Posts: 167
Location: Barcelona, Catalonia

PostPosted: Mon Dec 28, 2009 10:30 pm    Post subject: Reply with quote

My idea is to start XFCE via XDM, so I create the file /home/hammett/.xsession

The file looks like:
Code:
 exec startxfce4


Now I have the same file, but for starting Fluxbox and works fine.
_________________
I don't fear the people. I fear the demon inside them.
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 5013
Location: Dallas area

PostPosted: Mon Dec 28, 2009 10:46 pm    Post subject: Reply with quote

Try this instead
Code:

exec xfce4-session

_________________
PRIME x570-pro, 3700x, RX 550 - 5.8 zen kernel
Acer E5-575 (laptop), i3-7100u - i965 - 5.5 zen kernel
---both---
gcc 9.3.0, profile 17.1 (no-pie & modified) amd64-no-multilib, eudev, openrc, openbox, palemoon
Back to top
View user's profile Send private message
Hammett
Apprentice
Apprentice


Joined: 26 Jan 2005
Posts: 167
Location: Barcelona, Catalonia

PostPosted: Tue Dec 29, 2009 12:07 am    Post subject: Reply with quote

YAAAAAAAAAAY!!!

It worked!!!!

THANK YOU VERY VERY MUCH!!!
_________________
I don't fear the people. I fear the demon inside them.
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