OpenSuse 11.1 & Nvidia doesn't launch KDM. (startx works)

Hi,

I recently upgraded from 10.3 to 11.1

Unfortuantely after installing the nvidia binary driver the system doesn’t boot into kdm anymore.

I found folowing errors :

Dec 23 17:03:15 yoda kdm_config[27301]: Multiple occurrences of key ‘UseTheme’ in section [X-*-Greeter] of /usr/share/kde4/config/kdm/kdmrc
Dec 23 17:03:15 yoda kdm[27319]: X server “-accel” cannot be executed
Dec 23 17:03:15 yoda kdm[27299]: X server for display :0 cannot be started, session disabled
Dec 23 17:03:17 yoda kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module 177.82 Tue Nov 4 16:50:05 PST 2008

Xorg.0.log (or any other) don’t report any errors.
Also, when I login manually and do a startx, I login to a kde3 session.

The weird thing is that when I do the one-click install (http://opensuse-community.org/nvidia.ymp) an then do init 2 | init 5 the x-server boots fine and I see the kdm and can login to kde4 without any problems.

I also tried the folowing walkthrough : Nvidia Installer HOWTO for SUSE LINUX users but that doesn’t make any difference.

But when I reboot (or do an init 2 ; init 5 sequence) the kdm doesn’t start anymore.

Does anybody have an idea on how to fix this ?

Thanks in advance !

Try: init 3 and run sax2 as su from a terminal. Once sax configures the display, exit sax and run init 5. (Worked for me after installing ati drivers.)

Thanks, but that didn’t solve it.

The nvidia module loads fine.

It’s kdm that seems to bail-out on the -accel option.

I tried disabling 3D acceleration in sax2 but that didn’t help.

Maybe it’s something specific to the 64bit OpenSuse 11.1 ?

Btw, forgot to post my uname :

Linux yoda 2.6.27.7-9-default #1 SMP 2008-12-04 18:10:04 +0100 x86_64 x86_64 x86_64 GNU/Linux

Doubt if it’s a 64 bit problem as it works on my box.
Try running nvidia-xconfig in a console as su.

You could also have a read here

Geoff

Disable early loading of kdm. xdmearly or whatever it’s called needs to NOT run during boot =]

Running nvidia-xconfig didn’t make a difference, same story.

Also disabled early xdm, but that didn’t help either.

Other ideas ?

Same problem here, but on 32-bits architecture. I’m also narrowed problem to kdm. Uninstalled NVidia and now everything works fine, although slow-ish.

I’m willing to help chasing out this bug, so please let me know if you have any ideas.

As a tests I removed de -accel options from DISPLAYMANAGER_XGL_OPTS in /etc/sysconfig and did an init again.

The difference is that kdm now complains about the ‘-br’ option that cannot be executed.

Maybe it’s a bug in a startup script somewhere somehow ?

To be continued…

Didn’t found a fix yet.

Nobody else having this problem ?
Any ideas to fix this ?

I ran into the same problem after upgrading from 10.3 to 11.1
Message log shows:
>>>kdm[2952]: X server “-br” cannot be executed<<<

Any idea?

I hade same problems tried everything even installed Nvidia beta drivers but no luck and computer ran really slow >:( dropped back to 11.0 and now running up to speed know :slight_smile:

Hi,

I managed to ‘fix’ it by re-installing OpenSuse 11.1.

The difference is that I chose install/Reinstall instead of upgrade.

I guess there’s something wrong with OpenSuse’s upgrade procedure.

Thanks for all the replies !

I “solved” the problem by (re-)installing the correct
nvidia-packages. For some reason all nvidia packages
(gfx, gfxG01, gfxG02) for any kernel (default, pae, trace) were partially(?) installed. yast marked them as “—”
As the problem is gone now I cannot give more details.

I have got exactly the same problem with both 32 and 64 architectures (on the same machine)

As a workaround, as kdm is just a login mgr, I have used gdm instead and it works.

To set it up
su -
/sbin/yast2 sysconfig &
there, select the key DISPLAYMANAGER under Desktop, Display manager

change the value to gdm.

The problem is that you can no longer shutdown the machine from kde, only close the session.