how to start IceWM without gdm?

Asked by Alexander Zemerov

Hi,
I installed IceWM on my laptop. Because of low memory I disabled "gdm" in the service list. To start X I use startx command. But it always starts GNOME. To run IceWM I have to start gdm and select IceWM in the session list. How can I save memory and avoid loading of gdm? Another words I want to run IceWM when I use startx command.
Thank you,
Alexander

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Basilio Kublik
Solved:
Last query:
Last reply:
Revision history for this message
Best Basilio Kublik (sourcercito) said :
#1

create a file called .xinitrc in your home (i.e. /home/user1/) and add the following:

### start of content of .xinitrc ###
exec icewm

### end of content of .xinitrc ###

and then use startx as usual

NOTE: you could add "exec blackbox", afterstep or any other window manager you wish.

Revision history for this message
Alexander Zemerov (azemerov) said :
#2

Thanks Basilio Kublik, that solved my question.