* [gentoo-user] program to view/control virtual terminals (ctrl-alt-f[1-6])
@ 2006-06-29 1:15 Iain Buchanan
2006-06-29 2:36 ` Richard Fish
2006-06-29 7:52 ` Etaoin Shrdlu
0 siblings, 2 replies; 3+ messages in thread
From: Iain Buchanan @ 2006-06-29 1:15 UTC (permalink / raw
To: gentoo-user
Hi all,
a short while ago I asked about a program to view and interact with the
terminals /dev/tty[1-x] that you access by pressing ctrl-alt-f1, for
example. something like vnc but for consoles.
The suggestions were screen, and showconsole. showconsole only shows
output, and doesn't let you type into it; and screen can't (?) attach to
such a virtual console.
Can anyone think of more suggestions? I'm trying to use these consoles
as if I was sitting at the machine, but really I'll be ssh-ing in from
somewhere. I could even write something in c if necessary, but my
attempts so far don't catch output or send input properly...
I'd appreciate any suggestions.
thanks,
--
Iain Buchanan <iaindb at netspace dot net dot au>
When I was little, I went into a pet shop and they asked how big I'd get.
-- Rodney Dangerfield
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] program to view/control virtual terminals (ctrl-alt-f[1-6])
2006-06-29 1:15 [gentoo-user] program to view/control virtual terminals (ctrl-alt-f[1-6]) Iain Buchanan
@ 2006-06-29 2:36 ` Richard Fish
2006-06-29 7:52 ` Etaoin Shrdlu
1 sibling, 0 replies; 3+ messages in thread
From: Richard Fish @ 2006-06-29 2:36 UTC (permalink / raw
To: gentoo-user
On 6/28/06, Iain Buchanan <iaindb@netspace.net.au> wrote:
> The suggestions were screen, and showconsole. showconsole only shows
> output, and doesn't let you type into it; and screen can't (?) attach to
> such a virtual console.
Screen can definitely attach to a virtual console. I just tried the
following in /etc/inittab:
c5:2345:respawn:/usr/bin/screen -R tty5.localhost /bin/login
>/dev/tty5 </dev/tty5 2>&1
c6:2345:respawn:/usr/bin/screen -R tty6.localhost /bin/login
>/dev/tty6 </dev/tty6 2>&1
You can then attach to either of those with
screen -D -r tty5.localhost
screen -D -r tty6.localhost
The only thing you really can't do is login as root, because screen
uses psuedo tty's which are declared unsecure by default. Unless you
want to add all pty devices to /etc/securetty...
But there is no security with this setup anyway, because on a console
all one has to do is "Ctrl-a c" to get a root shell.
Still, this should give you an idea of what you will have to do if you
are going to write your own program to manage this...
-Richard
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] program to view/control virtual terminals (ctrl-alt-f[1-6])
2006-06-29 1:15 [gentoo-user] program to view/control virtual terminals (ctrl-alt-f[1-6]) Iain Buchanan
2006-06-29 2:36 ` Richard Fish
@ 2006-06-29 7:52 ` Etaoin Shrdlu
1 sibling, 0 replies; 3+ messages in thread
From: Etaoin Shrdlu @ 2006-06-29 7:52 UTC (permalink / raw
To: gentoo-user
On Thursday 29 June 2006 03:15, Iain Buchanan wrote:
> Can anyone think of more suggestions? I'm trying to use these
> consoles as if I was sitting at the machine, but really I'll be
> ssh-ing in from somewhere. I could even write something in c if
> necessary, but my attempts so far don't catch output or send input
> properly...
>
> I'd appreciate any suggestions.
Google for ttysnoop.
HTH
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-06-29 7:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-29 1:15 [gentoo-user] program to view/control virtual terminals (ctrl-alt-f[1-6]) Iain Buchanan
2006-06-29 2:36 ` Richard Fish
2006-06-29 7:52 ` Etaoin Shrdlu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox