From owner-freebsd-questions Fri Jun 19 06:40:54 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA13785 for freebsd-questions-outgoing; Fri, 19 Jun 1998 06:40:54 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from cyclone.degnet.baynet.de (cyclone.degnet.baynet.de [194.95.214.129]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id GAA13659 for ; Fri, 19 Jun 1998 06:40:15 -0700 (PDT) (envelope-from malte@webmore.com) Received: from neuron.webmore.com (unverified [194.95.214.172]) by cyclone.degnet.baynet.de (EMWAC SMTPRS 0.83) with SMTP id ; Fri, 19 Jun 1998 15:40:56 +0200 Received: (from malte@webmore.com) by neuron.webmore.com (8.8.8/8.8.8) id PAA01427; Fri, 19 Jun 1998 15:39:10 +0200 (CEST) Message-ID: X-Mailer: XFMail 1.2 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <199806190412.AAA00978@ikhala.tcimet.net> Date: Fri, 19 Jun 1998 15:39:10 +0200 (CEST) Reply-To: malte@webmore.com From: Malte Lance To: bush doctor Subject: Re: xdm & xscreensaver Cc: questions@FreeBSD.ORG Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >> > AUDIT: Mon Jun 15 11:26:53 1998: 180 X: client 4 rejected from local host >> > Xlib: connection to ":0.0" refused by server >> > Xlib: Client is not authorized to connect to Server >> > Error: Can't open display: :0 This one means: Your application is trying to connect to the XServer running on display 0, but the connection is refused. Generally any XServer must be explicitly instructed to allow connections for applications not started in the current user-session. So in the given context it would be interesting how you changed /usr/X11/lib/X11/xdm/GiveConsole /usr/X11/lib/X11/xdm/TakeConsole /usr/X11/lib/X11/xdm/Xaccess /usr/X11/lib/X11/xdm/Xservers /usr/X11/lib/X11/xdm/Xsetup_0 Your Xservers file should contain something like this: :0 local /usr/X11R6/bin/X On 19-Jun-98 bush doctor wrote: > Once upon a time said: >> Try /usr/X11/lib/X11/xdm/Xsetup_0 for display 0.0 > This is the file that contains the "xscreensaver &" command. > would you elaborate more ... =;-) This is ok. > >> /usr/X11/lib/X11/xdm/Xsetup_1 for display 1.0 ... > hmm ... can i have other xdm's hanging off of ttyv? in my > /etc/ttys file, i.e. > ttyv0 "/usr/X11R6/bin/xdm -nodaemon" xterm on secure > ttyv1 "/usr/X11R6/bin/xdm -nodaemon" xterm on secure > ttyv2 "/usr/X11R6/bin/xdm -nodaemon" xterm on secure > and then switch among them by using F? ? You don't want more than one xdm running. XDM can manage several X-servers. There is no need to run more than one xdm. Malte. > > -- bush doctor > >> >> Malte. >> >> On 15-Jun-98 bush doctor wrote: >> > Hi all >> > Which mechanism is used to control access to the X server. In particular >> > I want to run xscreensaver so that it runs while xdm is displaying the >> > login screen. According to the xscreensaver man page one would need to >> > add the command "xscreensaver &" to the Xsetup file. There must be more >> > to it because I get the following logged to my xdm-errors file: >> > >> > AUDIT: Mon Jun 15 11:26:53 1998: 180 X: client 4 rejected from local host >> > Xlib: connection to ":0.0" refused by server >> > Xlib: Client is not authorized to connect to Server >> > Error: Can't open display: :0 >> > 0 >> > >> > Any help and/or pointers would be appreciated. >> > Thanxs ... =;-) >> > >> > -- bush doctor >> >> ---------------------------------- >> E-Mail: Malte Lance >> Date: 16-Jun-98 >> Time: 08:46:46 >> ---------------------------------- > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message ---------------------------------- E-Mail: Malte Lance Date: 19-Jun-98 Time: 14:31:48 ---------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message