Results 1 to 10 of 10

Thread: logging out of any X session breaks the system

  1. #1

    Default logging out of any X session breaks the system

    Hello!
    I'm having this nasty problem: trying to log out of any X session will either do nothing or break the whole system.
    For example, logging out from XFCE will leave me with an un-refreshed display and a functional mouse cursor. If I switch to TTY1 and back, the text will stay in place instead of the desktop, and the cursor will float above it.
    Another example, logging out from OpenBox will do the same thing, and from LXDE it will do nothing.

    I tried the xfce4-session-logout and equivalent commands but they have the same effects.

    If I go to a TTY after doing this and try to kill X or all user-started processes, sometimes it will work, at other times the whole system freezes.

    Please help with this, I'm unable to logout unless I completely reboot the system.
    Nothing relevant showed up on google about this issue either (there were some old posts about the logout dialog box not being displayed, but it's not my case)

  2. #2
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,631
    Blog Entries
    3

    Default Re: logging out of any X session breaks the system

    It is probably a graphics driver issue. Maybe you could tell us what graphics card you are using, and maybe someone will recognize the problem.

    It might not help, but you can crash the X session with CTRL-ALT-BACKSPACE (repeat twice). That is supposed to restart X.
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

  3. #3

    Default Re: logging out of any X session breaks the system

    Quote Originally Posted by nrickert View Post
    It is probably a graphics driver issue. Maybe you could tell us what graphics card you are using, and maybe someone will recognize the problem.

    It might not help, but you can crash the X session with CTRL-ALT-BACKSPACE (repeat twice). That is supposed to restart X.
    Hi,
    This is my gfx card:
    05:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Redwood XT [Radeon HD 5670/5690/5730]
    and I'm using the standard drivers that come with openSuse.

    I don't think it's the driver, since the display works fine - the mouse can be moved around, except there's nothing being drawn on the screen, closing the X session gets stuck somewhere before getting me back to the graphical login screen.

    If I CTRL+ALT+BKSP twice X will go down, but then trying to restart it won't work, I went to TTY1 and did sudo init 3, sudo init 4, sudo init 5, neither of these worked, they all got stuck, I had to CTRL+C them and then reboot.

    This (logging out) used to work fine before, I don't know if its related to upgrading from 12.3 to 13.2, because I haven't used it in a while

  4. #4
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,747

    Default Re: logging out of any X session breaks the system

    Jumping direct from 12.3 to 13.2 is a huge jump. Depending on the history of the 12.3 version it may have been better to just reinstall.

  5. #5

    Default Re: logging out of any X session breaks the system

    Quote Originally Posted by bog2k3 View Post
    Hi,
    This is my gfx card:
    05:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Redwood XT [Radeon HD 5670/5690/5730]
    and I'm using the standard drivers that come with openSuse.
    Have you tried the proprietary fglrx driver?
    It might help...
    https://en.opensuse.org/SDB:AMD_fglrx

    I don't think it's the driver, since the display works fine - the mouse can be moved around, except there's nothing being drawn on the screen, closing the X session gets stuck somewhere before getting me back to the graphical login screen.
    It might be a problem with switching VTs ("virtual terminals").

    It might also be a problem with the display manager you use (in combination to the graphics driver and your particular chipset maybe, I doubt there's a general problem otherwise we would probably have other reports about such issues already)
    Which one are you using?
    You could try a different one, this is to be set in /etc/sysconfig/displaymanager (the one you set should be installed first of course, xdm is a fallback that's installed by default).

  6. #6

    Default Re: logging out of any X session breaks the system

    Quote Originally Posted by wolfi323 View Post
    Have you tried the proprietary fglrx driver?
    It might help...
    https://en.opensuse.org/SDB:AMD_fglrx
    Yes, I tried it and I got a garbled screen, unable to do anything, had to reboot in safe mode and remove it :-)

    Quote Originally Posted by wolfi323 View Post
    It might be a problem with switching VTs ("virtual terminals").
    I don't think so, I can switch fine between TTYs (1..10) when this happens, it's just that on TTY7 I don't get anything except for a mouse cursor

    Quote Originally Posted by wolfi323 View Post
    It might also be a problem with the display manager you use (in combination to the graphics driver and your particular chipset maybe, I doubt there's a general problem otherwise we would probably have other reports about such issues already)
    Which one are you using?
    You could try a different one, this is to be set in /etc/sysconfig/displaymanager (the one you set should be installed first of course, xdm is a fallback that's installed by default).
    [/QUOTE]
    I'm using xfce4 with lxdm as display manager
    Code:
    bog@bogPC:~> cat /etc/sysconfig/displaymanager | grep DISPLAYMANAGER=
    DISPLAYMANAGER="lxdm"
    I also believe it's not a general issue, like you indicated, it must be something related to bad configuration on my side. I'm trying to figure out what and fix it. I'll try with xdm and see what I get.
    Cheers!

  7. #7

    Default Re: logging out of any X session breaks the system

    OK, I changed the display manager from "lxdm" to "xdm" and now log out works fine, I'm being returned to the graphical login screen.
    However, "shut down" and "restart" don't work now. They simply return me to the login screen.
    This happens with both "xdm" and "lightdm". lightdm looks better and offers a user list & session list.
    I want to return to lxdm and fix the log out problem or fix the shutdown/restart problem and keep lightdm.

    Thanks for the hints!

  8. #8

    Default Re: logging out of any X session breaks the system

    Quote Originally Posted by bog2k3 View Post
    OK, I changed the display manager from "lxdm" to "xdm" and now log out works fine, I'm being returned to the graphical login screen.
    However, "shut down" and "restart" don't work now. They simply return me to the login screen.
    This happens with both "xdm" and "lightdm". lightdm looks better and offers a user list & session list.
    I want to return to lxdm and fix the log out problem or fix the shutdown/restart problem and keep lightdm.

    Thanks for the hints!
    A couple minutes later, I tried restart again and it worked
    I guess I'm keeping lightdm.
    Still why doesn't it work as soon as I log in?

  9. #9
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,296
    Blog Entries
    2

    Default Re: logging out of any X session breaks the system

    Have you tried to clear up any possible internal inconsistencies by updating your system?
    Code:
    zypper up
    TSU

  10. #10

    Default Re: logging out of any X session breaks the system

    Quote Originally Posted by tsu2 View Post
    Have you tried to clear up any possible internal inconsistencies by updating your system?
    Code:
    zypper up
    TSU
    Yes, I update my system at least once a week.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •