How do I startx without gnome desktop.

Asked by tomdean

How do I startx without the gnome desktop?
I want to use xsm as the X session manager and control it from .xsession,
with the last statement 'exec xsm'. when I exit from xsm, I return to the login
prompt.

How do I do this?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
tomdean
Solved:
Last query:
Last reply:
Revision history for this message
Tom (tom6) said :
#1

Hi :)

Surely an X session needs some kind of desktop? If you dont want to install gnome-desktop then how about something lighter such as xubuntu-desktop or lxde or e17 or something? eg

sudo apt-get install xubuntu-desktop

gives you a standard Xubuntu xfce desktop for use in an x session.

I hope i did manage to understand the question well enough to answer it! Not entirely sure what you were asking, sorry!
Good luck & regards from
Tom :)

Revision history for this message
tomdean (tomdean) said :
#2

On Wed, 2010-04-07 at 14:39 +0000, Tom wrote:

> Surely an X session needs some kind of desktop? If you dont want to
> install gnome-desktop then how about something lighter such as xubuntu-
> desktop or lxde or e17 or something? eg

I want to use xsm and xterms. I do not want a desktop.

Revision history for this message
Tom (tom6) said :
#3

Hi ?

Do either of the last two naswers in the last few replies in this thread help?
https://answers.launchpad.net/ubuntu/+question/101990

Regards from
Tom :)

Revision history for this message
tomdean (tomdean) said :
#4

It does not seem to be the answer, but, may provide some clues as to where to look.

I will look at it next week.

Revision history for this message
tomdean (tomdean) said :
#5

The solution:

1. install xdm or other display manager
2. edit /etc/X11/default-display-manager
     change it to select the display manager
     I do one of
            /usr/xbin/gdm
            /usr/bin/xdm
3. If using xdm, create .xsession and .xinitrc
4. reboot

Revision history for this message
Tom (tom6) said :
#6

Brilliant, nicely done!! Thanks for posting the answer back into here, that should help anyone in the future with this problem

Thanks and regards from
Tom :)