Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Jun 2000 17:46:55 -0500
From:      "Jim Manley" <jmanley@metronet.com>
To:        <questions@freebsd.org>
Subject:   Problems w/ xdm
Message-ID:  <004101bfd19b$7d60dfa0$0100a8c0@lmtas.lmco.com>

next in thread | raw e-mail | index | archive | help
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

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.3017.1000" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Greeting -</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I'm relatively new to the X windows =
world and am=20
having a heck of a time getting X to startup using xdm.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>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. </FONT><FONT =
face=3DArial=20
size=3D2>The OS is FBSD 4.0-Stable, last cvsup'd about a week ago.&nbsp; =
I'm using=20
the KDE desktop suite.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I don't have a problem using "startx" =
and having a=20
$HOME/.initrc file with "exec kdestart" in it.&nbsp; Everything works =
fine so=20
I'm sure the X server is properly configured.&nbsp; </FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I do have a problem when I try to use =
xdm.&nbsp; I=20
have a file called xdm.sh that looks like this:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; =
#!/bin/sh</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; =
/usr/X11R6/bin/xdm</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>in my /usr/X11R6/etc/rc.d =
directory.&nbsp; In=20
$HOME/.xsession there is only one line</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; exec =
kdestart</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>When I reboot the machine, I get the X =
Windows=20
System login screen.&nbsp; When I login (as either root or my normal =
user), the=20
login screen disappears for a few seconds, then comes right =
back.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I do a CNTL-ALT-ESC-F1 to get out of =
the X window=20
and back to a console prompt.&nbsp; When I look at the =
$HOME/.xsession-errors=20
file, it says:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; Xlib:&nbsp; =
connection to ":0.0"=20
refused by server</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; Xlib:&nbsp; Client =
is not=20
authorized to connect to server</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; Error:&nbsp; Can't =
open=20
display:&nbsp; :0</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>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:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; AUDIT: Tue Jun&nbsp; =
6 21:03:01=20
2000: 293 X: client 2 rejected from local =
host<BR>&nbsp;&nbsp;&nbsp;&nbsp;Auth=20
name: XDM-AUTHORIZATION-1 ID: -1<BR>&nbsp;&nbsp;&nbsp; Xlib: connection =
to=20
":0.0" refused by server<BR>&nbsp;&nbsp;&nbsp; Xlib: Client is not =
authorized to=20
connect to Server<BR>&nbsp;&nbsp;&nbsp; /usr/X11R6/bin/xrdb: Can't open =
display=20
':0'<BR>&nbsp;&nbsp;&nbsp; AUDIT: Tue Jun&nbsp; 6 21:03:01 2000: 293 X: =
client 3=20
rejected from local host<BR>&nbsp;&nbsp;&nbsp;&nbsp;Auth name:=20
XDM-AUTHORIZATION-1 ID: -1<BR>&nbsp;&nbsp;&nbsp; Xlib: connection to =
":0.0"=20
refused by server<BR>&nbsp;&nbsp;&nbsp; Xlib: Client is not authorized =
to=20
connect to Server</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I get the same results when I try to =
run xdm from a=20
command line. </FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I've been through the FAQs at both the =
freebsd and=20
xfree86 web sites.&nbsp; From what I can tell, I'm doing everything the =
way the=20
books/instructions/handbooks/etc. say to do this.&nbsp; I'd appreciate =
any help=20
someone may have to offer.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Regards,</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Jim</FONT></DIV></BODY></HTML>

------=_NextPart_000_003E_01BFD171.8926E340--



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?004101bfd19b$7d60dfa0$0100a8c0>