7

I uninstalled gnome-session-fallback and gdm, when I start the machine, it boots in console mode. I can log in normally.

Using startx starts up the remnants of GNOME that are still on my machine (a desktop with icons and hardly any UI).

How could I set my Xorg settings so that awesome is started when I use startx?

0

2 Answers 2

6

Create a file named .xinitrc in your home directory, with this contents:

awesome

The .xinitrc file lists commands that are executed by startx in order to set up the X11 session/desktop. You may for instance add other programs to be started (just append a & after the program invocation so that the shell does not wait for their termination before continuing).

The startx session exits when the last command from .xinitrc finishes, so be sure that the invocation of awesome is the last thing you do in that script.

2
  • I have fixed this (I hope). The other question was open and this one is now unrelated to it. Please move your now deleted question in to the first question and I will make sure that it will get at least the up vote I had given it before. Sorry, can't move answers without making things worst. Mar 14, 2012 at 19:17
  • @BrunoPereira Thanks! I have re-posted my old answer to the Logging in over and over again question Mar 14, 2012 at 22:01
1

If you have multiple window managers and desktop environments, you can run:

startx awesome 

in a new virtual terminal.

1
  • In my case this only opens awesome kinda ... it shows up, the cursor moves correctly, I can type inside the initially open terminal... but nothing happens, and I can't click anything, until I stop it again with ctrl+C, which kills awesome. Probably an issue on my side and not with this answer though.
    – lucidbrot
    Feb 22, 2023 at 22:55

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .