Kdm won't start at boot

Hi

I had a little hassle when I updated nVidia driver and as a result kdm won’t start at boot. On boot system goes to textonly mode. Default runlevel is 5, xdm is enabled on runlevel 5 and I’ve tried virtually every solution I could find. I’ve doublechecked displaymanager and windowmanager settings.

When I log in and type “sudo kdm start” kdm starts just fine (and X too). So the problem propably isn’t X-related.

Since I’m not an expert, I dont know what logs I should post here to give more information.

Could anyone help me?

ayni wrote:

>
> Hi
>
> I had a little hassle when I updated nVidia driver and as a result kdm
> won’t start at boot. On boot system goes to textonly mode. Default
> runlevel is 5, xdm is enabled on runlevel 5 and I’ve tried virtually
> every solution I could find. I’ve doublechecked displaymanager and
> windowmanager settings.
>
> When I log in and type “sudo kdm start” kdm starts just fine (and X
> too). So the problem propably isn’t X-related.
>
> Since I’m not an expert, I dont know what logs I should post here to
> give more information.
>
> Could anyone help me?

It could be ‘sudo’ related.

Unlike some other distributions, default openSUSE sudo configuration will
use user environment, but as a root user. One of parts of that environment
is $HOME which defines user home directory. So, ‘sudo <whatever>’ will put
in user home directory files that are owned by root, which will prevent
user to change them and KDE will fail (refuse) to start.

When you end in text mode, login as root.
Login: root
Password:

Now, when you see red letters prompt type:
init 3
chown -R <your_user_name> /home/<your_user_name>/
It will change all files. You can ignore error:
chown: cannot access `/home/<your_user_name>/.gvfs’: Permission denied
That is some stuff from GNOME, I’m not sure what is use of that.


Regards, Rajko

Thanks, but didnt work.

At boot skipped services inlude earlyxdm and xdm.

Should runlevel configuration have kdm -option?

Have a look at /var/log/kdm.log for errors.

ayni wrote:


> Thanks, but didnt work.
>
> At boot skipped services inlude earlyxdm and xdm.
>
> Should runlevel configuration have kdm -option?

It was some time ago, now is xdm all desktoptops.

Can you post /var/log/Xorg.0.log that you will copy to your home directory
right after failed start, and before you start X manually.
For posting you can use http://pastebin.ca and give us link here.


Regards, Rajko

Hi.

Thank you all for help.
Problem is kinda solved now.

I tried the System Repair from installation cd, and it “repaired” my system incl. Grub so thoroughly that it wouldn’t start at all. So I decided to reinstall the whole mess.

So I never learned what was wrong, but now everything works again.

Thanks.

ayni wrote:

> … So I decided to reinstall the whole mess.
>
> So I never learned what was wrong, but now everything works again.

See you on next driver update :slight_smile:

Have a fun!

Regards, Rajko