Re: Howto: ssh X11 display to Win2k

From: John Thompson (john_at_starfleet.os2.dhs.org)
Date: 11/15/03


Date: Sat, 15 Nov 2003 22:13:20 GMT

On 2003-11-14, Carl J. Hixon <cjhixon@imnottelling.com> wrote:

> Thanks everybody. I continue my journey. I got ssh working from my RH9 box
> at home to Win2K at work using PuTTY. Now the next step is to get my
> graphical display over to my Win2K box.
>
> I have read a bunch on google and a few of the threads here. My head is
> swimming with VNC, X-Win32, Exceed, GDM, KDM...blah blah blah......
>
> I need the kindergarden version. What do I need on my Win2K machine besides
> PuTTY? my Linux box?

VNC is easy: just fire up the vncserver process on your linux machine,
start the vncviewer process on your windows machine, point it to the linux
machine and you're done. But remember the VNC session is stateless, which
may not be what you're accustomed to using. Eg, if you exit your window
manager in a VNC session, that's exactly what happens. The window manager
closes but everything else stays running, which is not generally how it
works in a regular X session. To completely close things, you have to
kill the vncserver process.

On the other hand, a stateless session can be quite handy. You can close
the vncviewer process at any time without affecting what's running on the
vncserver. You can then reconnect to the vncserver, even from a different
machine, and pick up exactly where you left off.

If you want a true X session, you will need to run an X server on your
Windows machine. There are many available, commercial, shareware and
freeware. Cygwin (www.cygwin.org ) makes a nice free one, but AFAIK it
can only be installed over the internet and at 30-some megabytes it is not
really practical unless you have a broadband connection to the internet.

Provided you linux machine is properly configured, you can connect any X
server to your linux machine with "X -query your.linux.machine -once" to
get the familiar xdm/gdm/kdm login widget and then use your X desktop as
if you were sitting at the console.

-- 
-John (JohnThompson@new.rr.com)


Relevant Pages

  • Re: Using a Global Mutex
    ... SeCreateGlobalPrivilege is also in Win2K SP4 but you ... "Intitial system session" is session 0, ... (on Win2K it's only present if you have Terminal Services ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Using a Global Mutex
    ... SeCreateGlobalPrivilege is also in Win2K SP4 but you ... "Intitial system session" is session 0, ... (on Win2K it's only present if you have Terminal Services ...
    (microsoft.public.vsnet.general)
  • Re: Ueberwachung Terminal Sessions
    ... Kannst die Terminalservices auch einstellen dass sie nach X ... Minuten/Stunden/Tagen eine getrennte Session automatisch abmelden. ... Oder kann man die Win2K Terminaldiensteconsole nach XP kopieren? ... Next by Date: ...
    (microsoft.public.de.german.windows.terminaldienste)
  • [SLE] Custom X Session
    ... I've got this windows machine on my network, and I'd like to be able to ... vnc into it on a separate X session on my linux workstation. ... another X session is easy, only I'm not wanting a normal X session. ...
    (SuSE)
  • storing object in session
    ... I'm trying to figure out how to store an object in session. ... I have apache2 and php5 running on my windows machine. ... var $firstname; ...
    (comp.lang.php)