Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm working on a VPS which I can control with PuTTY and FreeNX.

I don't have enough RAM for Gnome, so I want fluxbox to start by default instead of Gnome. how do I do that?

share|improve this question

The idea is to create a custom session , which launches fluxbox

Create a file e.g /usr/share/xsessions/custom.desktop

Which contains:


Change that (Exec=) to your customized script , e.g if you favors xinit , you can edit ~/.xinitrc , place a startfluxbox there (IIRC)

And in that case , the Exec= script would be /usr/bin/startx

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.