You are not logged in.

#1 2011-07-01 06:16:27

dozier768
Member
Registered: 2011-06-28
Posts: 4

xdm just keeps respawning [SOLVED]

Hi, Arch newb here, I have been trying to get a display manager working but no matter what i do it just keeps respawning after i log in.

I setup the .xsession and .xinitrc, tried setting it up in inittab, and as a daemon, it seems to be working however after a sucsessful login it just respawns and prompts for login again. im running xfce4, launching startx works fine, ive checked all the wiki's i can find and googled my brains out, tried wdm too and it does exactly the same thing, its driving me crazy any help would be apriceated very much

Last edited by dozier768 (2011-07-01 07:27:03)

Offline

#2 2011-07-01 06:52:27

shpelda
Member
Registered: 2008-08-07
Posts: 59

Re: xdm just keeps respawning [SOLVED]

startx uses .xinitrc, whereas xdm uses .xsession.
Described bahaviour occurs when .xsession script crashes. You might want to check ~/.xsession-errors.
I suggest executing a simple xterm in .xsession and add stuff while  it is working.

Offline

#3 2011-07-01 07:06:56

dozier768
Member
Registered: 2011-06-28
Posts: 4

Re: xdm just keeps respawning [SOLVED]

Thanks ill give it a go

Offline

#4 2011-07-01 07:15:07

dozier768
Member
Registered: 2011-06-28
Posts: 4

Re: xdm just keeps respawning [SOLVED]

.xession-errors states the following, as its in my home directory it doesn't see odd that it belongs to dan:users or am i wrong here "probably" if so, who should own it

/bin/sh: /home/dan/.xsession: Permission denied

[root@DevBox dan]# ls -al
total 36
drwx------ 2 dan  users 4096 Jun 30 22:55 .
drwxr-xr-x 4 root root  4096 Jun 30 22:44 ..
-rw------- 1 dan  users   62 Jun 30 22:48 .bash_history
-rw-r--r-- 1 dan  users   21 May  7 18:46 .bash_logout
-rw-r--r-- 1 dan  users   57 May  7 18:46 .bash_profile
-rw-r--r-- 1 dan  users  141 May  7 18:46 .bashrc
-rw------- 1 dan  users    0 Jun 30 22:55 .Xauthority
-rw-r--r-- 1 dan  users  310 Jun 30 22:48 .xinitrc
-rw-r--r-- 1 dan  users  100 Mar 10 11:03 .xsession
-rw------- 1 dan  users   48 Jun 30 22:55 .xsession-errors

Offline

#5 2011-07-01 07:19:31

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: xdm just keeps respawning [SOLVED]

XDM Wiki entry wrote:

Make .xsession executable:

$ chmod 744 .xsession

Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#6 2011-07-01 07:26:22

dozier768
Member
Registered: 2011-06-28
Posts: 4

Re: xdm just keeps respawning [SOLVED]

That did the trick, thank you so much

Offline

Board footer

Powered by FluxBB