View previous topic :: View next topic |
Author |
Message |
Fred Krogh Veteran
Joined: 07 Feb 2005 Posts: 1036 Location: Tujunga, CA
|
Posted: Sat Aug 31, 2013 3:27 pm Post subject: Problem getting xfce4 to restart |
|
|
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 https://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 |
|
|
croutch n00b
Joined: 04 Aug 2012 Posts: 32 Location: göteborg
|
|
Back to top |
|
|
Fred Krogh Veteran
Joined: 07 Feb 2005 Posts: 1036 Location: Tujunga, CA
|
Posted: Sun Sep 01, 2013 6:06 pm Post subject: |
|
|
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 |
|
|
Schnulli Guru
Joined: 25 Jun 2010 Posts: 320 Location: Bremen DE
|
Posted: Tue Sep 03, 2013 9:09 am Post subject: |
|
|
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 |
|
Back to top |
|
|
Fred Krogh Veteran
Joined: 07 Feb 2005 Posts: 1036 Location: Tujunga, CA
|
Posted: Tue Sep 03, 2013 1:47 pm Post subject: |
|
|
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 |
|
|
Fred Krogh Veteran
Joined: 07 Feb 2005 Posts: 1036 Location: Tujunga, CA
|
Posted: Wed Sep 04, 2013 3:51 pm Post subject: |
|
|
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 |
|
|
|