Putting my new FreeBSD 9.3 desktop online ....

Andreas Nilsson andrnils at gmail.com
Fri Aug 15 17:21:45 UTC 2014


On Fri, Aug 15, 2014 at 6:59 PM, William A. Mahaffey III <wam at hiwaay.net>
wrote:

>
> On 08/15/14 09:26, Andreas Nilsson wrote:
>
>> On Fri, Aug 15, 2014 at 4:11 PM, William A. Mahaffey III <wam at hiwaay.net>
>> wrote:
>>
>>  On 08/14/14 15:52, William A. Mahaffey III wrote:
>>>
>>>  On 08/14/14 00:24, Polytropon wrote:
>>>>
>>>>  On Wed, 13 Aug 2014 17:29:42 -0500, William A. Mahaffey III wrote:
>>>>>
>>>>>  [root at kabini1, /etc, 3:43:08pm] 316 % grep EE /var/log/Xorg.0.log*
>>>>>> /var/log/Xorg.0.log:    (WW) warning, (EE) error, (NI) not
>>>>>> implemented,
>>>>>> (??) unknown.
>>>>>> /var/log/Xorg.0.log:(II) Loading extension MIT-SCREEN-SAVER
>>>>>> /var/log/Xorg.0.log:(EE) config/hal: couldn't initialise context:
>>>>>> unknown error (null)
>>>>>> /var/log/Xorg.0.log.old:        (WW) warning, (EE) error, (NI) not
>>>>>> implemented, (??) unknown.
>>>>>> /var/log/Xorg.0.log.old:(II) Loading extension MIT-SCREEN-SAVER
>>>>>>
>>>>>>  As you can see, "config/hal: couldn't initialise context:
>>>>> unknown error (null)" is a very helpful message. :-)
>>>>>
>>>>>
>>>>>
>>>>>   [root at kabini1, /etc, 3:43:15pm] 317 % grep hal /var/log/messages
>>>>>
>>>>>> Aug  5 08:47:54 kabini1 pkg: hal-0.5.14_26 installed
>>>>>> Aug  5 09:16:51 kabini1 root: /usr/sbin/service: WARNING: $hald_enable
>>>>>> is not set properly - see rc.conf(5).
>>>>>>
>>>>>>  This is what you should have a look at. You sould have
>>>>>
>>>>>      hald_enable="YES"
>>>>>      dbus_enable="YES"
>>>>>
>>>>> in your /etc/rc.conf file.
>>>>>
>>>>>   [root at kabini1, /etc, 3:43:19pm] 318 % service hal start
>>>>>
>>>>>> hal does not exist in /etc/rc.d or the local startup
>>>>>> directories (/usr/local/etc/rc.d)
>>>>>>
>>>>>>  Yes, it's "service hald start". The service's name is "hald"
>>>>> for "HAL daemon", and HAL means "hardware abstraction layer",
>>>>> a technology "mandatory" to X (unless you "uncomple" it),
>>>>> deprecated in Linux long time ago. :-)
>>>>>
>>>>>
>>>>>
>>>>>   [root at kabini1, /etc, 3:43:23pm] 319 % man hal
>>>>>
>>>>>> No manual entry for hal
>>>>>>
>>>>>>  See "man hald". There are many more manpages referenced in
>>>>> the "SEE ALSO" section.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>  hald is in fact running, & both entries are in my rc.conf file ....
>>>>
>>>>
>>>>  A little more input, from login attempt about 5 min. ago:
>>>
>>>
>>> [root at kabini1, /etc, 9:06:32am] 411 % ll -tr ~wam/.xsession*
>>> -rwxr-xr-x  1 wam  users   34 Aug  8 18:22 /home/wam/.xsession*
>>> -rw-------  1 wam  users  355 Aug 15 09:05 /home/wam/.xsession-errors
>>> [root at kabini1, /etc, 9:06:37am] 412 % more ~wam/.xsession-errors
>>> /usr/local/bin/startxfce4: X server already running on display :0
>>> xrdb:  "XTerm*saveLines" on line 76 overrides entry on line 61
>>>
>>> (process:6932): Gtk-WARNING **: Locale not supported by C library.
>>>          Using the fallback 'C' locale.
>>> XDM authorization key matches an existing client!xfce4-session: Cannot
>>> open display: .
>>> Type 'xfce4-session --help' for usage.
>>> [root at kabini1, /etc, 9:06:39am] 413 % date
>>> Fri Aug 15 09:06:43 CDT 2014
>>> [root at kabini1, /etc, 9:06:43am] 414 % xfce4-session --help
>>> Usage:
>>>    xfce4-session [OPTION...]
>>>
>>> Help Options:
>>>    -h, --help               Show help options
>>>    --help-all               Show all help options
>>>    --help-gtk               Show GTK+ Options
>>>
>>> Application Options:
>>>    --disable-tcp            Disable binding to TCP ports
>>>    -V, --version            Print version information and exit
>>>    --display=DISPLAY        X display to use
>>>
>>> [root at kabini1, /etc, 9:07:02am] 415 %
>>>
>>>
>>> Any clues appreciated :-/ ....
>>>
>>>
>>>
>>>
>>> --
>>>
>>>          William A. Mahaffey III
>>>
>>>
>>>
>>>  Could you post the whole Xorg.0.log?
>>
>> Xdm uses .xinitrc to start a "something" right? Please show your .xinitrc
>>
>> I guess you're trying to use xfce, have you verified that all required
>> packages are installed ( xfce, xorg-server, xf86-video*, xf86-input*?
>>
>> What graphics hw are you using? Which xorg-stack ( new /old)?
>>
>> Are you using a xorg.conf or using default on-the-fly-config?
>>
>> Best regards
>> Andreas
>> _______________________________________________
>> freebsd-questions at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to "freebsd-questions-
>> unsubscribe at freebsd.org"
>>
>>
>
> I tried to attach 2 files & only 1 came through ..... Here is the
> Xorg.0.log ....
>

Thanks. It did attach.

Well since it works with plain startx it seems unlikely that xorg is to
blame.

Perhaps you could add something like ulimit -c 512 to xinitrc to see if
there is a segfault or something. I don't use xfce, but maybe there is a
switch which can enable more logging?

The xorg.conf puzzels me, it specifies nvidia as driver? Why?

But I'm out of ideas. Everything seems to start ok, and then something goes
wrong.

Best regards
Andreas


More information about the freebsd-x11 mailing list