Minimal Debian - Auto login & startx - Because I can.

After installing openbox and xorg you need every time login and startx manually, lets change that:
sudo nano /etc/inittab

Then find line looking something like this:
1:2345:respawn:/sbin/getty 38400 tty1

Comment out it and add this bellow it, change USERNAME_HERE with your username and save:
1:2345:respawn:/bin/login -f USERNAME_HERE tty1 /dev/tty1 2>&1

After that lets get to the auto startx part
sudo nano /etc/rc.local

to the bottom after exit 0, add this:
su -l USERNAME_HERE -c startx

This runs startx automatically after that username logins and because you login automatically this should just works like magic but it does not, well at least not yet now lets fix that:
sudo nano /etc/X11/Xwrapper.config

So because xorg needs permissions to run you need change last line "allowed_users" to anybody like this:

Reboot and look how everything just work.
16.12.2014, 14:50 By Mindi 0 Comments

Minimal Debian - Openbox - Because full distros are too mainstream

After you have some basics for your system lets get openbox and some software for it:
sudo apt-get install xorg openbox lxappearance obmenu pcmanfm nitrogen

Here is what those softwares do:

X window system, base of the graphical system.

Minimal graphical window manager.

With this you can change look for your windows.

With this you can change right click menu.

Little bit heavier file manager but I like this.

With this you can change Wallpaper.

You can just install openbox and xorg for very minimal graphical system and test yourself what is best for you.

16.12.2014, 14:00 By Mindi 0 Comments

Minimal debian - Grub - Every second counts

Default waiting time is 5sec for grub, you can change it:
sudo nano /etc/default/grub

Edit this line example to 1:

Then save CTRL + X and Y.
16.12.2014, 13:19 By Mindi 0 Comments

Minimal Debian - Sudo - Su doesn't do

Lets get sudo up and running.
First thing to do if you are not login with root simple:

Install sudo:
apt-get install sudo

Add your user to sudoers

And there is line:

Copy that to next line and change name to yours like this:


Save sudoers with CTRL + X and Y.
16.12.2014, 13:00 By Mindi 0 Comments

Minimal Debian - Wlan - Give me some wlan right now!

After installing minimal debian system, you can get wlan up with this:

Lets su because there is no sudo installed.

Then lets edit network settings
nano /etc/network/interfaces

Now comment out lines or delete them and add these lines with your passworld and ssid:
auto wlan0

iface wlan0 inet dhcp

wpa-ssid SSID_HERE


Ctrl+x and Y to save, then Restart network and everything should be fine.
/etc/init.d/networking restart

16.12.2014, 11:00 By Mindi 0 Comments