You are not logged in.

#1 2009-10-18 07:16:14

jarav
Member
Registered: 2008-09-04
Posts: 63

problems starting gdm from /etc/inittab

After the recent upgrade to gnome 2.28, I tried changing the way I start gdm. According to the Arch Wiki the recommended way is to start gdm from /etc/inittab using:
...
id:5:initdefault:
...
x:5:respawn:/usr/sbin/gdm -nodaemon

It was unsuccessful. I got a few of these error messages:

gdm-binary: ... WARNING ...Couldn't connect to system bus ...Failed to connect to socket /var/run/dbus/system_bus_socket : No such file or directory..

followed by the message:
INIT: Id "x" spawning too fast ... waiting for 5 minutes.

Then after 5 minutes it starts gdm and everything is fine.

Can anyone help me resolve the issue? I had  so far been starting gdm using the DAEMONS list in /etc/rc.conf. But after the recent upgrade, once in a while I am left at the console login prompt and gdm does not start. This is why I thought of switching over to the inittab way of starting gdm. But apparently that turned out to be even worse. By the way i do have hal in my DAEMONS list and so dbus does get started but apparently not fast enough for gdm( I guess ).

Offline

#2 2009-10-18 12:56:48

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: problems starting gdm from /etc/inittab

Apparently dbus is not ready when init tries to execute this inittab line. How do you start dbus/hal?

Last edited by bernarcher (2009-10-18 12:57:11)


To know or not to know ...
... the questions remain forever.

Offline

#3 2009-10-18 20:26:54

jarav
Member
Registered: 2008-09-04
Posts: 63

Re: problems starting gdm from /etc/inittab

hal is started from the DAEMONS list in /etc/rc.conf. I have mentioned this. How do I start dbus/hal before that line is executed in inittab?

Offline

#4 2009-10-18 20:49:37

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: problems starting gdm from /etc/inittab

Could you post your DAEMONS line, please.


To know or not to know ...
... the questions remain forever.

Offline

#5 2009-10-18 21:30:35

jarav
Member
Registered: 2008-09-04
Posts: 63

Re: problems starting gdm from /etc/inittab

Thanks for trying to help.

DAEMONS=(syslog-ng hal !network !netfs @crond @alsa @cpufreq )

This is the one I used when  i used inittab to start gdm.

Offline

#6 2009-10-18 22:06:00

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: problems starting gdm from /etc/inittab

The DAEMONS look ok so far, thanks. It's all guessing, then. wink

Well asking the obvious first, are there any hints from the logs? dmesg? Same, if you put GDM back into DAEMONS. Something does not start properly in the init sequence, thus the timeout which in turn did force you to the console.

You could as well try to remove items one by one from the DAEMONS list. Perhaps this way the culprit will be detected.


To know or not to know ...
... the questions remain forever.

Offline

#7 2009-10-19 09:23:19

insanemal
Member
From: Brisbane/Australia
Registered: 2009-05-05
Posts: 140

Re: problems starting gdm from /etc/inittab

Yeah there are other issues when spawing GDM from your daemons list too...

believe it or not..  rc.local is starting to look pretty good for gdm.

But I would say the issues you have found are also pointing out what is causing the GDM spawning on TTY2 issue.

Not that I know what that is.

Offline

#8 2009-11-11 20:20:18

gpan
Member
From: Athens, Greece
Registered: 2008-11-14
Posts: 32

Re: problems starting gdm from /etc/inittab

Any other suggestion to this problem?

Offline

#9 2009-11-17 10:47:17

jarav
Member
Registered: 2008-09-04
Posts: 63

Re: problems starting gdm from /etc/inittab

With the new gdm, the inittab method of starting gdm seems to be working again.

Offline

Board footer

Powered by FluxBB