Cameron Simpson writes: >On 16:52 21 Apr 2002, Glen Lee Edwards <[EMAIL PROTECTED]> wrote: >| Glen Lee Edwards writes: >| >Cameron Simpson writes: >| >>And given that startx (aka xinit-with-flashier-defaults) just runs your >| >>~/.xinitrc script, you can do as above (start an X service on your Win2k box) >| >>and then from your linux box say: >| >> sh ~/.xinitrc >| >>and it should all come up on your Win2k box as normal if you have Putty's X11 >| >>forwarding working. >| > >| >I tried it on two Linux boxes. With some fiddling it worked. How do I tell the >| >remote pc which X server to connect to? sh ~/.xinitrc :1.0 doesn't work. It >| >wants to connect to :0.0. I need to be able to tell it which X server to >| >connect to. >| >| I figured it out. I had to add "-d myclient:1.0" to each line in the .xinitrc >| file on the remote box. > >This is the wrong approach - it means your X11 forwarding isn't working. >Anyway, until your forwarding is fixed, just set $DISPLAY to myclient:1 >instead of wiring a fixed sting into your script.
Where would I find documentation on how to fix X11 forwarding? man X didn't mention forwarding. I'd prefer not to set $DISPLAY. These boxes are on my lan. I usually access them from my main pc, but sometimes log in directly, so a default $DISPLAY works against me. It's a little frustrating to start emacs from console on the 486 only to have it show up on the Athalon! -grin- Regards, Glen _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list