Brian Cameron wrote:
>
>
> Note that the GDM service depends on other services such as fc-cache,
> utmpx, hal, and D-Bus. Can you check if GDM slow to start because
> the GDM service is slow to startup, or is the problem because some
> service GDM depends on is slow to startup?
>
here are the problems:
henry at delljm:~$ last|more
henry console Mon Aug 31 15:04 still logged in
reboot system boot Mon Aug 31 15:01
reboot system down Mon Aug 31 15:00
svc:/network/ntp:default (Network Time Protocol (NTP))
State: offline since Mon Aug 31 15:02:00 2009
Reason: Start method is running.
See: http://sun.com/msg/SMF-8000-C4
See: man -M /usr/share/man -s 1M xntpd
See: man -M /usr/share/man -s 1M ntpdate
See: man -M /usr/share/man -s 1M ntpq
See: /var/svc/log/network-ntp:default.log
Impact: 5 dependent services are not running:
svc:/milestone/multi-user:default
svc:/system/intrd:default
svc:/milestone/multi-user-server:default
svc:/system/zones:default
svc:/application/graphical-login/gdm:default
as you can see, the problem is due to ntp, even if the network is present:
as soon as this message appears:
Aug 31 15:08:07 delljm xntpd[654]: [ID 381522 daemon.error] couldn't
resolve `timehost', giving up on it
gdm accepts to start! so, a timeout of more than 5 minutes!
ntp.conf contains:
multicastclient 224.0.1.1
server 0.pool.ntp.org
server 1.pool.ntp.org
server 2.pool.ntp.org
server timehost
> If the problem is GDM, you could try editing
> /usr/share/gdm/defaults.conf and set "Enable=true" in the "[debug]"
> section. Then restart GDM. It will then send debug spew to
> /var/adm/messages with timestamps. That might help to clarify where
> the hang is happening.
>
> Do you happen to have your computer configured to access login
> information over the network, so that you can login via NIS when
> connected to the network? If so, and if you have the Face Browser
> turned on (and the IncludeAll configuration option turned on), then
> this could also cause this sort of hanging problem.
>
no, this is laptop, not a nis client machine. Only used with a local
account on differents networks
> Brian
>
>
> solarg wrote:
>> hello all,
>> this is a very annoying problem. My laptop is configured with nwam, so
>> everything works fine when network is available.
>> But in case of lack of network (no cable or no valid wifi), gdm
>> doesn't start because ntp prevents many services to start!
>> is it normal?
>> the workarounds are:
>> - wait for several minutes, not very friendly, because, thanks to
>> power management, i reboot the laptop only to test something and don't
>> want to wait
>> - disable ntp, disable multi-user, enable multi-user, wait for gdm to
>> start, log in, then re-enable ntp!
>>
>> what am i missing?
>>
>> thanks
>>
>> gerard
>>
>>
>> _______________________________________________
>> opensolaris-discuss mailing list
>> opensolaris-discuss at opensolaris.org
>
>