[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

swapping vts remotely



You could try chvt followed by the number of the console you want --
you have to be root to do this, however.

on Tuesday 02/15/2005 Blake Swadling(bswadling@newton.com.au) wrote
 > hi folks
 > 
 > Consider the following scenario ...
 > 
 > 2 X11 sessions running on a machine in the other room. One of the X
 > sessions is killed remotely (killall gnome-session). the display in the
 > other room drops to the console.
 > 
 > Is there any way to switch from the console to the other X session over
 > an ssh connection without physically walking in there and hitting
 > ctrl-alt-f7
 > 
 > Cheers
 > Blake
 > 
 > -- 
 > Blake Swadling
 > Senior Software Engineer
 > Newton Pty Ltd
 > 
 > Telephone:      +61 2 6247 3544
 > Fax:            +61 2 6247 3533
 > Mobile:         +61 407 026277
 > Web:            http://www.newton.com.au
 > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
 > <HTML>
 > <HEAD>
 >   <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
 >   <META NAME="GENERATOR" CONTENT="GtkHTML/3.2.4">
 > </HEAD>
 > <BODY>
 > hi folks<BR>
 > <BR>
 > Consider the following scenario ...<BR>
 > <BR>
 > 2 X11 sessions running on a machine in the other room. One of the X sessions is killed remotely (killall gnome-session). the display in the other room drops to the console.<BR>
 > <BR>
 > Is there any way to switch from the console to the other X session over an ssh connection without physically walking in there and hitting ctrl-alt-f7<BR>
 > <BR>
 > Cheers<BR>
 > Blake<BR>
 > <BR>
 > <TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
 > <TR>
 > <TD>
 > <PRE>
 > -- 
 > Blake Swadling
 > Senior Software Engineer
 > Newton Pty Ltd
 > 
 > Telephone:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;+61 2 6247 3544
 > Fax:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;+61 2 6247 3533
 > Mobile:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;+61 407 026277
 > Web:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<A HREF="http://www.newton.com.au";>http://www.newton.com.au</A>
 > </PRE>
 > </TD>
 > </TR>
 > </TABLE>
 > </BODY>
 > </HTML>

-- 
Your life is like a penny -- how are you going to spend it?

         John Covici
         covici@ccs.covici.com



Reply to: