On 00:43 21 Apr 2002, Glen Lee Edwards <[EMAIL PROTECTED]> wrote:
| Yesterday, at 13:52, Kevin Keithan sent through the Star Gate:
| >I'm using my computer ,Windows2k Pro with Putty installed, to login to
| >my Redhat 7.2 server.  I'm using ssh and have X Forwarding enabled.  I
| >want to startx and see it from my 2000 Pro machine.  I am having trouble
| 
| Unfortunately X doesn't work that way - you can't run X from a remote location 
| and have all its output displayed on your local machine.

Well, you can with VNC, in a manner of speaking. But let's ignore that for now.

| You can, however, start X from your local machine, telnet/ssh into a remote pc, 
| run a program from it, and have it's output display in a separate window on your 
| local machine.  I frequently ssh into other PCs on my lan and start emacs.  A 
| new window opens up on my local box, just as if the program was running on it 
| instead of on the remote PC.

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.

The only catch is that you may want to fiddle the window management
setting in your Windows X server - by default the windows desktop will
be your window manager, which is a miracle of ugliness (click to focus
etc); usually there's a setting to give control over to the X11 window
manager you usually use.

Cheers,
-- 
Cameron Simpson, DoD#743        [EMAIL PROTECTED]    http://www.zip.com.au/~cs/

Kids are like horses. After they're two years old you can fasten leather
straps around them, sit on them and whip their buttocks.
        - [EMAIL PROTECTED] (Ken Johnson)



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

Reply via email to