Red Hat Topics - X windows client for windows

This is Interesting: Free IT Magazines  
Home > Archive > Red Hat Topics > February 2005 > X windows client for windows





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author X windows client for windows
Starr

2005-01-31, 5:45 pm

Does anyone know of a xwindows client (preferably free) I can run on MS
windows?


Kill Bill

2005-01-31, 5:45 pm

Starr wrote:
> Does anyone know of a xwindows client (preferably free) I can run on MS
> windows?


You probably meant an X *server* for Windows.

There are good ones, yet free:

Cygwin/X, check http://x.cygwin.com/ for details;
Xming, check http://freedesktop.org/wiki/Xming for details;
WeirdX, check http://www.jcraft.com/weirdx/index.html for details;

Those are all open-sourced software.

HTH,


--
NT stands for New Technology. Windowds NT(NT4.x)/2K(NT5.0)/XP(NT5.1)
was built on NT Technology. Anyone understands what "new" means, so
everyone knows M$ Windows NT/2K/XP/Whatever is a *real* innovation.
Starr

2005-01-31, 5:45 pm


"Kill Bill" <xbill@msn.com> wrote in message
news:ctlrtq$fnm$1@gemini.csx.cam.ac.uk...
> Starr wrote:
>
> You probably meant an X *server* for Windows.
>
> There are good ones, yet free:


Cool but what I'm after is to be able to start an x session on my client
machine connected to my linux box which will let me run X on my client as if
I was doing it on the server. If such a thing exists.


Rincewind

2005-01-31, 5:45 pm

On Mon, 31 Jan 2005 19:25:16 +0000, Starr mumbled something like this:

>
> "Kill Bill" <xbill@msn.com> wrote in message
> news:ctlrtq$fnm$1@gemini.csx.cam.ac.uk...
>
> Cool but what I'm after is to be able to start an x session on my client
> machine connected to my linux box which will let me run X on my client as
> if I was doing it on the server. If such a thing exists.


Yes, it's called an X *server* as Kill Bill said. It works like this:

1. Start the X server on the Windows machine
2. Use putty or similar to log onto your linux machine via ssh
3. Once logged on, type(case is important):
DISPLAY=<ip_of_your_windows_machine>:0
export DISPLAY
4. Start your X app - e.g. type:
mozilla
5. mozilla will start on your windows desktop, but will be running on your
linux box.

Alternatively, you could use a version of VNC, which will give you a
complete KDE or Gnome Desktop in a window on your windows machine. Works
quite well, but is slower than the first method IMHO.

Rinso
--
/\
/ \
/wizz\
~~~~~~~~~~~~

Starr

2005-01-31, 5:45 pm


"Rincewind" <rinso@unseen.edu> wrote in message
news:pan.2005.01.31.19.42.44.582524@unseen.edu...
> On Mon, 31 Jan 2005 19:25:16 +0000, Starr mumbled something like this:
>
as[vbcol=seagreen]
>
> Yes, it's called an X *server* as Kill Bill said. It works like this:
>
> 1. Start the X server on the Windows machine
> 2. Use putty or similar to log onto your linux machine via ssh
> 3. Once logged on, type(case is important):
> DISPLAY=<ip_of_your_windows_machine>:0
> export DISPLAY
> 4. Start your X app - e.g. type:
> mozilla
> 5. mozilla will start on your windows desktop, but will be running on your
> linux box.
>


I tried that and I got this

[root@p3450 root]# xclock
Xlib: connection to "10.0.0.2:0.0" refused by server
Xlib: No protocol specified

Error: Can't open display: 10.0.0.2:0
[root@p3450 root]#

> Alternatively, you could use a version of VNC, which will give you a
> complete KDE or Gnome Desktop in a window on your windows machine. Works
> quite well, but is slower than the first method IMHO.


I'll give that a go too.


Rincewind

2005-01-31, 5:45 pm

On Mon, 31 Jan 2005 20:48:20 +0000, Starr mumbled something like this:

>
> "Rincewind" <rinso@unseen.edu> wrote in message
> news:pan.2005.01.31.19.42.44.582524@unseen.edu...
> as
> I tried that and I got this
>
> [root@p3450 root]# xclock
> Xlib: connection to "10.0.0.2:0.0" refused by server Xlib: No protocol
> specified
>
> Error: Can't open display: 10.0.0.2:0 [root@p3450 root]#


You would get that error if there was no X server running on the windows
machine or if it had a different display number than :0, but the windows
X servers usually default to :0.

Which X server did you install on the windows machine?

Just a thought... is there a firewall running on the windows machine? If
so, you will need to allow ports 6000 - 6010 or possibly 6000 - 6064 from
your linux machine through it for X to work! Blocking these ports would
also generate an error.

of VNC, which will give you a[vbcol=seagreen]
>
> I'll give that a go too.


--
/\
/ \
/wizz\
~~~~~~~~~~~~

Starr

2005-02-01, 7:45 am


"Rincewind" <rinso@unseen.edu> wrote in message
news:pan.2005.01.31.23.01.41.640451@unseen.edu...
> On Mon, 31 Jan 2005 20:48:20 +0000, Starr mumbled something like this:
>
> You would get that error if there was no X server running on the windows
> machine or if it had a different display number than :0, but the windows
> X servers usually default to :0.
>
> Which X server did you install on the windows machine?

Xming
>
> Just a thought... is there a firewall running on the windows machine? If
> so, you will need to allow ports 6000 - 6010 or possibly 6000 - 6064 from
> your linux machine through it for X to work! Blocking these ports would
> also generate an error.


Indeed. I shut down the firewall on bot my windows machine and my linux box
but it made no difference.


pete

2005-02-01, 7:45 am

Starr wrote:
[vbcol=seagreen]
>
> "Rincewind" <rinso@unseen.edu> wrote in message
> news:pan.2005.01.31.23.01.41.640451@unseen.edu...

You also need to issue the xhost command on the X server (10.0.0.2 in this
case), to allow other clients to connect. No idea how you'd do this with
Xming though.

Pete

Starr

2005-02-02, 5:45 pm


"John Thompson" <john@starfleet.os2.dhs.org> wrote in message
news:slrncvvqk4.ar7.john@starfleet.os2.dhs.org...
> On 2005-02-01, Starr <Starr@proxima.net> wrote:
>
box[vbcol=seagreen]
>
> If your linux machine uses a graphical display manager for logging in, you
> can try this:
>
> Install Cygwin, with the X.org packages for the X server. Open a Cygwin
> shell and type "X -query [linux.machine.address] -once" and you should get
> the graphic login widget for the linux machine. For there you can log in
> and use your linux desktop just as if you were sitting at the linux
> machine.
>


No it's a text login but its worth a thought.
> --
>
> -John (john@os2.dhs.org)



Ivan Marsh

2005-02-02, 5:45 pm

On Mon, 31 Jan 2005 18:00:30 +0000, Kill Bill wrote:

> Starr wrote:
>
> You probably meant an X *server* for Windows.
>
> There are good ones, yet free:
>
> Cygwin/X, check http://x.cygwin.com/ for details;
> Xming, check http://freedesktop.org/wiki/Xming for details;
> WeirdX, check http://www.jcraft.com/weirdx/index.html for details;
>
> Those are all open-sourced software.


I've been using cygwinx (happily) for quite a while and thought I'd try
xming since it's smaller.

xming's performance leaves much to be desired. It turned my scroll mouse
into a 'wait a second or two then jump up and down until the buffer is
empty" mouse. Your mileage may vary.




--
Life is short, but wide. -KV

Scott Lurndal

2005-02-03, 5:45 pm

John Thompson <john@starfleet.os2.dhs.org> writes:
>On 2005-02-01, Starr <Starr@proxima.net> wrote:
>
>
>If your linux machine uses a graphical display manager for logging in, you
>can try this:
>
>Install Cygwin, with the X.org packages for the X server. Open a Cygwin
>shell and type "X -query [linux.machine.address] -once" and you should get
>the graphic login widget for the linux machine. For there you can log in
>and use your linux desktop just as if you were sitting at the linux
>machine.
>


For this to work with redhat releases, you'll need to tell the
graphical login daemon (gdm, xdm, kdm) to accept external
connections. For xdm, the files are in /usr/lib/X11/xdm.

You specify your login daemon via /etc/sysconfig/desktop.

scott
Starr

2005-02-04, 7:45 am


"Scott Lurndal" <scott@slp53.sl.home> wrote in message
news:v57Md.178$Hr.123@newssvr24.news.prodigy.net...
> John Thompson <john@starfleet.os2.dhs.org> writes:
box[vbcol=seagreen]
you[vbcol=seagreen]
get[vbcol=seagreen]
>
> For this to work with redhat releases, you'll need to tell the
> graphical login daemon (gdm, xdm, kdm) to accept external
> connections. For xdm, the files are in /usr/lib/X11/xdm.
>
> You specify your login daemon via /etc/sysconfig/desktop.
>
> scott


The linux box uses a text logon.


Rincewind

2005-02-04, 7:45 am

On Tue, 01 Feb 2005 11:43:50 +0000, Starr mumbled something like this:

>
> "Rincewind" <rinso@unseen.edu> wrote in message
> news:pan.2005.01.31.23.01.41.640451@unseen.edu...
> Xming
>
> Indeed. I shut down the firewall on bot my windows machine and my linux
> box but it made no difference.


I've been away for a few days, but here's a bit more info on my own setup:

The X server I use on Windows XP is X-Win32 (http://www.starnet.com). I do
not use X11 forwarding in my putty ssh connection; I have found that this
does not work with X-Win32 like it does with linux to linux(or I'm doing
it wrong). So I use the DISPLAY variable to tell linux where to display.

You can see a screenshot of gedit running on my XP desktop along with a
putty window showing the commands executed on the linux box to get to that
state:

http://www.djmsoft.no-ip.com/public/images/X11-01.jpg

The free, evaluation version of X-Win32 can be used for 30 mins at a time
for as many times as you like. This may be sufficient for your needs.

rinso
--
/\
/ \
/wizz\
~~~~~~~~~~~~

Scott Lurndal

2005-02-04, 5:45 pm

"Starr" <Starr@proxima.net> writes:
>
>"Scott Lurndal" <scott@slp53.sl.home> wrote in message
>news:v57Md.178$Hr.123@newssvr24.news.prodigy.net...
[vbcol=seagreen]
>you
>get
>
>The linux box uses a text logon.
>


That doesn't preclude you from running xdm to serve remote
X-Terminals or Cygwin X-servers. man xdm for more info
on how to configure it for remote terminals. Just turn off
the entry for :0.

scott

>

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com