FS#24503 - [xorg-xdm] Fails if .xinitrc is not executable
Attached to Project:
Arch Linux
Opened by David J. Haines (dhaines) - Monday, 30 May 2011, 15:25 GMT
Last edited by Doug Newgard (Scimmia) - Tuesday, 12 May 2015, 15:54 GMT
Opened by David J. Haines (dhaines) - Monday, 30 May 2011, 15:25 GMT
Last edited by Doug Newgard (Scimmia) - Tuesday, 12 May 2015, 15:54 GMT
|
Details
xorg-xinit installs /etc/skel/.xinitrc and
/etc/skel/.xsession, both of which are bourne shell scripts.
Both should be set to executable not just because they're
scripts, but also because at least some programs (including
the "official" display manager: xdm) won't work unless they
are (after they've been copied to a new user's $HOME, that
is).
I can't see any security issues with them being so set, especially if they're 0755, and your newly-added user will appreciate setting a wm in .xinitrc and having it just work. |
This task depends upon
Closed by Doug Newgard (Scimmia)
Tuesday, 12 May 2015, 15:54 GMT
Reason for closing: Fixed
Additional comments about closing: Files removed from repo.
Tuesday, 12 May 2015, 15:54 GMT
Reason for closing: Fixed
Additional comments about closing: Files removed from repo.
In my case making ~/.xinitrc executable does not fix the issue. So far I am not sure what the solution is.
I had to set gingy -t instead of one of the agetty in the inittab, however its a workaround rather then the solution, since gingy does not work when it's graphical.In the text mode it would have been perfect had it been able to work properly with docking stations (eg. if I logout, I do not see the login prompt on the main screens and have to undock laptop and use it's screen to login, or perform a blind login).
Starting Xorg with xinit(startx) works just fine, so it's purely XDM/slim/etc issue.