[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [ossig] Using ssh to run a program locally ?
> > ssh kiosk
> > screen
> > mpg123 mysong.mp3
>
> But how do you then get the app output to the kiosk CRT?
when you ssh into kiosk, your prompt will now be user@kiosk. if you just
run mpg123 mysong.mp3, it will have the output on your machine but you
won't here music.
say you run screen, then fire up xmms (or mpg123), xmms will be seen not
on your machine, but on kiosk. so if you play music, it gets pumped out
the good speakers on kiosk.
i know this because i've done it before... saves the hassle of running
vnc just to get music coming out of the really good speakers (yes, my
laptop's speakers don't do all that well).
I tried anything suggested in this thread, still without success.
christopher is right, here.
ssh kiosk
screen
ls -l
display exactly the directory of kiosk on my workstation. Which I could have
got simpler.
Maybe I'm a bit dumb, but even vnc won't work. If I vnc kiosk, the stuff is
run on vnc and the display still ends up on my_workstation.
With ssh I can artificially prevent X from showing up on my_workstation and
start X on Kiosk, yes, but my kiosk is basically console-based. So the
console output keeps flowing from kiosk to my_workstation.
I've tried it the hard way already:
ssh kiosk
./entertain > /dev/ttyC0 [yes, the kiosk runs BSD]
Works for root only (no problem) and screws up the display. From time to
time the program crashes without notification. So, no real solution.
---------------------------------------------------------
To unsubscribe: send mail to ossig-request@mncc.com.my
with "unsubscribe ossig" in the body of the message