[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ossig] Using ssh to run a program locally ?
On Fri, 26 Dec 2003 20:57:20 +0800, "Colin Charles" <byte@aeon.com.my>
said:
> ssh kiosk
> screen
> mpg123 mysong.mp3
But how do you then get the app output to the kiosk CRT?
Try writing a little script (su - kioskuser) that logs in kioskuser on
virtual console 1 and putting that in the inittab so it respawns. That
user runs ``screen'' in its .bashrc or .profile or wherever, but it'll
output on vc1 since that's where he's logged in. Then ssh as above.
If you're running something that's not curses-aware, you can simply use
/dev/console to watch the lines scroll by; I don't remember quite how to
set it up but it used to be standard to see /dev/console on vc8.
HTH
--
~ You are in a maze of twisty passages, all alike.
Christopher DeMarco
cdemarco@fastmail.fm
+6013 389 5658
---------------------------------------------------------
To unsubscribe: send mail to ossig-request@mncc.com.my
with "unsubscribe ossig" in the body of the message