Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem getting xfce4 to restart
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
Fred Krogh
l33t
l33t


Joined: 07 Feb 2005
Posts: 783
Location: Tujunga, CA

PostPosted: Sat Aug 31, 2013 3:27 pm    Post subject: Problem getting xfce4 to restart Reply with quote

Clicking on restart takes me back to the login screen and logging back in my last session is not restored. I suspect the root cause is that ck-list-sessions shows "active = FALSE". But I'm not clear on how to get this changed to "TRUE". I'm using slim, and as suggested by ssuominen at http://forums.gentoo.org/viewtopic-t-947510-start-0.html in ~/.xinitrc I have
Quote:
startxfce4 --with-ck-launch".
Also in /etc/pam.d/system-login, I"ve added
Quote:
-session optional pam_ck_connector.so nox11
So I'm missing something. Anything else need fixing? Thanks,
Fred
Back to top
View user's profile Send private message
croutch
n00b
n00b


Joined: 04 Aug 2012
Posts: 31
Location: göteborg

PostPosted: Sun Sep 01, 2013 4:45 am    Post subject: Reply with quote

I had problem with ck-list-session yesterday and i fix it with help from this thread --

http://forums.gentoo.org/viewtopic-t-858965-highlight-.html

edit=Im not using slim,but startx

croutch
Back to top
View user's profile Send private message
Fred Krogh
l33t
l33t


Joined: 07 Feb 2005
Posts: 783
Location: Tujunga, CA

PostPosted: Sun Sep 01, 2013 6:06 pm    Post subject: Reply with quote

Thanks for the suggestion. I had already looked at this, and done most of the things, I just did them all, (except I could not find "CONFIG_USB_SUSPEND" in my kernel (3.10.10). That did not do the job, but in ~/.xinitrc I had tried startxfce4 --with-ck-launch, and exec ck-launch-session xfce4-session, and probably some other things, but I did discover that using exec startxfce4 in ~/.xinitrc resulted in
Quote:
$ ck-list-sessions
Session2:
unix-user = '1000'
realname = '(null)'
seat = 'Seat1'
session-type = ''
active = TRUE
x11-display = ':0'
x11-display-device = '/dev/tty7'
display-device = ''
remote-host-name = ''
is-local = TRUE
on-since = '2013-09-01T17:41:17.701573Z'
login-session-id = '3
So this is some form of progress since now active=TRUE. Unfortunately that did not fix the main problem, namely that doing a restart just takes me back to the login screen. So I'm missing something somewhere. I'm not married to slim so I decided to try divorcing it. But not being clear on just what do do, I replaced
Quote:
DISPLAYMANAGER="slim"
with
Quote:
DISPLAYMANAGER="sudo -u my_user startxfce4 -- vt7"
in /etc/conf.d/xdm. That resulted in a different login screen, but other than that no real difference. So at this point I'm still stuck on this. I'd like some solution that does not have me typing something like :startxfce4" in a console.
Back to top
View user's profile Send private message
Schnulli
Apprentice
Apprentice


Joined: 25 Jun 2010
Posts: 159
Location: Bremen DE

PostPosted: Tue Sep 03, 2013 9:09 am    Post subject: Reply with quote

there had been a gconf problem lately, i used to solve it like this:

in a root terminal try it like this, for me it helped:
#chmod 777 /tmp

somehow, no idea why the permissions had been set wrong on the /tmp dir...... after this all worked fine for me again

greetz Schnulli aka LODDELL ;)

.......... mixcloud.com/anjunabeats for those allways bored admins :lol:
Back to top
View user's profile Send private message
Fred Krogh
l33t
l33t


Joined: 07 Feb 2005
Posts: 783
Location: Tujunga, CA

PostPosted: Tue Sep 03, 2013 1:47 pm    Post subject: Reply with quote

Thanks, but no help for me. Permission bits in /tmp were fine. (In my case the sticky bit was set, but following you suggestion had no effect, and the sticky bit comes back on a reboot.)
Back to top
View user's profile Send private message
Fred Krogh
l33t
l33t


Joined: 07 Feb 2005
Posts: 783
Location: Tujunga, CA

PostPosted: Wed Sep 04, 2013 3:51 pm    Post subject: Reply with quote

I should have mentioned that the big problem is that I lose all my session information when I log out or reboot. Given that I have 4 workspaces with two of them with lots of windows open, and the other two with just a 1 or 2, it's a pain to get things set up again. It is not a big deal to restart using "shutdown -r now". So a fix that would just save the current session would be useful even if it did not logout as it should.
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