[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Using ssh to run a program on a remote computer



On Mon, 26 Jan 2004 09:30:15 -0500
Rick Bilonick <rab nauticom net> wrote:

> I need to start camstream from an ssh session on my computer at work. 
> This allows me to change the settings through its X11 gui. (This is
> not entirely convenient because it is very slow over a dial up line,
> but it works - just barely.) The problem is, I want to then restart
> camstream on the remote computer (at home) but have the display show
> up on the remote computer (at home, not the computer at work I'm
> connecting from). I tried running
> 
>  > ssh -x -l me xx.xx.xx.xx

That should be ssh -X -l me xx.xx.xx.xx, with a capital X.   And
depending on what X client you are using to do this, you may need to run
xhost xx.xx.xx.xx first on the system where you want to display X.

> 
> but I get an error. Here is what happens if I try to run xclock using 
> "ssh -x ...":
> 
> Last login: Mon Jan 26 08:58:49 2004 from 
> 111 pentel1 pentel dialup nauticom net[chippy tangent chippy]$ xclock
> &[1] 16117
> [chippy tangent chippy]$ Error: Can't open display:
>                                                                     
           
> 
> [1]+  Exit 1                  xclock
> 

-- 
Guy Rouillier




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]