Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] udev question about XOpenDisplay weirdness
View unanswered posts
View posts from last 24 hours

rackathon
 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Yogi-CH
Guru
Guru


Joined: 19 Apr 2004
Posts: 372
Location: Somewhere in Texas, last I remember...

PostPosted: Sat Jun 11, 2005 5:23 pm    Post subject: [SOLVED] udev question about XOpenDisplay weirdness Reply with quote

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... :wink:
_________________
...Yogi


Last edited by Yogi-CH on Fri Jun 17, 2005 3:32 pm; edited 2 times in total
Back to top
View user's profile Send private message
gungholady
Guru
Guru


Joined: 19 Oct 2003
Posts: 392

PostPosted: Sat Jun 11, 2005 10:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
Yogi-CH
Guru
Guru


Joined: 19 Apr 2004
Posts: 372
Location: Somewhere in Texas, last I remember...

PostPosted: Sat Jun 11, 2005 11:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
gungholady
Guru
Guru


Joined: 19 Oct 2003
Posts: 392

PostPosted: Sun Jun 12, 2005 4:11 am    Post subject: Reply with quote

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
View user's profile Send private message
Yogi-CH
Guru
Guru


Joined: 19 Apr 2004
Posts: 372
Location: Somewhere in Texas, last I remember...

PostPosted: Sun Jun 12, 2005 8:41 am    Post subject: Reply with quote

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. 8) Thanks.
_________________
...Yogi
Back to top
View user's profile Send private message
Yogi-CH
Guru
Guru


Joined: 19 Apr 2004
Posts: 372
Location: Somewhere in Texas, last I remember...

PostPosted: Fri Jun 17, 2005 3:28 pm    Post subject: Reply with quote

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! :wink: 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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum