Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 10-31-2003, 03:16 AM   #1
LQ Newbie
Registered: Sep 2003
Posts: 19

Rep: Reputation: 0
Attaching to TTY

Hey All,

I'm not entirely sure if this is possible, but hopefully someone can tell me other than not finding anything on google!

Anyhoo.. here's what's going on.

I have a debian(woody) install.. a very base install. No X, and i don't want X on the machine. I am running 6 Virtual Machines using user mode linux, each attached to a different tty(using the CTL+ALT+F1-6 methods). This way i can have them all running separately and can mess with them on the local machine by hitting ctl+alt+fwhatever.

Now.. the problem. I want to shut-down all these VM's.. say at midnight every-day, so i can back them up. This parts the easy(ish)part. Then i want to re-start all the VM's in their original tty's, all at once.

Basically, i want this to start how i have it now, shutdown everything, and re-start back to the way it was. I can't see immediately how to do this.. i tried doing a > /dev/tty#, but this keeps the current terminal stuck there until the vm is shutdown and releases the terminal, Which means a script would also get stuck. Is there a way aroung that?

Old 10-31-2003, 04:27 AM   #2
Registered: Oct 2003
Location: Long Island, N.Y., U.S.A
Distribution: Gentoo, Slackware
Posts: 79

Rep: Reputation: 15
try: man openvt.
Old 10-31-2003, 06:37 AM   #3
LQ Newbie
Registered: Sep 2003
Posts: 19

Original Poster
Rep: Reputation: 0
well that was a lot easier than i expected!

Thanks! it works perfek!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Attaching a monitor NickRu322 Linux - Laptop and Netbook 1 02-09-2005 03:32 PM
attaching more than one keyboard Aljaber Linux - Hardware 5 11-01-2004 11:15 AM
Attaching new nic twantrd Solaris / OpenSolaris 2 08-14-2004 01:26 PM
change tty => system crashes (ati driver/tty resolution) mosca Debian 6 08-05-2004 07:37 AM
email attaching problem jamaso Linux - General 6 03-28-2002 06:42 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:33 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration