You are not logged in.

#1 2013-05-16 18:09:01

Hamish
Member
From: Rural Alberta, Canada
Registered: 2013-02-26
Posts: 46
Website

[SOLVED] Can't logout with Xfce

I currently can not log out with Xfce - whenever I try I just get kicked to a black screen with no display being sent to the monitor. The same thing happens when I am forced to kill the X server with Crtl-Alt-Backspace for whatever reason. Incidentally, I can not switch to another console session with Crtl-Alt-F2 or whatever when this happens, forcing me to do a hard reset.

Reboot works fine, but not logout. I current have no DM setup and instead I am using a console login with startx.

Any suggestions?

Last edited by Hamish (2013-09-30 18:14:37)


Thank you,
Hamish Paul Wilson

Offline

#2 2013-05-16 18:17:23

ivoarch
Member
Registered: 2011-03-31
Posts: 436

Re: [SOLVED] Can't logout with Xfce

Try to add this in your ~/.xinitrc file. or in  settings/session-application-autostart in xfce

setxkbmap -option terminate:ctrl_alt_bksp

I love GnuEmacs, GnuScreen, ratpoison, and conkeror.
Github )||( Weblog

Offline

#3 2013-05-16 18:23:51

grabbexi
Member
Registered: 2013-05-12
Posts: 51

Re: [SOLVED] Can't logout with Xfce

I am an Arch-newbie, so I'm probably NOT the person you wanted to ask. Still, I had a similar problem a while ago - but I could not properly start the X11 without getting blackscreen. I installed the proper graphical drivers (I've got an Intel for my built-in graphics and Nvidia for the dedicated), Intel was enough. Maybe you should try installing yours or reinstalling it. I guess you have your installed already though, since you're running the Xfce. I've heard somewhere that using startxfce4 is often more beneficial than other xfce-startcommands aswell. I guess you should post your X11-configs or something. /etc/X11/* if I remember correctly.

I might be wrong about everything except for how I solved my problem, but hey - some help might be better than no help. Also these things are pretty harmless.

Offline

#4 2013-05-16 19:17:51

Hamish
Member
From: Rural Alberta, Canada
Registered: 2013-02-26
Posts: 46
Website

Re: [SOLVED] Can't logout with Xfce

Thanks for the suggestions.

ivoarch, I already have that option set in my xorg.conf file.

As for grabbexi, I am using the free software radeon drivers and everything else already seems to be fine. I have had compositing working for months and have been playing through several different games, including Trine 2 with MSAA at 2x. So if there is something wrong there most things do not seem to be hitting it. I should also point out that I used to be able to log out, before something got updated.

For sake of argument though, here is my xorg.conf file:
http://icculus.org/~hamish/xorg.conf

Last edited by Hamish (2013-05-16 19:20:34)


Thank you,
Hamish Paul Wilson

Offline

#5 2013-05-16 23:26:31

hydrosIII
Member
Registered: 2013-04-04
Posts: 127

Re: [SOLVED] Can't logout with Xfce

I dont know if its the same problem but something similar happened to me with the radeon, free drivers after a recent update in mesa.
Try to modify the values of the bootloader as per wiki, try to append "nomodeset" or "radeon.modeset=1" and if nothing of this works try with another version of the kernel.
Maybe these solutions are workarounds but they are only suggestions

Offline

#6 2013-05-17 03:27:36

weirddan455
Member
Registered: 2012-04-15
Posts: 213

Re: [SOLVED] Can't logout with Xfce

EDIT:  Actually, try renaming your xorg.conf file first.  Reason being, I don't even have an xorg.conf file as KMS usually takes care of that for you automatically no config required with the open source drivers.

I remember having this problem a while back with Catalyst.  The open source drivers have always been fine for me though.  I guess you could try "nomodeset" just to see but with the open source drivers, you generally want KMS enabled.  It's Catalyst that you want to run "nomodeset" on.  If you have "nomodeset" in you kernel params I'd try removing it.

Is your system fully updated and running the latest Xorg?  I actually switched back to the open source driver since Catalyst is incompatible with the latest Xorg last I checked.  I'm also using XFCE and a console boot running "startx" manually and my system is running fine.

Just to verify you're running the correct driver (especially if you've used Catalyst in the past) post the results of:

lsmod | grep radeon

lsmod | grep fglrx

"Radeon" is open source and "fglrx" is Catalyst.

Also, the results of:

glxinfo | grep OpenGL

May be useful.  You'll need to install the package "mesa-demos" to run glxinfo.

Last edited by weirddan455 (2013-05-17 03:31:52)

Offline

#7 2013-05-17 15:05:32

Hamish
Member
From: Rural Alberta, Canada
Registered: 2013-02-26
Posts: 46
Website

Re: [SOLVED] Can't logout with Xfce

I am sorry, but I think we are really on the wrong track here. One, I have enough experience to know that turning of Kernel Mode-setting can be a real bad idea when using the Gallium3D driver if you wish to use any sort of hardware acceleration (it was admittedly a potential solution when using the classic Mesa driver, but not the Gallium3D one). Second, me having an xorg.conf is no accident - I need it for my dual head setup, as for gaming Zaphod Mode is the only real option at the moment, at least until Wayland. I may be new to Arch, but not to Linux, and I have a lot of experience dealing with the Linux graphics stack, and I have seen nothing to convince me that this is a graphics issue.

At any rate, yes I am fully updated, yes I am actually using the proper radeon driver, and  no I have never installed Catalyst, 

[hamish@Griffindor ~]$ lsmod | grep radeon
radeon                696367  2 
ttm                    47188  1 radeon
drm_kms_helper         31198  1 radeon
drm                   186194  4 ttm,drm_kms_helper,radeon
i2c_algo_bit            4583  1 radeon
i2c_core               18703  5 drm,i2c_piix4,drm_kms_helper,i2c_algo_bit,radeon
[hamish@Griffindor ~]$ glxinfo | grep OpenGL
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD RV730
OpenGL core profile version string: 3.1 (Core Profile) Mesa 9.1.2
OpenGL core profile shading language version string: 1.40
OpenGL core profile context flags: (none)
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 9.1.2
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD RV730
OpenGL core profile version string: 3.1 (Core Profile) Mesa 9.1.2
OpenGL core profile shading language version string: 1.40
OpenGL core profile context flags: (none)
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 9.1.2
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
[hamish@Griffindor ~]$ 

Not trying to be snarky to anyone who is trying to help, but I seriously doubt it is a problem with my drivers. Xfce and systemd updates seem a more likely culprit, in my opinion.


Thank you,
Hamish Paul Wilson

Offline

#8 2013-05-17 22:53:15

weirddan455
Member
Registered: 2012-04-15
Posts: 213

Re: [SOLVED] Can't logout with Xfce

Hmm... OK I didn't know how much Linux experience you had.  I just had this exact same problem when I was using Catalyst a few months back so that's where my brain went. (once I started X, changing TTYs or logging out would black screen)  Since you're not on Catalyst though... probably a different issue.

I would still try renaming your xorg.conf temporarily just to see if that fixes it.  Sometimes just reverting to defaults can help you find out if it's a bug in the software or a problem with your configuration changes.  I'm only using a single monitor so I've never had to create an xorg.conf manually (well maybe way back when I was using Slackware I did lol)

Another good thing to try is the Xorg test WM.

# pacman -S xorg-twm xorg-xclock xterm

Then rename your ~/.xinitrc

Then fire X up in that test WM and try changing TTYs (and type "exit" in the terminal to logout) just so you can see if this problem lies with XFCE or with Xorg in general.

Relevant wiki article for this:

https://wiki.archlinux.org/index.php/Be … ide#Test_X

Last edited by weirddan455 (2013-05-17 22:54:29)

Offline

#9 2013-05-23 18:18:18

Hamish
Member
From: Rural Alberta, Canada
Registered: 2013-02-26
Posts: 46
Website

Re: [SOLVED] Can't logout with Xfce

So I am stuck between a rock and a hard place with this one - when I have LXDM activated and have a graphical login screen I can logout but I can not restart. When I have a console boot I can reboot but can not logout.

I thought I may have stumbled on the root cause of the problem when I noticed I had both multi-user.target and graphical.target set, but upon clarifying this nothing changed.
https://wiki.archlinux.org/index.php/Systemd#Targets

Still, if it works with LXDM it definitely seems to be a configuration issue and not a graphics issue. neutral

Last edited by Hamish (2013-05-23 22:40:46)


Thank you,
Hamish Paul Wilson

Offline

#10 2013-09-30 17:43:51

Hamish
Member
From: Rural Alberta, Canada
Registered: 2013-02-26
Posts: 46
Website

Re: [SOLVED] Can't logout with Xfce

After encountering many of the same issues on a fresh install I decided to try SLiM instead, and now everything seems to be working right. I still do not see why I was having problems with a console login or lxdm though.


Thank you,
Hamish Paul Wilson

Offline

Board footer

Powered by FluxBB