A Project Blog

Control Multiple Terminals Simultaneously

by @ September 21, 2006. Filed under howto

A small part of my job requires keeping eight Ubuntu desktops updated. While it’s easy to add the commands to update them to cron, I’d rather watch the updates occur in front of me in case something goes wrong. That’s where Keyboardcast comes in. Keyboardcast will take over or open as many Gnome Terminals as you’d like, and lets you enter text into all of them at once. It will also take over other windows, which may be useful for something, perhaps as keeping a log of all the commands you’ve entered in a text editor.

The benefit of using Keyboardcast is that it is quick to connect to multiple machines. It’s included in the Ubuntu Universe repository, and after a “sudo apt-get install keyboardcast”, anyone can control a group of computers easily. Here are the steps:

  1. Start Keyboardcast

keyboardcast.png

  1. Click Spawn and enter the command and arguments to use. Normally just changing the arguments to the correct hostnames is all that is needed to get started. More arguments, such as different users at different computers can be added. Although if you’re using SSH with different users, you’ll want to use passwordless logins to skip entering different password.

options.png

  1. After clicking OK terminals will open. Click where it says “type here…” in the small Keyboardcast window and start typing. Typing will show up in each terminal letter by letter.

terms.png
Having multiple terminals visible all the the same time makes watching for errors easy. If there is an error, it will on be the term which looks different. By setting up a new profile in Gnome Terminal called “keyboardcast”, you can change the window and font size of the terminals which are automatically opened by Keyboardcast.

Other Options for Controlling Multiple Terminals

Cluster SSH (cssh)

Cluster SSH came out before Keyboardcast and works in a very similar manner. There is a small window to enter text, and it uses multiple xterms by default instead of Gnome Terminals. Multiple computers can be scripted to open at the command line.

Konsole

Konsole is the default terminal for KDE and allows sending text to multiple tabs at once. Once open, hit View, then “send input to all sessions”. To see results, you’ll need to switch between tabs.

multi-gnome-terminal

MGT allows connecting multiple tabs together with tabs similarly to Konsole. Hit File, then “All bonded”.

Tentakel

Tentakel is unique from the other options because it has the ability to display data from multiple hosts all in the same terminal window. It makes a good solution if X is not available.

More:

pconsole 

11 Responses to “Control Multiple Terminals Simultaneously”

  1. How To Project - Final Submissions Says:

    [...] Control Multiple Terminals Simultaneously by Nick [...]

  2. Anonymous coward Says:

    Another one is “multixterm” http://expect.nist.gov/example/multixterm.man.html
    Source code: http://expect.nist.gov/example/multixterm

  3. Working at Home on the Internet Says:

    [...] 74. Control Multiple Terminals Simultaneously by Nick [...]

  4. Change your thoughts » Blog Archive » How to posts - loads of them Says:

    [...] Control Multiple Terminals Simultaneously by Nick [...]

  5. Questallia » Problogger’s ‘How to’ Group Writing Project List Says:

    [...] Control Multiple Terminals Simultaneously by Nick [...]

  6. Mark Choon » The Biggest, really humongous, ‘How To’ list ever assembled in 4 days! Says:

    [...] Control Multiple Terminals Simultaneously by Nick [...]

  7. MamaDuck Says:

    Oh, that is very cool indeed. Our how-to is up as well if you’d like to check it out!!

  8. Ask blushgirl - Romance Advice, Tips and Dating Site Reviews » Blog Archive » Day 4 How-To Articles - Final Says:

    [...] Control Multiple Terminals Simultaneously by Nick [...]

  9. Chewing Pencils: Helping you make money from drawing cartoons! Says:

    [...] Control Multiple Terminals Simultaneously by Nick [...]

  10. Kristonia Ink! » Full List of ProBlogger How To Contest Submissions Says:

    [...] Control Multiple Terminals Simultaneously by Nick [...]

  11. Cell Phone Know How » 343 How To Posts Says:

    [...] Control Multiple Terminals Simultaneously by Nick [...]

Leave a Reply

Copyright ©2005-2007 Nicholas Brand. All rights reserved.
powered by WordPress.

categories:

links:

blogroll:

search:

archives:

September 2006
M T W T F S S
« Aug   Oct »
 123
45678910
11121314151617
18192021222324
252627282930  

other:

computers:

  • mini
  • closetbox (server)
  • backupbox
  • netbook
  • htpc
  • shuttle
  • icebox (desktop)
  • thinkpad
  • other devices:

  • tivohd
  • nokia 770
  • personal:

    Last.FM
    del.icio.us
    Twitter
    Amazon Wishlist
    Digg

    26 queries. 0.135 seconds