Tag Archives: screen

HOWTO start a detached process in screen on boot

Using a key to gouge expletives on another's vehicle is a sign of trust... and friendship.

Using a key to gouge expletives on another's vehicle is a sign of trust... and friendship.

Ok, a quick one today – at work I had the problem of needing a process to be automatically started during boot, and have it running in the background, but it didn’t have its own init.d script. I knew there was a way I could use GNU Screen (one of my favorite ‘must have’ sys admin tools) to do this, but it took me some time searching to find the right syntax to translate for my needs, so I’m posting it here.

HOWTO: automatically reconfigure Xorg in Debian

Xorg logoIf you’re like me, you’ve messed up your xorg.conf before and wanted to start over with the default that you know dpkg-reconfigure can set it to.  Because of this I’m posting here because I’ve needed it multiple times in the past and have tired of looking it up!  To automatically reconfigure Xorg in Debian or Ubuntu issue the following:

sudo dpkg-reconfigure -phigh xserver-xorg

Then logout/login or restart X via contrl-alt-backspace.  As one who tweaks things a bit more than he should, this has saved me a few times now. Props go to a poster on this page.