Go2Linux | Linux Operating System

A site dedicated to: Linux Operating System

Small tip, how to install startx command

Date: 2008-04-28 00:00:00 -0400

Today, I was "playing" with the Linux configuration (as usually) and using tasksel on my Debian I remove the Desktop section, and installed it again, when I tried to use startx I just could not, there was no startx command.

After reading a while I found that I needed to install xinit package to have startx in my machine.

so:

sudo aptitude install xinit

once it is installed you have to create or edit your

$HOME/.xinitrc file, and write in there

something like this:

#!/bin/sh
exec startfluxbox
#exec gnome-session
#exec startkde

be sure to have only one Desktop uncommented.

If you liked this article please share it.

powered by TinyLetter

If you want to contact me in any other way, please use the contact page.