You are not logged in.

#1 2009-02-13 18:21:50

anadyr
Member
Registered: 2005-02-10
Posts: 225

very odd xdm-fluxbox login problem

I have this extremely odd problem. Yesterday I reinstalled Arch after a repartitioning, and everything went fine. I backed-up my xorg.conf and some other important files, and everything went well, and also today. the machine starts xdm at boot, and after login fluxbox loads. At least it did that. Now, after login, the system gets into a loop: first a black screen , and then xdm appears again. The problem was that my .xsession was not executable. Now this problem does not appear anymore. But instead, a different problem appears: the black screen again appears, but the system completely stalls as well. This problem exists under my account, and under the root account, but not under a third account.... And it also does not happen all the time; sometimes I can login...

There are no errors in messages.log, nor in everything.log or Xorg.log or xdm.log. In the fluxbox log, short message appears: "could not connect to the XServer". I am running the latest kernel, with nvidia. I have the suspicion that there are problems with permissions and executable files, but I don't know where to find the problem. It is also quite enigmatic that it sometimes works, and sometimes crashes...

Last edited by anadyr (2009-02-15 18:41:16)

Offline

#2 2009-02-14 11:00:39

anadyr
Member
Registered: 2005-02-10
Posts: 225

Re: very odd xdm-fluxbox login problem

The problem was that my .xsession was not executable. At least under my account. Under the root account the problem was that /usr/bin/xsm did not exist... (line 47 in /etc/X11/xdm/Xsession... However the problem now is that xdm does not get into a loop, but that the screen becomes black and the system totally crashes after login to xdm. ctrl-alt-bcksp, or ctrl-alt-F1 do not work...

Last edited by anadyr (2009-02-15 22:20:23)

Offline

#3 2009-02-15 22:19:20

anadyr
Member
Registered: 2005-02-10
Posts: 225

Re: very odd xdm-fluxbox login problem

Can anyone help me on this issue? xdm/fluxbox seem to be very unstable. Here are some logs and configs:

This is my .xsession (by running startx/.xinitrc things seem to work fine)

#!/bin/sh
numlockx on &
conky -c ~/.fluxbox/scripts/conkyrc5 &
conky -c ~/.fluxbox/scripts/conkyrc4 &
exec fluxbox -log ~/.fluxbox.log

xdm.log
http://pastebin.com/m792b7d05

Xorg.log
http://pastebin.com/mbadfe26

xorg.conf
http://pastebin.com/m237aa30c

Offline

#4 2009-02-28 16:24:16

hypertex
Member
Registered: 2009-02-28
Posts: 3

Re: very odd xdm-fluxbox login problem

I had a similar problem. In my ~/.xsession file I have the line

exec startfluxbox

See here

and here

also, in your inittab file, try this

x:5:respawn:/usr/bin/xdm -nodaemon -config /etc/X11/xdm/archlinux/xdm-config

Just to make sure you have the basics covered.

Mine works fine set up like this.

Offline

Board footer

Powered by FluxBB