Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Aug 2014 19:21:44 +0200
From:      Andreas Nilsson <andrnils@gmail.com>
To:        "William A. Mahaffey III" <wam@hiwaay.net>
Cc:        FreeBSD X11 mailing list <freebsd-x11@freebsd.org>, FreeBSD Questions !!!! <freebsd-questions@freebsd.org>
Subject:   Re: Putting my new FreeBSD 9.3 desktop online ....
Message-ID:  <CAPS9%2BSsV35V_kh7KxREj8K_qNinTEuaa4kvdNG%2BEtReBDdTkjA@mail.gmail.com>
In-Reply-To: <53EE3C8D.3040008@hiwaay.net>
References:  <53EBE6D6.8090501@hiwaay.net> <20140814072430.5e39c3bc.freebsd@edvax.de> <53ED2189.6020408@hiwaay.net> <53EE14FA.8060601@hiwaay.net> <CAPS9%2BSvmWzAn5RkHcr6e3LRpeS18j4ys444_hU8PqsLSXGc7Xg@mail.gmail.com> <53EE3C8D.3040008@hiwaay.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Aug 15, 2014 at 6:59 PM, William A. Mahaffey III <wam@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@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@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@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@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@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@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@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@kabini1, /etc, 9:06:39am] 413 % date
>>> Fri Aug 15 09:06:43 CDT 2014
>>> [root@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@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@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to "freebsd-questions-
>> unsubscribe@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPS9%2BSsV35V_kh7KxREj8K_qNinTEuaa4kvdNG%2BEtReBDdTkjA>