Results 1 to 9 of 9

Thread: Cannot start KDE anymore

  1. #1
    Join Date
    Jan 2009
    Location
    Switzerland
    Posts
    1,529

    Default Cannot start KDE anymore

    This is 11.1 i586 on a server. The machine has been working with no manual intervention for 2 months and I have put it into runlevel 3 because thats enough for it. Now I wanted to start KDE to do some administrative work and to my surprise it failed to start.

    I was logged in as normal user on console F6 and typed 'startx' (as usual, this worked all the time before). The error message said that it could not move /var/log/Xorg.0.log to /var/log/Xorg.0.log.old

    Owners for these files are root / users. What could be wrong here? And what do you suggest to fix it?
    Technology is 'stuff that doesn't work yet.' -- Bran Ferren

  2. #2
    Join Date
    Nov 2009
    Location
    Uruguay
    Posts
    737

    Default Re: Cannot start KDE anymore

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    Is the root user logged on the X???

    - --
    VampirD
    No in elenath hlar nan hd gn
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v2.0.12 (GNU/Linux)
    Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

    iEYEARECAAYFAkt9cgYACgkQJQ+0ABWtaVnF+wCdGJtm5yBaKt544uO973OlXApV
    TNEAnitsUREMepm3vJeinDcQ1jByFI7P
    =63hS
    -----END PGP SIGNATURE-----

  3. #3
    Join Date
    Jan 2009
    Location
    Switzerland
    Posts
    1,529

    Default Re: Cannot start KDE anymore

    Actually: no. No-one has started X or any graphical interface. But unfortunately I can't exclude that in the past someone (who shouldn't) has run 'startx' from the console as root.

    I know that this can severely mess things up, but I have not the slightest idea where to look for any clues to verify this has happend (or not) or to fix it up.
    Technology is 'stuff that doesn't work yet.' -- Bran Ferren

  4. #4
    Join Date
    Feb 2010
    Location
    Aveiro, Portugal
    Posts
    83

    Default Re: Cannot start KDE anymore

    Login as root, and try "whereis Xorg"

    Make sure the Xorg binaries (/usr/X11/bin and other locations provided) are owned by root and that their permissions are right.

    This should most likely fix it.
    Administrative tasks through KDE ? * laugh *

    All you need is vi.
    It is double pleasure to deceive the deceiver. - Niccolo Machiavelli

  5. #5
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,384

    Default Re: Cannot start KDE anymore

    One thing, why don't you change from runlevel 3 to runlevel 5 when you need the graphical stuff?
    Henk van Velden

  6. #6
    Join Date
    Jan 2009
    Location
    Switzerland
    Posts
    1,529

    Default Re: Cannot start KDE anymore

    All you need is vi.
    And how do you check an archive of webcam pics with vi ?

    But thank you for the hint. I will check those X11 permissions.
    Technology is 'stuff that doesn't work yet.' -- Bran Ferren

  7. #7
    Join Date
    Jan 2009
    Location
    Switzerland
    Posts
    1,529

    Default Re: Cannot start KDE anymore

    Oops, I found:

    Code:
    server:/usr/bin # ll Xorg
    -rwx--x--x 1 root root 1787640  2. Jul 2009  Xorg
    server:/usr/bin # ll X11/Xorg
    -rwx--x--x 1 root root 1787640  2. Jul 2009  X11/Xorg
    but that sould be:

    Code:
    server:/usr/bin # ll Xorg
    -rws--x--x 1 root root 1787640  2. Jul 2009  Xorg
    server:/usr/bin # ll X11/Xorg
    -rws--x--x 1 root root 1787640  2. Jul 2009  X11/Xorg
    as I found by comparing to another clean install of 11.1 i586. Now I really wonder how this could be set wrong. Is there any security feature wiping out suid bits?
    Technology is 'stuff that doesn't work yet.' -- Bran Ferren

  8. #8
    Join Date
    Sep 2008
    Location
    Earl Shilton UK
    Posts
    298

    Default Re: Cannot start KDE anymore

    Quote Originally Posted by vodoo View Post
    And how do you check an archive of webcam pics with vi ?
    fbida homepage
    Happily using Linux since 1998
    Share & Enjoy

  9. #9
    Join Date
    Jan 2009
    Location
    Switzerland
    Posts
    1,529

    Default Re: Cannot start KDE anymore

    Now this is becoming very strange, I would call it bizarre. After the corrections reported in post #7 startx worked again. I took the opportunity to update using yast and this brought an update to kernel 2.6.27.42 which required a reboot.

    After the reboot KDE did not start (same error as before). I checked and found that /usr/bin/Xorg lacked again the suid bit; /usr/bin/X11/Xorg was ok. What's going on here? What is changing the permissions for /usr/bin/Xorg which requires root privileges to do?
    Technology is 'stuff that doesn't work yet.' -- Bran Ferren

Posting Permissions

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