From owner-freebsd-questions Thu Jan 2 15:49:46 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A6C9437B401 for ; Thu, 2 Jan 2003 15:49:42 -0800 (PST) Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2C20C43ED1 for ; Thu, 2 Jan 2003 15:49:39 -0800 (PST) (envelope-from grog@lemis.com) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id 9F5A351955; Fri, 3 Jan 2003 10:19:36 +1030 (CST) Date: Fri, 3 Jan 2003 10:19:36 +1030 From: Greg 'groggy' Lehey To: Marcel Stangenberger , John Bleichert Cc: "Brent J. Ermlick" , Scott Mitchell , questions@FreeBSD.ORG Subject: Re: XFree86 lockfile? Message-ID: <20030102234936.GF57152@wantadilla.lemis.com> References: <20030102143903.GA71301@bermls.oau.org> <20030102161006.M177@eldar.hayholt.org> <20030102152110.I199@eldar.hayholt.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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030102223758.B177@eldar.hayholt.org> <20030102161006.M177@eldar.hayholt.org> <20030102152110.I199@eldar.hayholt.org> User-Agent: Mutt/1.4i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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