You are not logged in.
I have recently been trying to get into window managers, Awesome specifically and have come across a problem. Adding "startx" to ~/.bashrc and then pressing mod4+enter after you log in causes the system to kind of crash in a very weird way to the point where I can not even switch to a different "terminal thing" (ctrl+alt+f<#>, I'm so helpless..). The problem does not happen if I do "startx" manually after login. I apologize if this is already solved, but I have no idea what this type of crash is called, and I am unable to read what is on the screen because it is very distorted.
I am running all this inside VirtualBox on an Arch x86_64 host, the guest is also x86_64 if that matters.
Last edited by himodo (2013-05-22 08:00:59)
Offline
Read the Wiki page on bash (or man bash): the invocation section describes how .bashrc is sourced every time a non-login interactive shell is started.
You want commands like startx in your .profile...
You should also look more carefully at ensuring you have an active session: the wiki also has details on that.
Offline
Oh, I get it, it did not phase me at all. Thanks, TIL about ~/.bash_profile.
Offline