Launch openbox instead of twm with startx

I've installed xorg and openbox. Whenever I launch startx it launches twm, but I want it to launch openbox (or xfce4 if I wish to do so). How can I do it, or it not advisable to change the default configuration?
 
You need to start the correct window manager or desktop environment by using ~/.xinitrc:
Code:
exec openbox
If this file doesn't exist then the default window manager is started (which is TWM).
 
You need to start the correct window manager or desktop environment by using ~/.xinitrc:
Code:
exec openbox
If this file doesn't exist then the default window manager is started (which is TWM).
I've tried it under Virtualbox but doesn't work, just get a black screen (on ttyv8).
 
Back
Top