[expert] Running X across a network?

2003-10-19 Thread Rob Blomquist
I finally built up a server box that can support X windows, and I have 
installed Gnome as the interface.

In order to configure the server, I would like to run X across my LAN so that 
graphical tools were available. 

What is a good way to do this? Can I run X across SSH? Is there a good VPN 
client that I can use?

Rob
-- 

Linux: For the people, by the people.


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Running X across a network?

2003-10-19 Thread Kwan Lowe

 I finally built up a server box that can support X windows, and I have
 installed Gnome as the interface.

 In order to configure the server, I would like to run X across my LAN so
 that
 graphical tools were available.

 What is a good way to do this? Can I run X across SSH? Is there a good VPN
 client that I can use?


Several options:
1. Run VNC server on the server and connect with VNC client. Upside -- you
get a full GUI and window manager. Downside -- more load on the server.

  a. Install VNC server on server
  b. Run vnc-server on remote
  c. Install VNC client on local machine
  d. From client, vncviewer w.x.y.z:port

2. Run X over SSH. ssh into the server and run the client X11 application.
  a. ssh -X w.x.y.z
  b. On remote, launch X11 application.

3. Export your display to the local box. Upside -- no setup. Downside --
not very secure except when using xauth, little auth required, not
compressed.
  a. On local machine, xhost + w.x.y.z
  b. on remote, export DISPLAY=a.b.c.d:0
  c. Run X11 client application on server
-- 
The Digital Hermit  Unix and Linux Solutions
http://www.digitalhermit.com
[EMAIL PROTECTED]

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Running X across a network?

2003-10-19 Thread H.J.Bathoorn
On Sunday 19 October 2003 23:05, Kwan Lowe wrote:
 2. Run X over SSH. ssh into the server and run the client X11 application.
   a. ssh -X w.x.y.z
   b. On remote, launch X11 application.

Even easier: On Mandrake -X is applied by default (or alias)...you actually 
have to use option -x to disable it, if you don't want it;)

Good luck,
HarM
-- 
Registered Linux User #197998
FSF Associate Member #901
ICQ #146191606
Mandrake HowTo's  more: http://twiki.mdklinuxfaq.org



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Running X across a network?

2003-10-19 Thread J.P. Pasnak

Kwan Lowe said:


 I finally built up a server box that can support X windows, and I have
 installed Gnome as the interface.

 In order to configure the server, I would like to run X across my LAN so
 that
 graphical tools were available.

 What is a good way to do this? Can I run X across SSH? Is there a good
 VPN
 client that I can use?


 2. Run X over SSH. ssh into the server and run the client X11 application.
   a. ssh -X w.x.y.z
   b. On remote, launch X11 application.

Even quicker is:

$ ssh [EMAIL PROTECTED] appname

ie:

$ ssh [EMAIL PROTECTED] drakconf

The username is only required if you have a different username on the
remote box.  Works even slicker if you are using ssh keys.


-- 
Live fast, die young,
You're sucking up my bandwidth.

J.P. Pasnak, CD
CCNA
http://www.warpedsystems.sk.ca

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Running X across a network?

2003-10-19 Thread James Sparenberg
On Sun, 2003-10-19 at 13:06, Rob Blomquist wrote:
 I finally built up a server box that can support X windows, and I have 
 installed Gnome as the interface.
 
 In order to configure the server, I would like to run X across my LAN so that 
 graphical tools were available. 
 
 What is a good way to do this? Can I run X across SSH? Is there a good VPN 
 client that I can use?
 
 Rob

In answer to your questions. 

Yes on SSH ... just check your config files in /etc/ssh  and make sure
forward X11 is set to yes. (should be by default.)  To verify ssh to the
box and type xclock.  If the clock pops up your working.  (note this
won't work coming from a winders box.) 

As for VPN.  You don't need one on a LAN, since your are already on the
LAN.  the rpms for tightvnc are in the distro just run server on one
box.  client on the other and go.  It's really that easy.  

James



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Running X across a network?

2003-10-19 Thread Jack Coates
On Sun, 2003-10-19 at 13:06, Rob Blomquist wrote:
 I finally built up a server box that can support X windows, and I have 
 installed Gnome as the interface.
 
 In order to configure the server, I would like to run X across my LAN so that 
 graphical tools were available. 
 
 What is a good way to do this? Can I run X across SSH? Is there a good VPN 
 client that I can use?
 
 Rob

do you want to export single apps or the whole desktop? Yes to SSH or
VPN, but you may not need either on your LAN.

http://www.monkeynoodle.org/comp/remote-x-cygwin-howto
-- 
Jack Coates
Monkeynoodle: A Scientific Venture...


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Running X across a network?

2003-10-19 Thread Rob Blomquist
On Sunday 19 October 2003 hh:52, James Sparenberg wrote:

 Yes on SSH ... just check your config files in /etc/ssh  and make sure
 forward X11 is set to yes. (should be by default.)  To verify ssh to the
 box and type xclock.  If the clock pops up your working.  (note this
 won't work coming from a winders box.)

Thanks for helping me with this slick trick. I have been using ssh since it 
became default a couple of years ago, and I never would have guessed it was 
this easy.

And thanks to the rest of you guys. I love this list.

Rob

-- 

Linux: For the people, by the people.


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Running X across a network?

2003-10-19 Thread Kwan Lowe


 Even quicker is:

 $ ssh [EMAIL PROTECTED] appname

 ie:

 $ ssh [EMAIL PROTECTED] drakconf

 The username is only required if you have a different username on the
 remote box.  Works even slicker if you are using ssh keys.


If you're not launching from an xterm and you're not using keys, you can
have the gnome-askpass utility pop up by setting SSH_ASKPASS to the
location of the ask pass utility. E.g., in your .bash_profile:

SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
export SSH_ASKPASS

This is handy for using Gnome or KDE's 'Run Command' utility.


-- 
The Digital Hermit  Unix and Linux Solutions
http://www.digitalhermit.com
[EMAIL PROTECTED]

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com