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

Re: [ossig] Using ssh to run a program locally ?



I just tried this on my FreeBSD machine


hit CTRL-ALT-F1 to drop to text mode console login
logged in as myself
CTRL-ALT-F9 to get back to X11 and from an xterm
ls -al > /dev/ttyv0
the output of the ls was redirected to the text console and displayed 
properly ... which would be equivalent to the screen of your kiosk

so try this:

you would have to have a left yourself logged into the console of your 
kiosk
ssh into your kiosk
you will probably need to be root
redirect your program output to the console .... /dev/ttyv0 if that is 
a freebsd machine

I just tried it again without logging in..on the console...text login 
prompt on screen
the output of ls gets garbled so you probably need to use curses in 
your kiosk program

Cheers

Tze Meng

On Dec 26, 2003, at 5:46 PM, Uwe Dippel wrote:

> Currently I have no clue on how to control a kiosk through ssh:
> I can log on to my kiosk, and even make it start X.
>
> But what I want, is to rather run non-X programs on that kiosk. The 
> kiosk has no keyboard, (no mouse.)
>
> The intention is to ssh to it and run and display a program *there*. 
> With normal ssh, it runs there, but sends the display *here*. I don't 
> want the latter, of course. There is no need to see screen output 
> here.
> As long as I can 'ps' 'kill' etc. the program there, I'll be fine.
>
> Does anyone have an idea how to do that ?
>
> Uwe
>
> ---------------------------------------------------------
> To unsubscribe: send mail to ossig-request@mncc.com.my
> with "unsubscribe ossig" in the body of the message
>


---------------------------------------------------------
To unsubscribe: send mail to ossig-request@mncc.com.my
with "unsubscribe ossig" in the body of the message