KDE doesn't start anymore (but X does) [Solved]

Compiz, KDE, Gnome, Fluxbox, etc...

Moderator: Moderators

KDE doesn't start anymore (but X does) [Solved]

Postby vaettchen » Thu Mar 28, 2013 16:23

After upgrading a few days ago (kernel 3.8 ), KDE does not come up anymore. The boot process seems to run normally but I end up with the command line login.
Code: Select all
startx
brings up the three basic console windows, though.

I checked the openGL settings and found:

Code: Select all
localhost ~ # eselect opengl list
Available OpenGL implementations:
  [1]   xorg-x11 *
  [2]   ati
  [3]   nvidia
localhost ~ # eselect opengl set 3
!!! Error: The nvidia OpenGL implementation doesn't seem to provide
!!! Error: libGL.so file. This might be an effect of breakage introduced
!!! Error: by a prioprietary driver installer. Please re-merge the package
!!! Error: providing your OpenGL implementation.
!!! Error: Selected OpenGL implementation incomplete.
exiting


which probably is the cause of the problem. I googled a bit and found some hints (for example re-installing mesa) but so far, nothing has helped.

However, the file seems to exist:

Code: Select all
localhost ~ # ls -al /usr/lib/libGL.so
lrwxrwxrwx 1 root root 34 28. Mär 16:09 /usr/lib/libGL.so -> opengl/xorg-x11/lib/libGL.so.1.2.0
localhost ~ # ls -al /usr/lib64/libGL.so
lrwxrwxrwx 1 root root 34 28. Mär 16:09 /usr/lib64/libGL.so -> opengl/xorg-x11/lib/libGL.so.1.2.0


Has somebody a good idea for me what to try next - or what additional information is needed? -- Thanks!


EDIT:
Code: Select all
equo install nvidia-drivers

helped to some extent (but why did I need to install?), now I can eselect opengl nvidia but still no solution.

I tried
Code: Select all
localhost ~ # startkde
$DISPLAY is not set or cannot connect to the X server.


However:
Code: Select all
localhost ~ # /etc/init.d/xdm restart
 * WARNING: you are stopping a boot service
 * Stopping kdm...                                                      [ ok ]
 * Setting up kdm ...                                                   [ ok ]


I also see, for a tenth of a second, the wait screen that comes up before the KDE login appears. So I guess I'm very close to a rather easy solution but I don't get it...
Last edited by vaettchen on Fri Mar 29, 2013 13:59, edited 1 time in total.
vaettchen
Simple Hen
 
Posts: 97
Joined: Sun Jan 21, 2007 8:47

Re: KDE doesn't start anymore (but X does)

Postby sabayonino » Thu Mar 28, 2013 18:32

if you're using nvidia-drivers , Opengl must be set to "nvidia"
Code: Select all
# eselect opengl set nvidia

Code: Select all
# /etc/init.d/xdm restart

(or reboot)

[edit] anyway ... "startkde" ... must be run as user not root.
User avatar
sabayonino
Sagely Hen
 
Posts: 2446
Joined: Sun Sep 21, 2008 1:12
Location: Italy

Re: KDE doesn't start anymore (but X does)

Postby vaettchen » Thu Mar 28, 2013 19:30

Thanks, sabayonino - but that is exactly where I'm stuck:
Code: Select all
localhost ~ # eselect opengl list
Available OpenGL implementations:
  [1]   nvidia *
  [2]   xorg-x11
  [3]   ati
localhost ~ # /etc/init.d/xdm restart
 * WARNING: you are stopping a boot service
 * Stopping kdm ...                                 [ ok ]
 * Setting up kdm ...                               [ ok ]

At this point, I see for a fraction of a second the hourglass but immediately fall back to the command line interface. So KDE starts but gets shut down again immdiately (or so it looks like).

/var/log/messages says:
Code: Select all
Mar 28 19:10:23 localhost /etc/init.d/xdm[10255]: WARNING: you are stopping a boot service
Mar 28 19:10:23 localhost kdm_greet[10349]: Cannot create $HOME
Mar 28 19:10:23 localhost kdm: :0[10348]: Received unknown or unexpected command -2 from greeter
Mar 28 19:10:23 localhost kdm: :0[10348]: Abnormal termination of greeter for display :0, code 1, signal 0

Looks like a permissions issue. I just googled a bit in that direction but did not find a hint that fits to my problem except one on the Archlinux forum which did not help. Would you have some idea for me?
vaettchen
Simple Hen
 
Posts: 97
Joined: Sun Jan 21, 2007 8:47

Re: KDE doesn't start anymore (but X does)

Postby sabayonino » Thu Mar 28, 2013 19:40

reinstall kdm
Code: Select all
# equo i kdm


make sure that DISPLAYMANAGER is set to "kdm"

Code: Select all
$ cat /etc/conf.d/xdm | grep DISPLAY
User avatar
sabayonino
Sagely Hen
 
Posts: 2446
Joined: Sun Sep 21, 2008 1:12
Location: Italy

Re: KDE doesn't start anymore (but X does)

Postby vaettchen » Thu Mar 28, 2013 19:53

Un- and reinstalled kdm, and
Code: Select all
localhost init.d # cat /etc/conf.d/xdm | grep DISPLAY
DISPLAYMANAGER="kdm"

but unchanged behaviour and unchanged record in /var/log/messages

Is there any other information I should provide to get to the root of the problem?
I can always re-install Sabayon (the Live-DVD runs with no problems) but that's a lot of work I'd like to avoid...
vaettchen
Simple Hen
 
Posts: 97
Joined: Sun Jan 21, 2007 8:47

Re: KDE doesn't start anymore (but X does)

Postby Stupot » Thu Mar 28, 2013 22:47

Code: Select all
Mar 28 19:10:23 localhost kdm_greet[10349]: Cannot create $HOME


That's most definitely a problem (if not THE problem).

I found the same archlinux post you did.

So I'm assuming you tried
Code: Select all
# chmod 1777 /tmp
# chmod 1777 /var/tmp/


Someone else has a problem and this is what they found:

Did some more research that indicated the problem had to be with lack of space on the root partition so I looked some more and found two old large (3GB+) log files. Deleted them and then was able to log into KDE with no problems.


It could be incorrect permissions in a number of other places, such as /dev/null or /home/<user>/.kde
Stupot
Sagely Hen
 
Posts: 1514
Joined: Wed Feb 14, 2007 3:44
Location: St. Louis, MO, USA

Re: KDE doesn't start anymore (but X does)

Postby joost » Thu Mar 28, 2013 23:54

Just a stupid idea, but didn't you run out of disc space?
joost
Sagely Hen
 
Posts: 2547
Joined: Fri Nov 17, 2006 12:11
Location: The Netherlands

Re: [solved:] KDE doesn't start anymore (but X does)

Postby vaettchen » Fri Mar 29, 2013 14:00

Bingo - the boot partition was 100% full. A simple df earlier in the process would have saved me a lot of trouble...

Thanks to all,
Rainer
vaettchen
Simple Hen
 
Posts: 97
Joined: Sun Jan 21, 2007 8:47


Return to 3D Desktops and Window Managers

Who is online

Users browsing this forum: No registered users and 1 guest

cron