[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[OT] xfree, cygwin, win98, XDMCP, .Xauthority



I know this isn't really related to Debian (even though my debian box
is the XDMCP host), but maybe someone can help.  The problem is
certainly not with windows itself.

I installed cygwin and xfree86 (4.1.0) on my dad's win98 box.  I can
run the X server along with local clients (xterm, twm).  I can also
use ssh to forward an X connection from my debian box and display
clients (gnome-terminal, gnucash).  I can even start the X server and
have it XDMCP query my debian box and show GDM.

I created ~/.xserverrc that contains 

    X -query 192.168.0.1

so that 'starx' starts the X server with XDMCP.  Here's where the
problem starts : the machine locks up in spurts (doesn't accept input,
though errors still display in the shell) while in the shell that
started X I see the following messages (copied by hand, can't seem to
redirect output) :

cat: /home/<user>/.Xauthority: No such file or directory
cat: /home/<user>/.Xauthority: No such file or directory
AUDIT: <date>: <pid?> X: client 2 rejected from local host
Xlib: connection to "0:0" refused by server
Xlib: client is not authorized to connect to server
..
cat: /home/<user>/.Xauthority: No such file or directory
AUDIT: <date>: <pid?> X: client 3 rejected from local host
Xlib: connection to "0:0" refused by server
Xlib: client is not authorized to connect to server
..
cat: /home/<user>/.Xauthority: No such file or directory
AUDIT: <date>: <pid?> X: client 4 rejected from local host
Xlib: connection to "0:0" refused by server
Xlib: client is not authorized to connect to server
..


The GDM screen is slow to appear, and the background (solid color)
appears several seconds before the main frame appears.  The system is
also unusable because of the frequent (periodic too) lock ups.  The
message about client 4 rejected repeats until I kill the X server.


As I was attempting to redirect output so I could easily include the
exact message I tried running X directly (instead of via startx).
When I ran 'X -query 192.168.0.1'  (with IO redirection) I got none of
the errors and the system was quite usable.

I tried running 'xauth', but I have no clue what to do at it's prompt.
"help" didn't really help me.  I also tried running xhost (on the
cygwin box) but it said it couldn't connect to 0:0.  The only other
relevant data I can think of is I put "export DISPLAY=:0" in the
bashrc file so that 'ssh -X' would work.

Any ideas on what I can do, aside from create my own script with that
line in it?

TIA,
-D

-- 

The heart is deceitful above all things
    and beyond cure.
    Who can understand it?

I the Lord search the heart
    and examine the mind,
to reward a man according to his conduct,
    according to what his deeds deserve.

        Jeremiah 17:9-10



Reply to: