[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1262: bad PATH under xdm



O.K., my follow up to my bug report made it through to debian-devel,
but the original bug-report seems to be missing - it's in the bug
archives, however: here's a copy, just in case:

>Subject: default PATH wrong under XDM
>Package: xbase
>Version: 3.1.2-2
>
>If xbase is setup to run xdm by default, users end up with
>the default path compiled into xdm, namely
>
>:/bin:/usr/bin:/usr/X11R6/bin:/usr/ucb
>
>root gets the right path, since its set in .bash_profile in ~root.
>My fix for this is to set two properties in /etc/X11/xdm/xdm-config:
>
>DisplayManager*userPath:        /usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:.
>DisplayManager*systemPath:      /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11

BTW, it took me a long time on my orginial debian 0.91 system to
discover where the heck the strange path was coming from, so when I saw
the same problem under the new system, I thought I should share my
solution.

Ross



Reply to: