From owner-freebsd-questions Thu Jun 8 15:48:12 2000 Delivered-To: freebsd-questions@freebsd.org Received: from sparenix.metronet.com (sparenix.metronet.com [207.170.106.3]) by hub.freebsd.org (Postfix) with SMTP id 78AFB37B5DE for ; Thu, 8 Jun 2000 15:48:02 -0700 (PDT) (envelope-from jmanley@metronet.com) Received: (qmail 27798 invoked by uid 7770); 9 Jun 2000 00:12:57 -0000 Received: from fcn105-54.tmi.net (HELO jwmhome) (207.170.105.54) by sparenix.metronet.com with SMTP; 9 Jun 2000 00:12:57 -0000 Message-ID: <004101bfd19b$7d60dfa0$0100a8c0@lmtas.lmco.com> From: "Jim Manley" To: Subject: Problems w/ xdm Date: Thu, 8 Jun 2000 17:46:55 -0500 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_003E_01BFD171.8926E340" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_003E_01BFD171.8926E340 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Greeting - I'm relatively new to the X windows world and am having a heck of a time = getting X to startup using xdm. I'm running XFree86 3.3.6 on a AMD K6, 233, with 64M RAM, and a Voodoo3 = graphics board that has 16M RAM. The OS is FBSD 4.0-Stable, last cvsup'd = about a week ago. I'm using the KDE desktop suite. I don't have a problem using "startx" and having a $HOME/.initrc file = with "exec kdestart" in it. Everything works fine so I'm sure the X = server is properly configured. =20 I do have a problem when I try to use xdm. I have a file called xdm.sh = that looks like this: #!/bin/sh /usr/X11R6/bin/xdm in my /usr/X11R6/etc/rc.d directory. In $HOME/.xsession there is only = one line exec kdestart When I reboot the machine, I get the X Windows System login screen. = When I login (as either root or my normal user), the login screen = disappears for a few seconds, then comes right back. I do a CNTL-ALT-ESC-F1 to get out of the X window and back to a console = prompt. When I look at the $HOME/.xsession-errors file, it says: Xlib: connection to ":0.0" refused by server Xlib: Client is not authorized to connect to server Error: Can't open display: :0 The xdm-errors file in /usr/X11R6/lib/X11/xdm has the usual output but = at the bottom there are several lines that look like this: =20 AUDIT: Tue Jun 6 21:03:01 2000: 293 X: client 2 rejected from local = host Auth name: XDM-AUTHORIZATION-1 ID: -1 Xlib: connection to ":0.0" refused by server Xlib: Client is not authorized to connect to Server /usr/X11R6/bin/xrdb: Can't open display ':0' AUDIT: Tue Jun 6 21:03:01 2000: 293 X: client 3 rejected from local = host Auth name: XDM-AUTHORIZATION-1 ID: -1 Xlib: connection to ":0.0" refused by server Xlib: Client is not authorized to connect to Server I get the same results when I try to run xdm from a command line.=20 I've been through the FAQs at both the freebsd and xfree86 web sites. = From what I can tell, I'm doing everything the way the = books/instructions/handbooks/etc. say to do this. I'd appreciate any = help someone may have to offer. Regards, Jim ------=_NextPart_000_003E_01BFD171.8926E340 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
 
Greeting -
 
I'm relatively new to the X windows = world and am=20 having a heck of a time getting X to startup using xdm.
 
I'm running XFree86 3.3.6 on a AMD K6, = 233, with=20 64M RAM, and a Voodoo3 graphics board that has 16M RAM. The OS is FBSD 4.0-Stable, last cvsup'd about a week ago.  = I'm using=20 the KDE desktop suite.
 
I don't have a problem using "startx" = and having a=20 $HOME/.initrc file with "exec kdestart" in it.  Everything works = fine so=20 I'm sure the X server is properly configured. 
 
I do have a problem when I try to use = xdm.  I=20 have a file called xdm.sh that looks like this:
 
    = #!/bin/sh
    = /usr/X11R6/bin/xdm
 
in my /usr/X11R6/etc/rc.d = directory.  In=20 $HOME/.xsession there is only one line
 
    exec = kdestart
 
When I reboot the machine, I get the X = Windows=20 System login screen.  When I login (as either root or my normal = user), the=20 login screen disappears for a few seconds, then comes right = back.
 
I do a CNTL-ALT-ESC-F1 to get out of = the X window=20 and back to a console prompt.  When I look at the = $HOME/.xsession-errors=20 file, it says:
 
    Xlib:  = connection to ":0.0"=20 refused by server
    Xlib:  Client = is not=20 authorized to connect to server
    Error:  Can't = open=20 display:  :0
 
The xdm-errors file in = /usr/X11R6/lib/X11/xdm has=20 the usual output but at the bottom there are several lines that look = like=20 this:
 
    AUDIT: Tue Jun  = 6 21:03:01=20 2000: 293 X: client 2 rejected from local = host
    Auth=20 name: XDM-AUTHORIZATION-1 ID: -1
    Xlib: connection = to=20 ":0.0" refused by server
    Xlib: Client is not = authorized to=20 connect to Server
    /usr/X11R6/bin/xrdb: Can't open = display=20 ':0'
    AUDIT: Tue Jun  6 21:03:01 2000: 293 X: = client 3=20 rejected from local host
    Auth name:=20 XDM-AUTHORIZATION-1 ID: -1
    Xlib: connection to = ":0.0"=20 refused by server
    Xlib: Client is not authorized = to=20 connect to Server
 
I get the same results when I try to = run xdm from a=20 command line.
 
I've been through the FAQs at both the = freebsd and=20 xfree86 web sites.  From what I can tell, I'm doing everything the = way the=20 books/instructions/handbooks/etc. say to do this.  I'd appreciate = any help=20 someone may have to offer.
 
Regards,
 
Jim
------=_NextPart_000_003E_01BFD171.8926E340-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message