Re: [SLUG] Xserver/Xclient

2005-10-27 Thread James
On Wednesday 26 October 2005 13:38, [EMAIL PROTECTED] wrote:
   Short answer: install cygwin on your windows machine, making sure to
   install whatever X server is included with it.
 
  [snip]
 
  I don't believe that this is the answer. Cygwin allows the windows
  machine to have a unix-api and for it to run unix programs. It does not
  do what cxoffice does for linux machines.

 It doesn't do what cxoffice does, but it does what the original poster
 asked - i.e. to be able to login remotely to a linux machine from Windows
 and run a graphics interface on the Linux which displays its windows on the
 Windows machine.

 In case you are not up to date with it (which I suspect from your
 definition of Gygwin as a simple unix-api) then it also includes a full
 port of the core XFree86 to Windows.

True True, but he was aleady using vnc, so if he wanted a window manager, he 
already had one!

No arguments about cygwin, I found vnc easier if all you want is a window 
manager.
James
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Xserver/Xclient

2005-10-27 Thread slug
 On Thu, Oct 27, 2005 at 09:25:24AM +1000, Phill wrote:
 I guess I thought (not really understanding the concept.. but now I do)
 that it could be used as a remote desktop with the gui bacically being
 redirected to a remote output.

 That's certainly possible -- that's what xdmcp is about.

 I do use a vnc at the momement. It is a bit slow and I was wondering
 about
 a more efficient way to run programs on a server

 Vnc is fastER (but still not _fast_) and less hassle (only one port to
 worry about) on a WAN.
 Straight X is much faster on a LAN.

If money is not too much of an object and time is, a client of mine was
using Cygwin and now is using nomachine (http://www.nomachine.com). There
is a freeNX version. It is much faster than Cygwin with ssh particularly
on low speed lines, much easier to setup and the client installs are
available for windows, linux, playstation and I think OSX. It apparently
works by removing lots of unnecessary chat from the X protocol. There is a
live demo that runs X from Italy. Cost was about $1K for a dual processor
40 user win4lin server, so about $25/user or some such. Compared to tuning
X, it was a godsend. It also tidied up all that messy ssh-keygen stuff and
saves about 1/2 hour per PC on install...

HTH

Stu







-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Xserver/Xclient

2005-10-27 Thread Matthew Hannigan
On Thu, Oct 27, 2005 at 10:09:25PM +1000, [EMAIL PROTECTED] wrote:
 If money is not too much of an object and time is, a client of mine was
 using Cygwin and now is using nomachine (http://www.nomachine.com). There
 is a freeNX version. 

I tried NX.  It doesn't cost anything with the freenx server, because
the NX client is free.

But I had a problem connecting to the same server from different machines.
Which was sorta the whole point for me.  I think (from memory) that
the NX protocol insisted that the server and client had the same bitdepth
(no. of colours) which wasn't the case for the two machines I tried.

Otherwise, yeah, it is quite fast.

--
Matt

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Xserver/Xclient

2005-10-26 Thread Bill
I'm currently using my new laptop on my home LAN ( dual booting Kanotix and 
XP) to access my 4 other PCS  (3 of which are headless) running 
Kanotix/Kubuntu and/or XP and run programs on these PCs remotely.


I'm using NX/FreeNx which is included in the Kanotix distro by default, and 
which is also available for Windows. FreeNx includes both client and 
server  - see http://freenx.berlios.de/


One PC is a file/print server and one is a multimedia machine incl hdtv 
card output to TV, but is mainly used for playing streaming Shoutcast audio 
through my Stereo.


Bill

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Fwd: Re: [SLUG] Xserver/Xclient

2005-10-26 Thread Rev Simon Rumble

Forgot to copy this to the list

--- Original Message ---
Date: 10/25/2005
From: Rev Simon Rumble [EMAIL PROTECTED]
Subject: Re: [SLUG] Xserver/Xclient


On 25/10/2005, Phill [EMAIL PROTECTED] wrote:

I'm told that one of the big pros of the X server/client is that the
server and the client can be on separate machines ( I  guess like a remote
desktop). How can I use my windows machine to run applications on the
linux machine. Currently I'm just using a vnc setup.

VNC is one way to do it, the other is to run an X server on your desktop.
 Note the terminology used here: the client is actually an X
application, like xcalc; the server is actually what takes its
output and displays it.

This isn't about remote desktop though, there is a subtle
difference.  Each X client can point to any X server, so you can quite
happily run one application here, another there, another on a third X
server.  The desktop (Window Manager, kind of, in X terminology) is
just another X client.

Once you've got an X server running on your machine (and set up to
accept clients from the remote machine), you set an environment variable
called DISPLAY to point to the X server, for example:

DISPLAY=192.168.1.1:0 xcalc

or

export DISPLAY=192.168.1.1:0
xcalc
xeyes

(the :0 refers to the number of the X server at that IP address)
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


RE: [SLUG] Xserver/Xclient

2005-10-26 Thread Phill

Hi all

I guess I thought (not really understanding the concept.. but now I do)
that it could be used as a remote desktop with the gui bacically being
redirected to a remote output.

I do use a vnc at the momement. It is a bit slow and I was wondering about
a more efficient way to run programs on a server

Phill



smime.p7s
Description: S/MIME cryptographic signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] Xserver/Xclient

2005-10-26 Thread Phil Scarratt

Phill wrote:

Hi all

I guess I thought (not really understanding the concept.. but now I do)
that it could be used as a remote desktop with the gui bacically being
redirected to a remote output.

I do use a vnc at the momement. It is a bit slow and I was wondering about
a more efficient way to run programs on a server

Phill




There's no reason why you couldn't use cygwin or xming(??) to do that. 
VNC or FreeNX (never used it so can't vouch for their claims as to being 
faster but its certainly worth a go) is possibly better or easier. If 
you wanted to run the odd application or two then xming might be better.


Try them and see.

Fil
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Xserver/Xclient

2005-10-26 Thread Matthew Hannigan
On Thu, Oct 27, 2005 at 09:25:24AM +1000, Phill wrote:
 I guess I thought (not really understanding the concept.. but now I do)
 that it could be used as a remote desktop with the gui bacically being
 redirected to a remote output.

That's certainly possible -- that's what xdmcp is about.

 I do use a vnc at the momement. It is a bit slow and I was wondering about
 a more efficient way to run programs on a server

Vnc is fastER (but still not _fast_) and less hassle (only one port to worry 
about) on a WAN.
Straight X is much faster on a LAN.

Matt
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Xserver/Xclient

2005-10-25 Thread Phill
Hi all

I'm told that one of the big pros of the X server/client is that the
server and the client can be on separate machines ( I  guess like a remote
desktop). How can I use my windows machine to run applications on the
linux machine. Currently I'm just using a vnc setup.


Phill



smime.p7s
Description: S/MIME cryptographic signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] Xserver/Xclient

2005-10-25 Thread Phil Scarratt

Phill wrote:

Hi all

I'm told that one of the big pros of the X server/client is that the
server and the client can be on separate machines ( I  guess like a remote
desktop). How can I use my windows machine to run applications on the
linux machine. Currently I'm just using a vnc setup.


Phill




Short answer: install cygwin on your windows machine, making sure to 
install whatever X server is included with it.


Other info which may or may not be useful:
in terms of X servers, the terms server/client are probably inverted to 
natural thought (maybe its just me though). Linux needs an X server to 
display the application, that X server does not have to be on the 
machine that the application is running on. In fact, the machine the 
linux app is running on does not even need an X server installed. You 
might naturally think of the linux box as the server in a case like 
this, which it is in the sense that it is serving the app. But the X 
server runs on the client. Which basically means you need an x server 
on your windows machine. Hence cygwin.


Fil
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Xserver/Xclient

2005-10-25 Thread James
On Wednesday 26 October 2005 10:00, [EMAIL PROTECTED] wrote:
  I'm told that one of the big pros of the X server/client is that the
  server and the client can be on separate machines ( I  guess like a
  remote desktop). How can I use my windows machine to run applications on
  the linux machine. Currently I'm just using a vnc setup.
 
 
  Phill

 Short answer: install cygwin on your windows machine, making sure to
 install whatever X server is included with it.
[snip]

I don't believe that this is the answer. Cygwin allows the windows machine to 
have a unix-api and for it to run unix programs. It does not do what cxoffice 
does for linux machines.

I know of no windows sw that will run a remote unix app.

You can look at putty which will give you a term screen which can run apps.

I think vnc is better/easier than cygwin, but that gives you a desktop ala
any of the other X-servers that run on windows.

Really, said he sticking out his neck and saying cut-it-off, only X lets you 
run arbitary apps on machine A displaying on machine B. The window 
manager/desktop is a background issue. ie no window manager and you can still 
run say kmail on the blank grey screen of B from machine A.

James
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Xserver/Xclient

2005-10-25 Thread Phil Scarratt

James wrote:

On Wednesday 26 October 2005 10:00, [EMAIL PROTECTED] wrote:


I'm told that one of the big pros of the X server/client is that the
server and the client can be on separate machines ( I  guess like a
remote desktop). How can I use my windows machine to run applications on
the linux machine. Currently I'm just using a vnc setup.


Phill


Short answer: install cygwin on your windows machine, making sure to
install whatever X server is included with it.


[snip]

I don't believe that this is the answer. Cygwin allows the windows machine to 
have a unix-api and for it to run unix programs. It does not do what cxoffice 
does for linux machines.




No, but you can run an X server under cygwin which can then be used as 
the display for an app from a linux machine. At least that is my 
understanding without ever having tried it.



I know of no windows sw that will run a remote unix app.

You can look at putty which will give you a term screen which can run apps.



Not gui ones though, without an X server of some sort and XForward enabled.


I think vnc is better/easier than cygwin, but that gives you a desktop ala
any of the other X-servers that run on windows.

Really, said he sticking out his neck and saying cut-it-off, only X lets you 
run arbitary apps on machine A displaying on machine B. The window 
manager/desktop is a background issue. ie no window manager and you can still 
run say kmail on the blank grey screen of B from machine A.


James


Fil
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Xserver/Xclient

2005-10-25 Thread Amos Shapira
On 10/26/05, James [EMAIL PROTECTED] wrote:
 On Wednesday 26 October 2005 10:00, [EMAIL PROTECTED] wrote:
   I'm told that one of the big pros of the X server/client is that the
   server and the client can be on separate machines ( I guess like a
   remote desktop). How can I use my windows machine to run applications on
   the linux machine. Currently I'm just using a vnc setup.
  
  
   Phill
 
  Short answer: install cygwin on your windows machine, making sure to
  install whatever X server is included with it.
 [snip]

 I don't believe that this is the answer. Cygwin allows the windows machine to
 have a unix-api and for it to run unix programs. It does not do what cxoffice
 does for linux machines.

It doesn't do what cxoffice does, but it does what the original poster asked -
i.e. to be able to login remotely to a linux machine from Windows and run
a graphics interface on the Linux which displays its windows on the
Windows machine.

In case you are not up to date with it (which I suspect from your definition of
Gygwin as a simple unix-api) then it also includes a full port of the core
XFree86 to Windows.

Cheers,

--Amos
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


RE: [SLUG] Xserver/Xclient

2005-10-25 Thread Roger Barnes
 
 It doesn't do what cxoffice does, but it does what the 
 original poster asked - i.e. to be able to login remotely to 
 a linux machine from Windows and run a graphics interface on 
 the Linux which displays its windows on the Windows machine.
 
 In case you are not up to date with it (which I suspect from 
 your definition of Gygwin as a simple unix-api) then it 
 also includes a full port of the core
 XFree86 to Windows.

Cygwin has X.org now, and gtk, and gnome, and subversion, and rpm, and ... :)

I can vouch that remote X works, I've run a cygwin X.org server displaying 
applications running on my linux box over ssh.  Vnc might work better for you 
though, especially over slow connections with display intensive applications.

- Rog
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Xserver/Xclient

2005-10-25 Thread Peter Hardy
On Wed, Oct 26, 2005 at 12:36:20AM +1000, Phil Scarratt wrote:
 Phill wrote:
 I'm told that one of the big pros of the X server/client is that the
 server and the client can be on separate machines ( I  guess like a remote
 desktop). How can I use my windows machine to run applications on the
 linux machine. Currently I'm just using a vnc setup.
 
 
 Phill
 
 
 
 Short answer: install cygwin on your windows machine, making sure to 
 install whatever X server is included with it.

Slightly longer answer:
Have a look at the Cygwin/X project at http://x.cygwin.com/ . The
downloading section has a very quick guide to installing the cygwin
components for running an X server. Just select the xorg-x11-base
package and it will resolve any dependencies for you automatically.

While you're installing cygwin components, I'd strongly suggest
installing openssh as well. Even if you already have putty or something
else, having access to a commandline ssh client from within cygwin makes
forwarding X connections a lot simpler.

cygwin will have installed a batch file, startxwin.bat, for launching
the X server. Start it up, and it should launch an xterm window. From
there you can ssh to your linux machine (make sure you use the -Y option
for X11 forwarding) and run your applications.

There's a lot more detail in the Cygwin/X user's guide at
http://x.cygwin.com/docs/ug/ .

 Other info which may or may not be useful:
 in terms of X servers, the terms server/client are probably inverted to 
 natural thought (maybe its just me though).

For what it's worth, I wrapped my head around this one by reasoning that
the X server arbitrates access to input and output hardware and serves
it up to the applications that want to get keyboard input or display
stuff on a screen.

It does feel back-to-front, but only until you realise that a server
doesn't necessarily have to be serving resources directly to a human.

Hope that helps.
-- 
Pete
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Xserver/Xclient

2005-10-25 Thread Peter Hardy
On Wed, Oct 26, 2005 at 12:56:50PM +1000, Amos Shapira wrote:
 In case you are not up to date with it (which I suspect from your definition 
 of
 Gygwin as a simple unix-api) then it also includes a full port of the core
 XFree86 to Windows.

Minor point of order: it's even more up to date than you think; they've
moved from XFree86 to X.org. :-)

It's pretty neat, too. Rootless and all.

-- 
Pete
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Xserver/Xclient

2005-10-25 Thread Amos Shapira
On 10/26/05, Peter Hardy [EMAIL PROTECTED] wrote:
 On Wed, Oct 26, 2005 at 12:56:50PM +1000, Amos Shapira wrote:
  In case you are not up to date with it (which I suspect from your 
  definition of
  Gygwin as a simple unix-api) then it also includes a full port of the core
  XFree86 to Windows.

 Minor point of order: it's even more up to date than you think; they've
 moved from XFree86 to X.org. :-)

 It's pretty neat, too. Rootless and all.

Gladly I do not depend on Windows to access Linux so I admit to have
an outdated info on this.

Thanks to both corrections given over the list.

Cheers,

--Amos
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html