Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Jan 2003 10:19:36 +1030
From:      Greg 'groggy' Lehey <grog@FreeBSD.org>
To:        Marcel Stangenberger <marcel@hayholt.org>, John Bleichert <syborg@stny.rr.com>
Cc:        "Brent J. Ermlick" <brent@bermls.oau.org>, Scott Mitchell <scott.mitchell@mail.com>, questions@FreeBSD.ORG
Subject:   Re: XFree86 lockfile?
Message-ID:  <20030102234936.GF57152@wantadilla.lemis.com>
In-Reply-To: <20030102223758.B177@eldar.hayholt.org> <20030102161006.M177@eldar.hayholt.org> <Pine.LNX.4.44.0301020922100.19796-100000@janeway.vonbek.dhs.org> <20030102152110.I199@eldar.hayholt.org>
References:  <20030102143903.GA71301@bermls.oau.org> <20030102161006.M177@eldar.hayholt.org> <20030102152110.I199@eldar.hayholt.org> <Pine.LNX.4.44.0301020922100.19796-100000@janeway.vonbek.dhs.org> <20030102111401.GA65231@bermls.oau.org> <20030102123215.I207@eldar.hayholt.org> <20030102131257.GA4945@fishballoon.dyndns.org> <20030102145019.G199@eldar.hayholt.org> <20030102141916.GA59713@bermls.oau.org> <20030102152110.I199@eldar.hayholt.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday,  2 January 2003 at 15:29:58 +0100, Marcel Stangenberger wrote:
> On Thu, 2 Jan 2003, Brent J. Ermlick wrote:
>
>> On Thu, Jan 02, 2003 at 02:52:22PM +0100, Marcel Stangenberger wrote:
>> 	. . .
>>> i don't see what is wrong, a friend of mine just said the only solution is
>>> to reinstall the entire machine, but i don't really consider that to be an
>>> option.
>>
>> That doesn't make sense. What errors do you see in /var/log/XFree86.0.log?
> (==) Log file: "/var/log/XFree86.0.log", Time: Wed Jan  1 10:02:54 2003
> (EE) Unable to locate/open config file
> (EE) Error from xf86HandleConfigFile()

This, of course, was the result of reinstalling X.  That's not what
you should do.

On Thursday,  2 January 2003 at  9:23:57 -0500, John Bleichert wrote:
> On Thu, 2 Jan 2003, Marcel Stangenberger wrote:
> On Thu, 2 Jan 2003 15:29:58 +0100 (CET), Marcel Stangenberger wrote:
>> On Thu, 2 Jan 2003, Brent J. Ermlick wrote:
>>> On Thu, Jan 02, 2003 at 02:52:22PM +0100, Marcel Stangenberger wrote:
>>> 	. . .
>>>> i don't see what is wrong, a friend of mine just said the only solution is
>>>> to reinstall the entire machine, but i don't really consider that to be an
>>>> option.
>>>
>>> That doesn't make sense. What errors do you see in /var/log/XFree86.0.log?
>>
>> --
>> XFree86 Version 4.2.1 / X Window System
>> (protocol Version 11, revision 0, vendor release 6600)
>> (==) Log file: "/var/log/XFree86.0.log", Time: Wed Jan  1 10:02:54 2003
>> (EE) Unable to locate/open config file
>> (EE) Error from xf86HandleConfigFile()
>
> Looks to me like XFree86 can't find its configuration file, which by
> default is in /etc/X11/XF86Config. This file needs to be generated by a
> configuration program.

Specifically, for XFree86 version 4, run xf86cfg or X -configure.  The
former puts the configuration file in /usr/X11R6/lib/X11/XF86Config.
Be sure that you don't have an old config file in one of these places:

/etc/XF86Config
/etc/X11/XF86Config
/usr/X11R6/etc/XF86Config
/usr/X11R6/lib/X11/XF86Config.hostname
/usr/X11R6/lib/X11/XF86Config

X -configure puts it in ~/XF86confg.new.  You have to move it to your
favourite place manually.

> You can either do this in /stand/sysinstall or by running
> 'xf86config' manually, which is my preferred method. Re-installing
> the box is certainly not necessary. I mean, this isn't Windows
> .... ;)

I don't recommend using xf86config any more.  It's much more painful
than the others, and it doesn't appear to be maintained any more.

On Thursday,  2 January 2003 at 16:18:48 +0100, Marcel Stangenberger wrote:
> On Thu, 2 Jan 2003, Brent J. Ermlick wrote:
>
>> On Thu, Jan 02, 2003 at 03:29:58PM +0100, Marcel Stangenberger wrote:
>> Ah -- I think this is important. You need to reconfigure X.
>>
>>     XFree86 -configure
>
> I just did so and reconfigured X, i placed the file in /etc/ en restarted
> xdm.
>
> It now says the following in XFree86.0.log
>
> --
> XFree86 Version 4.2.1 / X Window System
> (protocol Version 11, revision 0, vendor release 6600)
> (II) Keyboard "Keyboard0" handled by legacy driver
> (II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
> (**) Option "BaudRate" "1200"
> --
>
> so i assume X is working on the server now (i don't have a monitor
> on the server) but i'm not getting a login prompt on my Exceed :(

Why do you have a server without a monitor?  That's completely
nonproductive.

> the xdm.log is empty so there are no errors reported by xdm.
> xdm is started properly from /etc/ttys
>
> i also rechecked the xdm config files (Xaccess, Xsession, xdm-config and
> others) and they are still correct.

I think you're confusing the purpose of an X server.  It's for
displaying things on a monitor.  If you don't have a monitor, you
don't need an X server.

On Thursday,  2 January 2003 at 22:55:33 +0100, Marcel Stangenberger wrote:
> On Thu, 2 Jan 2003, Brent J. Ermlick wrote:
>> XFree86-4.+ has more security than the older versions of X. Instead of
>> disabling xhosts, try making sure that the FreeBSD server is explicitly
>> allowed to access the X server on your other machine.
>
> I tried multiple security settings but it didn't help.
> I just removed the XFree86-4 installation from my system and installed the
> /usr/ports/x11/XFree86 one instead.

This is not going to work.  Don't reinstall without a good reason.
What's more, it's pretty clear that you're looking in the wrong
place.  I've looked at your original message and you say you're using
the server to connect to your local client.  That's wrong.  It looks
as if exceed is a client (I've never heard of it), and it's not
connecting to your local server (display).  Reinstalling X remotely is
obviously not going to do anything.

I may be misunderstanding; there's a lot of confusion here.  Can you
clarify:

- Which machines are running X?
- On which machine(e) did you reinstall X?
- Which X client are you talking about?
- What is exceed? 
- Can you run X normally on your local machine?

Greg
--
See complete headers for address and phone numbers

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030102234936.GF57152>