Posts Tagged ‘screen’

Suddenly the Dungeon collapses!! – You die…

By Mark Davidson on May 16th, 2010

So I came into work the other day and one of the SSH sessions I had left open with a screen session had an interesting error.

Suddenly the Dungeon collapses!! - You die...

Now that is one of the weirdest errors I have ever seen come out of any program on any platform. Apparently the error is a throw back to the game nethack which is kind of cool.

My screen session seems to have died with some memory issue which is something I have never seen happen before

May 14 04:44:42 chronos view: *** glibc detected *** view: double free or corruption (!prev): 0x0000000000936d50 ***
May 14 04:44:21 chronos kernel: [4894494.908208] screen.real[3934]: segfault at 7fffaa1d6a10 rip 4055ee rsp 7fffaa1d6a10 error 6

Just a post to note what this error is related to and that if it happens to you just check your syslog most likely a similar error will show up.

Screen – Like Ubuntu on any Linux distro

By Mark Davidson on February 6th, 2010

Just a real quick post about screen if you’ve ever used Ubuntu screen you might find its a bit nicer than the standard screen you find on other Linux distros. There is a brief intro here Ubuntu brings advanced Screen features to the masses, now if you’ve ever wondered how to get the same sort of setup on distros such as Debian and Gentoo here is the very simple process.

  1. Login to your server and change into you home directory.
  2. wget
  3. tar -xzvf byobu.tar.gz (be warned this will overwrite your current .screenrc)
  4. Thats it fire up screen and you should be up and running.

Its worth noting that you can tweak what different status updates appear at the bottom of the screen session by modifiying ~/.byobu/status its just a case of uncommenting or commenting out the ones you want to use, then restarting the screen session for the changes to take affect. Gentoo in particular seemed to work well and supported almost all the options.