Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kdm "not" autostarting
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page Previous  1, 2, 3, 4, 5, 6  Next  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Warp4
n00b
n00b


Joined: 09 Apr 2003
Posts: 47

PostPosted: Mon Sep 27, 2004 2:34 pm    Post subject: Reply with quote

Same problem here :(

Starts only when i press some keys.

little Info

Portage 2.0.50-r11
(default-x86-2004.2, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.6.7)

udev-032
hotplug-20040923
coldplug-20040920
nvidia-kernel-6111
nvidia-glx-6111
xorg-6.8.0-r1
kde-3.3.0

All packages re-emerged

cu
warpy
Back to top
View user's profile Send private message
firephoto
Veteran
Veteran


Joined: 29 Oct 2003
Posts: 1612
Location: +48° 5' 23.40", -119° 48' 30.00"

PostPosted: Mon Sep 27, 2004 4:11 pm    Post subject: Reply with quote

This is happening on both machines here now. One running gentoo-dev kernel and this one running ck7 kernel. Could this be related to the nvidia-kernel driver changes? Is everyone with this problem and nvidia user perhaps?

I tried setting the rc_parallel_startup to "no" but it didn't change anything.
Back to top
View user's profile Send private message
ktech
Guru
Guru


Joined: 12 Apr 2003
Posts: 340

PostPosted: Mon Sep 27, 2004 6:26 pm    Post subject: Reply with quote

no, I'm not using nothing nvidia related.
Back to top
View user's profile Send private message
firephoto
Veteran
Veteran


Joined: 29 Oct 2003
Posts: 1612
Location: +48° 5' 23.40", -119° 48' 30.00"

PostPosted: Mon Sep 27, 2004 6:32 pm    Post subject: Reply with quote

I saw another post where someone had this problem and it occured after they upgraded gcc. There's a german thread that's similar too but no solution there.
Back to top
View user's profile Send private message
ktech
Guru
Guru


Joined: 12 Apr 2003
Posts: 340

PostPosted: Mon Sep 27, 2004 6:39 pm    Post subject: Reply with quote

gcc? sure? I don't remember upgrading a few days ago. What gcc are you using, folks?

mine is:

Latest version installed: 3.4.1-r2
Back to top
View user's profile Send private message
Warp4
n00b
n00b


Joined: 09 Apr 2003
Posts: 47

PostPosted: Mon Sep 27, 2004 6:44 pm    Post subject: Reply with quote

not only keys

works also when i moved my mouse :?

warpy
Back to top
View user's profile Send private message
firephoto
Veteran
Veteran


Joined: 29 Oct 2003
Posts: 1612
Location: +48° 5' 23.40", -119° 48' 30.00"

PostPosted: Mon Sep 27, 2004 6:51 pm    Post subject: Reply with quote

gcc-3.4.2-r2 here.

Moving the mouse eh? Maybe that's why I thought it I had it fixed once after I re-emerged nvidia-* packages.

So it must be related to an input driver (??) since the keyboard or mouse will get it past the hangup......... But since the kernel didn't change, what package did change and only for what seems to be a few of us?
Back to top
View user's profile Send private message
Regor
Guru
Guru


Joined: 06 Aug 2002
Posts: 545
Location: 39° 2' 48" N, 120° 59' 2" W

PostPosted: Mon Sep 27, 2004 6:58 pm    Post subject: Reply with quote

It has been happening for me as well, with gcc 3.3.4-r1. It didn't do it the last couple of times I've booted, so I'm not sure if it's still a problem here. It's very strange behavior though.
_________________
Sometimes the appropriate response to reality is to go insane.
-Philip K. Dick, Valis
Back to top
View user's profile Send private message
firephoto
Veteran
Veteran


Joined: 29 Oct 2003
Posts: 1612
Location: +48° 5' 23.40", -119° 48' 30.00"

PostPosted: Mon Sep 27, 2004 7:06 pm    Post subject: Reply with quote

Try this, seems to have worked for me just now.

Code:

emerge coldplug -vaD && rc-update add coldplug default && /etc/init.d/coldplug restart

Reboot or drop to runlevel 1 and bring it back to 3 should test it.

I'm not sure why I need coldplug since the only module I use is the nvidia one and everything else is built into the kernel.
Back to top
View user's profile Send private message
firephoto
Veteran
Veteran


Joined: 29 Oct 2003
Posts: 1612
Location: +48° 5' 23.40", -119° 48' 30.00"

PostPosted: Mon Sep 27, 2004 7:17 pm    Post subject: Reply with quote

Ok while that seemed to work on this one, the othe computer didn't change it's behavior when I did what I mentioned above.

Mystery continues.
Back to top
View user's profile Send private message
Raistlin
l33t
l33t


Joined: 17 May 2004
Posts: 691
Location: Boston, MA

PostPosted: Tue Sep 28, 2004 8:22 am    Post subject: Reply with quote

hm... because i wanted being able to burn again (kernel 2.6.8.1 is somehow messed up...) i used my old 2.6.7 (gentoo-r14). there burning, fortunately, works and - surprise - the kdm-autostarting issue is gone...

i won't boot any 2.6.8.X-kernel again, but wait for the 2.6.9 release...


cheers, raist.
_________________
Zwei Was Eins Initially

"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it."
Back to top
View user's profile Send private message
firephoto
Veteran
Veteran


Joined: 29 Oct 2003
Posts: 1612
Location: +48° 5' 23.40", -119° 48' 30.00"

PostPosted: Tue Sep 28, 2004 3:21 pm    Post subject: Reply with quote

The thing is my kernels didn't change from when kdm was working properly till it started not working properly.
Back to top
View user's profile Send private message
Kern3lP4nic
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jun 2004
Posts: 116
Location: Someone, somewhere, in the north of Italy

PostPosted: Tue Sep 28, 2004 7:04 pm    Post subject: Reply with quote

Hi, kdm does not auto-start for me too...

Just curious: do all of you have udev installed? Because it seems to me that this problem started since I switched to a pure udev system (only major change, if I remember correctly), a couple of days ago... before I never had problems of this kind.

Some specs:
kernel 2.6.8-r3
ati drivers 3.9
gcc 3.3.4
xorg 6.8.0-r1
kde 3.3
udev-032 (but I also tried the 030)

cheers
Back to top
View user's profile Send private message
ktech
Guru
Guru


Joined: 12 Apr 2003
Posts: 340

PostPosted: Tue Sep 28, 2004 7:10 pm    Post subject: Reply with quote

I have udev too, but I think the problem come after I switched to it. It could be latest release of udev, by the way...
Back to top
View user's profile Send private message
amaruq
n00b
n00b


Joined: 25 Oct 2002
Posts: 2
Location: Paderborn, Germany

PostPosted: Wed Sep 29, 2004 10:43 am    Post subject: I think it's because of missing $DISPLAYMANAGER Reply with quote

Good day,

I have the same problem with kdm on an Acer Travelmate 800 with gcc 3.4.2, kde-3.3.0 and xorg-x11 6.8. I took a look at /etc/init.d/xdm and there it checks for DISPLAYMANAGER (after reading /etc/profile.env), but this variable is not set, though it is set in /etc/rc.conf. When I set DISPLAYMANAGER manually, it worked. There also seems already an entry in gentoo linux bugzilla regarding this matter.
Back to top
View user's profile Send private message
Kern3lP4nic
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jun 2004
Posts: 116
Location: Someone, somewhere, in the north of Italy

PostPosted: Wed Sep 29, 2004 11:50 am    Post subject: Reply with quote

Thanks but... your fix isn't working for me :cry:. And, to tell you the truth, this is not that strange since /etc/profile.env gets automatically regenerated at every boot (thus losing every custom modifications...). By the other side, I am quite sure this is not a problem related to missing or wrong variabiles in /etc/X11/startDM.sh and xdm, which are the two scripts directly involved in this issue (please someone correct me if I'm wrong). This, for the following reasons:
1. If I manually launch the xdm script once logged in everything works as it should.
2. I added some "echo" commands on key variabiles inside the scripts (the EXE variabile in startDM.sh, for instance), checked them at boot time and found no wrong/missing value.

My conclusion: this is a _NASTY_ problem...
Back to top
View user's profile Send private message
amaruq
n00b
n00b


Joined: 25 Oct 2002
Posts: 2
Location: Paderborn, Germany

PostPosted: Wed Sep 29, 2004 2:58 pm    Post subject: Reply with quote

Well, I put some debug-messages in /etc/init.d/xdm and DISPLAYMANAGER and MY_XDM were set properly, so my assumption regarding DISPLAYMANGER was false. But running the script from console always said that xdm is already running, though I killed all processes beforehand and checked via 'ps aux'. What I didn't check at first was /var/run where I still found kdm.pid :? After removing the file and a reboot (until now 5 times) kdm came up (always). I forget to check the date of the file, so I don't know if it was still from the time I re-emerged xorg-x11, qt and kde-3.3.0 while running KDE.
Back to top
View user's profile Send private message
Kern3lP4nic
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jun 2004
Posts: 116
Location: Someone, somewhere, in the north of Italy

PostPosted: Wed Sep 29, 2004 6:46 pm    Post subject: Reply with quote

Yes, the behavior you described is similar to what I get. On mine machine it feels like kdm starts but, without any apparent reason, it just does'nt shows up. Everything works if manually launch the xdm script right after boot instead (having previously removed it from autostart, sorry I forgot to specify this previously).
I also tried the latest 2.6.7 but nothing :?

Soon or later I'll try reenabling devfs and see what happens then...
Back to top
View user's profile Send private message
JLP
Tux's lil' helper
Tux's lil' helper


Joined: 13 Sep 2003
Posts: 143
Location: Slovenia

PostPosted: Wed Sep 29, 2004 7:44 pm    Post subject: Reply with quote

I'm another guy with this problem. KDM sometimes shows up and sometimes it doesn't. At first I had an ATI Radeon 9600XT graphics card and now I changed to GeForce 6800 but I had this problem with both. I only have a feeling that with the new card the problem is more frequent then before. All the tricks with typing and moving mouse also work for me. BTW I'm currently using kernel gentoo-dev-sources-2.6.8-r4, udev and hotplug and gcc 3.4.2 and KDE 3.3.0. XOrg is 6.8.0.

Is there a bug filed about this in b.g.o? Does any developer know about this?
_________________
Live long and prosper!
Back to top
View user's profile Send private message
Kern3lP4nic
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jun 2004
Posts: 116
Location: Someone, somewhere, in the north of Italy

PostPosted: Thu Sep 30, 2004 7:07 pm    Post subject: Reply with quote

Maybe I found a solution... I've done little testing until now but I think it works (at least for me :D ). Assuming you are running "pure" udev, you have to go in /etc/conf.d/rc and set:
Code:
RC_DEVFSD_STARTUP="yes"

You don't need to have defvs support in kernel nor devfsd installed. Just make sure to pass this parameter to the kernel using lilo/grub:
Code:
gentoo=nodevfs

I know it's really weird but I made a few attempts and it worked.

Let me know if it works for you...
Back to top
View user's profile Send private message
sir_skiner
Apprentice
Apprentice


Joined: 03 Mar 2004
Posts: 282
Location: Poland

PostPosted: Fri Oct 01, 2004 11:34 am    Post subject: Reply with quote

gues what? it doesn't :x
oh, look at my yesterdays post: https://forums.gentoo.org/viewtopic.php?t=230654
and i have the very same obserwations about /var/run... franklly it's really pissing me off :twisted:
_________________
sir_skiner
GentooLinux - thinking best ;)
Back to top
View user's profile Send private message
JLP
Tux's lil' helper
Tux's lil' helper


Joined: 13 Sep 2003
Posts: 143
Location: Slovenia

PostPosted: Fri Oct 01, 2004 11:39 am    Post subject: Reply with quote

Yeah I also tried this yesterday and it also doesn't work for me :( Does anyone know what exactly is going on here?
_________________
Live long and prosper!
Back to top
View user's profile Send private message
JLP
Tux's lil' helper
Tux's lil' helper


Joined: 13 Sep 2003
Posts: 143
Location: Slovenia

PostPosted: Fri Oct 01, 2004 11:52 am    Post subject: Reply with quote

I couldn't find any existing bug in the Gentoo bug database so I added this:
https://bugs.gentoo.org/show_bug.cgi?id=66011
Please add comments to this bug if I missed somehing, ot if you have some new information/idea.
_________________
Live long and prosper!
Back to top
View user's profile Send private message
sir_skiner
Apprentice
Apprentice


Joined: 03 Mar 2004
Posts: 282
Location: Poland

PostPosted: Fri Oct 01, 2004 11:55 am    Post subject: Reply with quote

could someone call this bug on gentoos bugzilla? i would do so, but i'm afraid my english isn't good enough and i could misspoken on sth really important :wink:

JLP: you read my minds :D
_________________
sir_skiner
GentooLinux - thinking best ;)
Back to top
View user's profile Send private message
sir_skiner
Apprentice
Apprentice


Joined: 03 Mar 2004
Posts: 282
Location: Poland

PostPosted: Fri Oct 01, 2004 12:52 pm    Post subject: Reply with quote

Strunzdesign wrote:


A quick & _dirty_ workaround:
rc-update del xdm default
echo "/usr/kde/3.3/bin/kdm &" >> /etc/conf.d/local.start

very dirty, but sims to work for me [i rebooted 3 times and kdm showd up immediatelly each time] 8)
so does it work for anyone else, because if it does, than it is the gentoo initscripts/baselayout problem, not the xorg/kdm one. or am i wrong
_________________
sir_skiner
GentooLinux - thinking best ;)
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
Goto page Previous  1, 2, 3, 4, 5, 6  Next
Page 2 of 6

 
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