Monthly Archives: April 2013

Lightweight Debian: LXDE Desktop From Scratch

In my neck of the woods the Internet doesn’t get any faster, and my six year old dual-core AMD computer still holds up nicely. I don’t like Gnome 3 and I don’t care about Ubuntu’s run everywhere there is lots of memory vision. Linux is all about choice, and I do have plenty of them.

In this series of articles – part 2 here – I’ll take a look at Debian. Debian is one of the oldest Linux distributions still in active development. It is a popular distribution for personal use among software developers. It is also the most popular Linux web server platform. Debian has a great community and the amount of software packaged far exceeds any other Linux disto out there.

As usual I’ll keep an eye on memory. I’ll start with a basic server install, I’ll add X Window followed by LXDE desktop environment. What I am after is a picture like this:

openSUSE 12.3 Desktops Memory (MB)

openSUSE 12.3 Desktops Memory (MB)

The numbers represent the memory consumed by the system immediately after it was started and the user logged in.

Continue reading

Lightweight openSUSE: LXDE Desktop From Scratch

openSUSE is a great distribution with a great community. It is well known for its excellent Gnome and KDE support. As such, it is never described as a lightweight distribution.

In the latest versions, openSUSE installation media started to offer support for lighter desktop environments, such as LXDE and XFCE. These environments have almost the same application selection as the Gnome version, under a much lighter memory footprint.

If you are looking for a lightweight distro, this is not the time to give up on openSUSE, especially if this is your favorite OS. Try the LXDE/XFCE environments, as lightness goes they are definitely in the same league with Lubuntu/Xubuntu and Fedora LXDE/XFCE Spins. You can do even better, if you build your own desktop starting from a regular server install and adding only the necessary desktop components.

In this article I will describe how to build a light LXDE desktop on the latest openSUSE 12.3 release. I will start with a server install, and I will go trough the process of adding an X Window server and LXDE desktop environment. It is not difficult, and at the very least, it is an opportunity to learn more about a Linux system.

The same way can be done with any other window manager. The result will be different, as each WM/DE has its own memory footprint.

Continue reading

Window Mangers/Desktop Environment Blog Clicks

I think it would be interesting to share with you the click-trough stats for my WM/DE memory articles, as reported by wordpress.com. This is not a poll by any stretch of the imagination.

enlightenment.org 2036
dwm.suckless.org 1557
trinitydesktop.org 1025
joewing.net/projects/jwm/ 893
lxde.org 830
mate-desktop.org 775
awesome.naquadah.org 743
i3wm.org 729
blackboxwm.sourceforge.net 613
nongnu.org/ratpoison 557
incise.org/tinywm.html 530
all-day-breakfast.com/wm2/ 516
openbox.org 474
fluxbox.org 454
cinnamon.linuxmint.com 453
unauthorised.org/dhog/9wm.html 405
icewm.org 387
razor-qt.org 385
xfce.org 311
xmonad.org 269
windowmaker.org 210
fvwm.org 210
sawfish.wikia.com/wiki/Main_Page 121
kde.org 108
xwinman.org/vtwm.php 106
unity.ubuntu.com 101
miwm.sourceforge.net 99
github.com/GNOME/mutter 90
gnome.org/gnome-3/ 83
afterstep.org 55
en.wikipedia.org/wiki/NeXTSTEP 44
pekwm.org 43
userbase.kde.org/KWin 34

Last update: May 1, 2014

Network and Filesystem Isolation with LXC and virtenv

For my memory comparison of light Linux desktops I needed a tool that would allow me to install on my computer about 20 window managers/desktop environments. After looking at several common virtualization packages, I ended up using Linux containers and virtenv for the job.

LXC and virtenv

Probably the best way to describe virtenv is as a graphic interface for Linux containers utilities developed and distributed by LXC project. Linux containers is the virtualization technology build into Linux kernel, available in any kernel after 2.6.32.

The virtual machines (VM) are driven without any overhead by the kernel already running on the computer. You don’t need to run a different kernel in the virtual machine, run only the processes you need, without even going trough the regular SysV or Linux init. This all means that memory is used very conservatively. For example, on a 1GB RAM computer you can run easily 10 SSH/DHCP servers, or 10 different xorg/X11 servers with LXDE window managers on top.

Continue reading

A Memory Comparison of Light Linux Desktops – Part 2

In my previous article I’ve tried to investigate the RAM memory requirements for running some of the most common light window managers and desktop environments available in the Linux world. Prompted by several readers, I’ve decided to include also the big, well-known memory hogs that grab most of the Linux market, i.e. KDE, Unity and Gnome.

I am using the same setup, based on virtenv. It includes its own xserver (Xephyr) and a virtualization container (LXC). The computer is an older 64-bit machine, running Ubuntu 12.04 with LXDE as desktop environment.

Continue reading