Date: Tue, 6 Jun 2000 21:57:25 -0500 From: "Jim Manley" <jmanley@metronet.com> To: <freebsd-questions@freebsd.org> Subject: Problems w/ xdm Message-ID: <004501bfd02c$1cd62d40$0100a8c0@lmtas.lmco.com>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
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.
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:
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.
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
[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.3017.1000" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Greeting -</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>I'm relatively new to the X windows world and am
having a heck of a time getting X to startup using xdm.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>I'm running XFree86 3.3.6 on a AMD K6, 233, with
64M RAM, and a Voodoo3 graphics board that has 16M RAM. </FONT><FONT face=Arial
size=2>The OS is FBSD 4.0-Stable, last cvsup'd about a week ago. I'm using
the KDE desktop suite.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>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. </FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>I do have a problem when I try to use xdm. I
have a file called xdm.sh that looks like this:</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> #!/bin/sh</FONT></DIV>
<DIV><FONT face=Arial size=2> /usr/X11R6/bin/xdm</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>in my /usr/X11R6/etc/rc.d directory. In
$HOME/.xsession there is only one line</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> exec kdestart</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>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.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>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:</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> Xlib: connection to ":0.0"
refused by server</FONT></DIV>
<DIV><FONT face=Arial size=2> Xlib: Client is not
authorized to connect to server</FONT></DIV>
<DIV><FONT face=Arial size=2> Error: Can't open
display: :0</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>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:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> AUDIT: Tue Jun 6 21:03:01
2000: 293 X: client 2 rejected from local host<BR> Auth
name: XDM-AUTHORIZATION-1 ID: -1<BR> Xlib: connection to
":0.0" refused by server<BR> Xlib: Client is not authorized to
connect to Server<BR> /usr/X11R6/bin/xrdb: Can't open display
':0'<BR> AUDIT: Tue Jun 6 21:03:01 2000: 293 X: client 3
rejected from local host<BR> Auth name:
XDM-AUTHORIZATION-1 ID: -1<BR> Xlib: connection to ":0.0"
refused by server<BR> Xlib: Client is not authorized to
connect to Server</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>I get the same results when I try to run xdm from a
command line. </FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>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.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Regards,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Jim</FONT></DIV></BODY></HTML>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?004501bfd02c$1cd62d40$0100a8c0>
