December 18, 2014

Install a minimal X on Linux

apt-get install xinit i3 rxvt

i3 is the lightweight window manager
rxvt is the terminal
xinit gives you X windows and the famous "startx" command

To make i3 use your full screen resolution, create the file ~/.xinitrc and put the following there

xrandr --output Virtual1 --mode 1680x1050
exec i3

You may need to change the name "Virtual1" to something else. Use xrandr to list all the known windows (you first need to have X windows  running though)


  1. Hello Mr. Zhang,

    What happened to the eSafeKids website. It show two PHP error messages upon logon. Please help

  2. Try it again. We moved our servers and there were some glitches