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.
-- 
Cameron Simpson, DoD#743        [EMAIL PROTECTED]    http://www.zip.com.au/~cs/

IE 5.0 introduces nothing but a bunch of DHTML extensions you'd never stoop
to using, and yet more parochial Microsoft dialects (Want to view pages
without annoying browser buttons? Just change all your .html files to
.hma! Will they never learn?)   - NTKnow, 16jun98, http://www.ntk.net/



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to