FS#1590 - xdm doesn't run . /etc/profile

Attached to Project: Arch Linux
Opened by Lukas Sabota (punkrockguy318) - Tuesday, 05 October 2004, 14:49 GMT
Last edited by Judd Vinet (judd) - Tuesday, 05 October 2004, 16:33 GMT
Task Type Bug Report
Category System
Status Closed
Assigned To Judd Vinet (judd)
Architecture not specified
Severity Medium
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

XDM will not run . /etc/profile when logging in a user. That will cause many environment variables to be unset, and the PATH incomplete.

Although there is a workaround. In your .xsession, you can run . /etc/profile and everything will be fine.

So what should we do?

There is a default ~/.xinitrc that is created when you add a user. A default ~/.xsession should be created as well. I have attatched a default .xsession that runs . /etc/profile. This should be implemented to avoid further confusion.

PS: Also.. The default .xinitrc should execute twm by default... Because TWM comes with X.. What's the point of executing wmaker if the user probobly doesn't have it installed?
(application/octet-stream)    xsession.default (0.2 KiB)
This task depends upon

Closed by  Judd Vinet (judd)
Monday, 22 November 2004, 01:08 GMT
Reason for closing:  Fixed
Comment by Lukas Sabota (punkrockguy318) - Tuesday, 05 October 2004, 14:58 GMT
This could be accomplished by adding a .xsession to /etc/skel (in the filesystem package)

PS: and the xinitrc could be fixed by editting the xinitrc in the filesystem package...
Comment by Eric Belanger (Snowman) - Sunday, 17 October 2004, 20:57 GMT
I just want to point out that kdm has the same problem:
Task #1617 — path problem with KDE 3.3.1 and tcsh
Maybe there is a common solution.
Comment by Judd Vinet (judd) - Monday, 22 November 2004, 01:08 GMT
Added skel/.xsession for the next build of filesystem

Loading...