[LUNI] Linux Terminal Server
David Terrell
dbt at meat.net
Fri Apr 7 11:50:25 CDT 2006
On Fri, Apr 07, 2006 at 11:25:17AM -0500, Keith T. Garner wrote:
> So you can do something like:
> screen /dev/ttyS0 9600
>
> Hey, and then you can detach too. :)
What I've experimented with in the past was using this as a full blown
terminal server. You can run screen in a pre-detached state with a
bunch of commands like that in .screenrc:
# attach to windows
screen /dev/ttyS0 9600
screen /dev/ttyS1 9600
screen /dev/ttyS2 9600
# set up permissions
acladd dbt admin2
aclchg * +rw #
# end of file
then run "screen -L -d -m -S consoleserver" as root
and
screen -r root/consoleserver -x to attach
cool, eh? it helps to disable a bunch of keybindings like close
window, stop logging, etc, that you might be used to using but
don't want to do by accident here. It's not 100% foolproof if
you are worried about having perfect logs, but neither are the
other solutions mentioned here.
Caveat: this is from memory from about 5 years ago, so things
may have changed, including my recollection, but it does work. :)
--
David Terrell
dbt at meat.net
(( meatspace )) http://meat.net/
More information about the luni
mailing list