\begin{Angus Lees}
> \begin{Angus Lees}
> > \begin{Peter Rundle}
> > > I've just installed Debian on a VMware virtual machine, and I'm
> > > trying to get it to run X. So I installed the packages and the
> > > xdm login screen comes up no problems. When I try to log in
> > > however it appears to accept my username etc but then it just
> > > throws me back out. In the users .xsession-errors file there are
> > > messages like,
> > >
> > > Xlib: connection to ":0.0" refused by the server
> > > Xlib: Client is not authorized to connect to Server
> > > /usr/bin/X11/WindowMaker fatal error:could not open Display ":0"
>
> does a "failsafe" login work? (press F1 instead of return after your
> password). if it does work, what is $DISPLAY ?
>
> are you sure xdm is running on :0 ? (you could find out by looking in
> /tmp/.X11-unix/, and seeing which sockets were opened / exist /
> recently modified)
>
> you should also try a .xsession that dumped "echo $DISPLAY" and "xauth
> list" to a file somewhere, then check that afterwards to see what's
> going on.
since i just got bitten by this one too, i had to actually fix it ;)
apparently, ssh 2.5.2p2-1 and libssl0.9.6 0.9.6a-1 don't like each
other. any ssh-related command bombs out with:
OpenSSL version mismatch. Built against 90600f, you have 90601f
xdm (by default) runs your xsession through ssh-agent. ssh-agent is
exiting immediately, thus taking your xsession with it.
(i found all this by putting "set +x" in the middle of
/etc/X11/Xsession, and then reading ~gus/.xsession-errors after a
failed login)
two solutions:
disable ssh-agent. edit /etc/X11/Xsession.options and comment out /
mangle in some way "use-ssh-agent". ssh still won't work tho.
recompile ssh. "apt-get source -b ssh", usually with a bit of hand
holding. (i did this, after removing every reference to "gnome" from
openssh-*/debian/{control,rules})
wait for the ssh maintainer to upload a new version. (like i said,
only *two* solutions..)
(why does it take gnome so many libraries just to add drag and drop?)
--
- Gus
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug