You are not logged in.
I am trying to get the i3 WM installed on my machine. I have X installed and working. I was able to perform the test with xterms specified in the beginners guide. I installed i3 with 'sudo pacman -S i3' and created a .xnitrc file in my home directory by copying it from the skel directory. It is supposed to run the command 'exec i3' after I login from xdm but it is failing. It seems to not do anything but log me out. If I am booted into XDM and login I just get bounced back to the login screen. If I am on the console and try to run 'exec i3' it just logs me out and doesn't start. If I run 'exec i3' from an xterm it crashes the terminal window.
EDIT: this occurs with all WMs I have tried in addition to i3 such as ratpoison.
Last edited by fourmyle (2012-01-09 21:54:22)
Offline
Not sure but perhaps you have the problem described at the bottom of the xdm wiki article:
https://wiki.archlinux.org/index.php/XDM
Philosophy is looking for a black cat in a dark room. Metaphysics is looking for a black cat in a dark room that isn't there. Religion is looking for a black cat in a dark room that isn't there and shouting "I found it!". Science is looking for a black cat in a dark room with a flashlight.
Offline
I don't think that is it. I have dbus installed and its in my DAEMONS array. I actually just reinstalled arch completely and still have the same problem even without a display manager installed. If i use 'exec i3' from the command line it logs be out of the current shell session. startx works though still. Could it be a driver issue or maybe a bad release?
Last edited by fourmyle (2012-01-08 01:44:14)
Offline
What exactly do you have in your .xinitrc file? Try creating a new file and having only "exec i3" in it. Run it with "xinit /path/to/xinitrc" from tty.
Offline
https://wiki.archlinux.org/index.php/In … Setting.29
Following the advice in this section seemed to have fixed the issue.
Offline
Okay, so things work now with startx from run level 3. However, things do not work from the XDM login if I boot into run level 5. The only thing in my .xinitrc is exec i3.
Offline
Show us your /etc/inittab file and your /etc/rc.conf file
Philosophy is looking for a black cat in a dark room. Metaphysics is looking for a black cat in a dark room that isn't there. Religion is looking for a black cat in a dark room that isn't there and shouting "I found it!". Science is looking for a black cat in a dark room with a flashlight.
Offline
Last edited by fourmyle (2012-01-09 18:59:06)
Offline
In your inittab remove the comment (#) from id:5:initdefault: and insert a comment into the first position of the :id:3 line above it. Then also comment out the line "x:5:respawn:/usr/bin/xdm -nodaemon".
then you should boot into xdm fine and login and it should then execute your .xinitrc file correctly.
Philosophy is looking for a black cat in a dark room. Metaphysics is looking for a black cat in a dark room that isn't there. Religion is looking for a black cat in a dark room that isn't there and shouting "I found it!". Science is looking for a black cat in a dark room with a flashlight.
Offline
Right, that's what I did before. It boots into the xdm login screen correctly and then once I login it just kicks me back to the xdm login screen.
Offline
If that occurs it can be for only 4 reasons: your .xinitrc file is incorrect, i3 is not set up properly, xdm is not setup properly or your login/password don't match.
Philosophy is looking for a black cat in a dark room. Metaphysics is looking for a black cat in a dark room that isn't there. Religion is looking for a black cat in a dark room that isn't there and shouting "I found it!". Science is looking for a black cat in a dark room with a flashlight.
Offline
I fixed it. Had to make .xinitrc executable with a chmod 744 .xinitrc.
Thanks.
Offline