8

The Amazon AMI images have a default information panel at the bottom of the terminal window. I would like to remove this (it disables me from being able to scroll backwards in putty).

It looks like this at the bottom of my terminal window:

0*$ sh  [email protected] 100.10.100.10 ...
 U  Ubuntu oneiric            1# 3d20h 0.00 2.6GHz 592MB,43% 2011-09-26 18:12:05
1
  • I have never seen this before in my Ubuntu AMIs. Weird. Sep 28, 2011 at 23:40

4 Answers 4

6

Unfortunately, the 11.10 AMIs automatically run the screen command on ssh from a terminal using a package named byobu which uses up the bottom two lines with colorful line noise.

You can disable this on a given instance by typing the command:

byobu-disable

which will log you out. The next ssh will work fine.

Note: This post includes statements that express my personal opinions. Other people have different opinions.

5
  • Can you tell me more about what you mean by "pre-release"? What "production" release should I be using? I had just assumed that the AMIs posted on the cloud.ubuntu.com site were production ready. Sep 27, 2011 at 3:40
  • Oneiric will be released next month. Right now for production you might want to use Natty or Lucid (LTS). Sep 27, 2011 at 8:31
  • Eric, there hasn't been much public disagreement with the byobu by default policy. It would be best to bring it up on the ubuntu-devel-discuss or ubuntu-server mailing lists, as there is still time to change it, but as of now, no reason has been given to the Ubuntu developers to change it.
    – SpamapS
    Sep 27, 2011 at 15:12
  • 2
    I'm in support of Eric's comments, as a simple user, it makes me me feel like this is not a vanilla OS and makes me concerned (and sure annoys me to have to go fix it to even do multiple terminal windows). Sep 27, 2011 at 16:33
  • 2
    SpamapS: I publicly disagreed with the byobu policy when it was proposed for a couple releases, but when it became clear that it was going to be repeatedly attempted to be included in every new release, I gave up. I expect to see a strong backlash against the policy when it goes public which should make the point better than I have been able to, and if the public loves the new policy then I was fighting for the wrong usability principles. Sep 28, 2011 at 7:16
3

When you launch an instance in EC2 you have the option of supplying "user data" which is available to the instance at first boot (and later.) Ubuntu consumes the user data with a program called cloud-init, which is incredibly powerful.

You can disable byobu using the user-friendly cloud-config feature of cloud-init.

To disable byobu all you have to do is supply this two-line user data:

#cloud-config
byobu_by_default: disable

Full details about cloud-init here: https://help.ubuntu.com/community/CloudInit

Cloud-config syntax, including all the other amazing things you can do with it, here: http://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/view/head:/doc/examples/cloud-config.txt

2

If scrolling is what you're looking for in Byobu, use the key combinations:

Alt-PgUp

and

Alt-PgDn

1

Just use sudo apt-get remove screen

done!

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .