Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jun 1998 15:39:10 +0200 (CEST)
From:      Malte Lance <malte@webmore.com>
To:        bush doctor <dervish@ikhala.tcimet.net>
Cc:        questions@FreeBSD.ORG
Subject:   Re: xdm & xscreensaver
Message-ID:  <XFMail.980619153910.malte@webmore.com>
In-Reply-To: <199806190412.AAA00978@ikhala.tcimet.net>

next in thread | previous in thread | raw e-mail | index | archive | help

>> > 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 <Malte Lance> 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 <ctrl><alt>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 <malte@webmore.com>
>> 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 <malte@webmore.com>
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



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