| View previous topic :: View next topic |
| Author |
Message |
Yogi-CH Guru


Joined: 19 Apr 2004 Posts: 372 Location: Somewhere in Texas, last I remember...
|
Posted: Sat Jun 11, 2005 10:23 pm Post subject: [SOLVED] udev question about XOpenDisplay weirdness |
|
|
I followed the udev-guide to the letter, as far as I have been able to determine, and have a problem when booting:
| Code: | From the logs...
Jun 11 16:55:24 linux10 kdm: :0[12752]: IO Error in XOpenDisplay
Jun 11 16:55:24 linux10 kdm[12639]: X server for display :0 terminated unexpectedly
Jun 11 16:55:24 linux10 kdm[12639]: Display :0 cannot be opened
Jun 11 16:55:24 linux10 kdm[12639]: Unable to fire up local display :0; disabling.
Jun 11 16:55:47 linux10 login(pam_unix)[12659]: session opened for user root by (uid=0)
|
The boot process shows no on-screen errors and takes me to the CLI w/o incident.
I have tried configuring xorg and executing kdm, once again, but it doesn't work; when booting in devfs mode I get to the Desktop w/o incident.
My grub.conf looks like this:
| Code: | title=GUI (2.6.11.7-udev)
root (hd0,2)
kernel (hd0,2)/boot/kernel-2.6.11.7 root=/dev/ram0 init=/boot/linuxrc ramdisk=8192 real_root=/dev/hda3 udev gentoo=nodevfs video=vesafb:ywrap,mtrr vga=0x317 hdc=ide-cd splash=verbose
initrd (hd0,2)/boot/initrd-2.6.11.7
|
If I change the grub.conf to the following...
| Code: |
kernel (hd0,2)/boot/kernel-2.6.11.7 gentoo=nodevfs root=/dev/ram0 init=/boot/linuxrc ramdisk=8192 real_root=/dev/hda3 video=vesafb:ywrap,mtrr vga=0x317 hdc=ide-cd splash=verbose
|
...it boots into the Desktop but I am not at all certain udev is active since I did not call it.
Hoping someone can/will help...  _________________ ...Yogi
Last edited by Yogi-CH on Fri Jun 17, 2005 8:32 pm; edited 2 times in total |
|
| Back to top |
|
 |
gungholady Guru


Joined: 19 Oct 2003 Posts: 392
|
Posted: Sun Jun 12, 2005 3:43 am Post subject: |
|
|
| When I was using gentoo, I completely got rid of devfsd and used udev only. I, also, set the tarball to no. |
|
| Back to top |
|
 |
Yogi-CH Guru


Joined: 19 Apr 2004 Posts: 372 Location: Somewhere in Texas, last I remember...
|
Posted: Sun Jun 12, 2005 4:04 am Post subject: |
|
|
| gungholady wrote: | | When I was using gentoo, I completely got rid of devfsd and used udev only. I, also, set the tarball to no. |
As I understand it, setting tarball to 'no' amounts to not using any /dev that was set up prior to udev. In that case, one would have to write plenty of rules right out of the box. Is that not so? I realize there are some default rules already set. I have yet to try setting tarball=no but may attempt it and see if everything still works. _________________ ...Yogi |
|
| Back to top |
|
 |
gungholady Guru


Joined: 19 Oct 2003 Posts: 392
|
Posted: Sun Jun 12, 2005 9:11 am Post subject: |
|
|
| For me the default rules did just fine. The only time I had to create a new rule was when I had two cdrom drives. I created a rule just so they would show up the way I wanted them to. |
|
| Back to top |
|
 |
Yogi-CH Guru


Joined: 19 Apr 2004 Posts: 372 Location: Somewhere in Texas, last I remember...
|
Posted: Sun Jun 12, 2005 1:41 pm Post subject: |
|
|
| gungholady wrote: | | For me the default rules did just fine. The only time I had to create a new rule was when I had two cdrom drives. I created a rule just so they would show up the way I wanted them to. |
Interesting. That is where I started. Thanks. _________________ ...Yogi |
|
| Back to top |
|
 |
Yogi-CH Guru


Joined: 19 Apr 2004 Posts: 372 Location: Somewhere in Texas, last I remember...
|
Posted: Fri Jun 17, 2005 8:28 pm Post subject: |
|
|
Thanks to another issue, I discovered that two things were my problem for sound & display:
1. RC_TARBALL="yes" needed to remain so
2. RC_DEVFSD="yes" needed to remain so
The thread is:
http://forums.gentoo.org/viewtopic-t-349868-highlight-.html?sid=28a59cd4a5e4c5b67687cd447cbfa128
For those who experience different behaviour, bravo! My box is an HP ze5570us and the normal rules don't apply, I have discovered. This goes for Red Hat, Debian, SuSE & Gentoo during trials over the last couple years. _________________ ...Yogi |
|
| Back to top |
|
 |
|