Re: Running a remote graphic program

2006-01-30 Thread Alejandro Salas
Hi... thanx everyone for all your input. It's been
very helpful. Forgive me for my newbie question.

Thanx again.

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


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



Re: Running a remote graphic program

2006-01-28 Thread Anthony Campbell
On 27 Jan 2006, Yani Copas wrote:
 
 
 Alejandro Salas wrote:
 Hi everyone..
 
 Can someone tell me or point me in the right direction
 of what I have to do in order to run a remote program
 with graphics?. I have ssh access and everything, I
 suppose it has something to do with the DISPLAY
 variable, but I'm not sure of exactly what to do.
 
 
 As long as the server you're connecting to has this set in it's
 /etc/ssh/sshd_config file:
 
 X11Forwarding yes
 
 then simply sshing in with -X should work just fine
 
 Yani
 

I got it working by turning off DISPLAY altogether. This doesn't seem to
cause any problems.

Anthony

-- 
Anthony Campbell - [EMAIL PROTECTED] 
Microsoft-free zone - Using Linux Gnu-Debian
http://www.acampbell.org.uk (blog, book reviews, 
on-line books and sceptical articles)


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



Re: Running a remote graphic program - correction

2006-01-28 Thread Anthony Campbell
On 28 Jan 2006, Anthony Campbell wrote:
 On 27 Jan 2006, Yani Copas wrote:
  
  
  Alejandro Salas wrote:
  Hi everyone..
  
  Can someone tell me or point me in the right direction
  of what I have to do in order to run a remote program
  with graphics?. I have ssh access and everything, I
  suppose it has something to do with the DISPLAY
  variable, but I'm not sure of exactly what to do.
  
  
  As long as the server you're connecting to has this set in it's
  /etc/ssh/sshd_config file:
  
  X11Forwarding yes
  
  then simply sshing in with -X should work just fine
  
  Yani
  
 
 I got it working by turning off DISPLAY altogether. This doesn't seem to
 cause any problems.
 

Actually, this worked initially but now doesn't seem to. I'm currently
looking into xvnc4viewer.

Anthony

-- 
Anthony Campbell - [EMAIL PROTECTED] 
Microsoft-free zone - Using Linux Gnu-Debian
http://www.acampbell.org.uk (blog, book reviews, 
on-line books and sceptical articles)


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



Re: Running a remote graphic program

2006-01-28 Thread David Kirchner
On 1/27/06, Matt Zagrabelny [EMAIL PROTECTED] wrote:
 *) instead tunnel everything through ssh
i turn that on by default for my ssh server:

$ grep X11Forwarding /etc/ssh/sshd_config
X11Forwarding yes
(restart the server for this to take affect,
 /etc/init.d/ssh restart)

and for the client:

$ grep ForwardX11 /etc/ssh/ssh_config
ForwardX11 yes
ForwardX11Trusted yes

 *) or use xauth

I haven't tried ForwardX11Trusted yet, but I have noticed that you
need xauth installed on the remote server for ForwardX11 to work. That
was a real tricky problem to track down.



Running a remote graphic program

2006-01-27 Thread Alejandro Salas
Hi everyone..

Can someone tell me or point me in the right direction
of what I have to do in order to run a remote program
with graphics?. I have ssh access and everything, I
suppose it has something to do with the DISPLAY
variable, but I'm not sure of exactly what to do.

Thanx in advance

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


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



Re: Running a remote graphic program

2006-01-27 Thread Matt Zagrabelny
On Fri, 2006-01-27 at 10:21 -0800, Alejandro Salas wrote:
 Hi everyone..
 
 Can someone tell me or point me in the right direction
 of what I have to do in order to run a remote program
 with graphics?. I have ssh access and everything, I
 suppose it has something to do with the DISPLAY
 variable, but I'm not sure of exactly what to do.

well, do some googling (x remote program) to start off with. not to be
rude, but this is very standard stuff and there are hundreds of howtos
out there. that being said, heres what you want to be aware of:

*) the old way of authorizing xclients to connect to an xserver was via
xhost. dont use that method, its very insecure.

*) instead tunnel everything through ssh
   i turn that on by default for my ssh server:

   $ grep X11Forwarding /etc/ssh/sshd_config
   X11Forwarding yes
   (restart the server for this to take affect,
/etc/init.d/ssh restart)

   and for the client:

   $ grep ForwardX11 /etc/ssh/ssh_config
   ForwardX11 yes
   ForwardX11Trusted yes

*) or use xauth

-matt zagrabelny


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



Re: Running a remote graphic program

2006-01-27 Thread Florian Kulzer

Alejandro Salas wrote:

Hi everyone..

Can someone tell me or point me in the right direction
of what I have to do in order to run a remote program
with graphics?. I have ssh access and everything, I
suppose it has something to do with the DISPLAY
variable, but I'm not sure of exactly what to do.

Thanx in advance


http://www.debian.org/doc/manuals/reference/ch-tune.en.html#s-xssh


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




Re: Running a remote graphic program

2006-01-27 Thread Andreas Janssen
Hello

Alejandro Salas ([EMAIL PROTECTED]) wrote:

 Can someone tell me or point me in the right direction
 of what I have to do in order to run a remote program
 with graphics?. I have ssh access and everything, I
 suppose it has something to do with the DISPLAY
 variable, but I'm not sure of exactly what to do.

You need:

- a runnig x server on the ssh client
- xbase-clients installed on the ssh server
- X forwarding activated on the ssh server (man sshd_config)
- X forwarding not disabled on the ssh client (man ssh_config, ssh -X)

best regards
Andreas Janssen

-- 
Andreas Janssen [EMAIL PROTECTED]
PGP-Key-ID: 0xDC801674 ICQ #17079270
Registered Linux User #267976
http://www.andreas-janssen.de/debian-tipps-sarge.html


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



Re: Running a remote graphic program

2006-01-27 Thread Yani Copas



Alejandro Salas wrote:

Hi everyone..

Can someone tell me or point me in the right direction
of what I have to do in order to run a remote program
with graphics?. I have ssh access and everything, I
suppose it has something to do with the DISPLAY
variable, but I'm not sure of exactly what to do.



As long as the server you're connecting to has this set in it's
/etc/ssh/sshd_config file:

X11Forwarding yes

then simply sshing in with -X should work just fine

Yani


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




Re: Running a remote graphic program

2006-01-27 Thread Digby Tarvin
The simplest solution is if your client and server are both on
a trusted LAN (isolated or behind a firewall) such as my system
here where I am using a NCD X-Terminal to talk to my PCs. In this
case, you just set the DISPLAY environment variable
to the address of the display with something like
export DISPLAY=my.host.name:0
You may need to grant access to the server if any form of
server access control is active. Usually 'xhost +' executed
from a session that already has access will disable the 
access control for all clients.

If, on the other hand, the client and server are separated
by an un-trusted network, and/or the X-Server is behind
a NAT router (for example you are running an X app on
a remote host accessed via the internet, and your PC is
connected via a router connected to an internal lan, then
it is a bit more complex but you need to read up on
X tunneling through ssh.

Regards,
DigbyT

On Fri, Jan 27, 2006 at 10:21:58AM -0800, Alejandro Salas wrote:
 Hi everyone..
 
 Can someone tell me or point me in the right direction
 of what I have to do in order to run a remote program
 with graphics?. I have ssh access and everything, I
 suppose it has something to do with the DISPLAY
 variable, but I'm not sure of exactly what to do.
 
 Thanx in advance
-- 
Digby R. S. Tarvin  digbyt(at)digbyt.com
http://www.digbyt.com


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