SSH Virtual Terminals

Les Mikesell lesmikesell at gmail.com
Mon Oct 3 16:58:04 UTC 2005


On Mon, 2005-10-03 at 11:33, James Thorpe wrote:
> >   
> > > Quick question - is it possible to get access to the same virtual 
> > > terminals through ssh as you would normally have access to using 
> > > ctrl-alt-fx on the machine itself?
> > >     
> > Not exactly, but if you just want more sessions you can make another
> > ssh connection - for example, from multiple xterm windows on the
> > local side.
> Yeah I understand that - the reason I'm asking is we have a dev box
> from another company on our site, and they have it set up to be
> running some software on other terminals at startup - but we need the
> box next to us in order to access them - I was wondering if we could
> get to it remotely.

I think there is a way to interact with the VT's but if you can
have the setup changed it is easier to do with screen as someone
else suggested.  If X is a possibility, it is even nicer to run
things in multiple xterms on the console and activate the X vnc
server for the console so you can grab it remotely and everything
works the way you expect.
Add:
        Load    "vnc"
to the 'Module' section of /etc/X11/xorg.conf
and 
        Option "passwordFile" "/root/.vnc/passwd
to the "Sceen" section. (Make that the home of the user that will be
logged in if it isn't root).
Then log out or restart X.
The easy way to set up the password is to run "vncserver" once
and answer the prompts, then vncserver -kill :1 (or whatever session
it started).

I keep my own desktop at work running this way so I can check remotely
on long-running commands.

--
  Les Mikesell
    lesmikesell at gmail.com





More information about the fedora-list mailing list