Re: Connecting to X remotely w/ssh

2002-09-19 Thread Josep Llauradó Selvas


The only way to run applications over ssh IMHO is using the application
remotely, but NOT start the X server with startx.

You can make an ssh with X forwarding active adding a -X to the command
line (if your SSHD server allow X11Forwarding, that under Debian is
deactivated by default). You can check the /etc/ssh/sshd_config to
activate it.

Once in the remote host you can launch any X11 app and it will be
displayed in the local X.

To start an entire encripted remote session (I don't recomend it) I
suggest you to allow the XDMCP and if you can trick with SSH create a tunnel
of the XDMCP port. You'll find in www.openssh.net all the information
about tunnelling.

I prefer the first method, because it's the fastest and you can execute any
remote app mataining the desktop local (someone that doesn't consume CPU
if you use a 'memory-controlled' desktop).

Good luck.

_
Josep Llauradó Selvas   [EMAIL PROTECTED]
  Linux Registered User #153481
The only intuitive interface is the nipple.
After that, it's all learned.
(in comp.os.linux.misc, on X interfaces.)
_


On Sun, 15 Sep 2002, Lance Hoffmeyer wrote:

 What are the steps involved in starting up an X sesstion remotely using ssh.
 I may be accessing my home computer from work and will need to run an
 X session from time to time. (Work computer really slow-Home computer really
 fast= time saver).  I can currently connect via ssh to a console screen.

 I remember reading some while back a line that needed to be added in .sshrc.
 Is this all that is needed and then just type startx?

 Lance


 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Connecting to X remotely w/ssh

2002-09-19 Thread Jamin W . Collins

On Sun, 15 Sep 2002 15:27:27 -0500 Lance Hoffmeyer [EMAIL PROTECTED]
wrote:

 What are the steps involved in starting up an X sesstion remotely using
 ssh. I may be accessing my home computer from work and will need to run
 an X session from time to time. (Work computer really slow-Home computer
 really fast= time saver).  I can currently connect via ssh to a console
 screen.

X11 Forwarding may not help much if you don't have a zippy network
connection between the two systems.  If you have a slower connection you
might want to look into tunneling a VNC connection through SSH.  If you'd
like details on this, please let me know.


-- 
Jamin W. Collins


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]