Strona 1 z 1

Gdm nie chce wystartować, zły runlewel?

: 21 marca 2009, 10:31
autor: giaur
Witam.

Problem jest taki, że podczas startu systemu nie chce uruchomić się gdm, komunikat jest mniej więcej taki:

Kod: Zaznacz cały

cannot change directory to [/]
Ale po tym jak zaloguje się jako root i napiszę:

Kod: Zaznacz cały

gdm start
menedżer logowania startuje normalnie. To co mnie niepokoi, to fakt, że gdm startuje chyba za wcześnie - w /etc/rc5.d jest symlink S30gdm, a czy przypadkiem nie powinno być S99gdm? Inne menedżery logowania mają S99 i wszystko działa, zresztą przy uruchamianiu gdm powinien startować jako ostatni, a tak nie jest i wywala błąd.

Próbowałem to jakoś ręcznie wyprostować:

Kod: Zaznacz cały

update-rc.d -f gdm remove
 Removing any system startup links for /etc/init.d/gdm ...
   /etc/rc0.d/K01gdm
   /etc/rc1.d/K01gdm
   /etc/rc2.d/S30gdm
   /etc/rc3.d/S30gdm
   /etc/rc4.d/S30gdm
   /etc/rc5.d/S30gdm
   /etc/rc6.d/K01gdm

update-rc.d gdm start 99 3 4 5 . stop 01 0 1 6 
Use of uninitialized value $level in string ne at /usr/sbin/update-rc.d line 199.
Use of uninitialized value $level in pattern match (m//) at /usr/sbin/update-rc.d line 200.
update-rc.d: error: expected runlevel [0-9S] (did you forget "." ?)
usage: update-rc.d [-n] [-f] <basename> remove
       update-rc.d [-n] <basename> defaults [NN | SS KK]
       update-rc.d [-n] <basename> start|stop NN runlvl [runlvl] [...] .
		-n: not really
		-f: force
Co jest? Może utworzyć te symlinki ręcznie?

: 21 marca 2009, 17:57
autor: Rafal_F
Też miałem dzisiaj podobny problem, chwilka szukania w google i po sprawie.
http://www.mail-archive.com/debian-bugs ... 26831.html