From: "Denis G. Samsonenko" <d.g.samsonenko@gmail.com>
To: hihin@rambler.ru, "ALT Linux Community" <community@lists.altlinux.org>
Subject: Re: [Comm] strange $PATH
Date: Mon, 12 Mar 2007 15:23:04 +0900
Message-ID: <957265820703112323lad78267i94edd561050a3497@mail.gmail.com> (raw)
In-Reply-To: <200703120909.16343@ruslandh>
День добрый!
12.03.07, Хихин Руслан написал:
> > Мне кажется, что это где-то в xdm происходит. Т.к. при запуске того
> > же
> > xfce через startx переменная PATH содержит правильные пути. Если же
> > логиниться через xdm, то получается такая петрушка.
>
> А есть-ли этот эффект, если войти в другой WM ?
Это ж надо этот другой WM поставить ещё. Вечером попробую.
Но как я понимаю, WM наследует окружение от того, кто его запускает.
Если я логинюсь в текстовую консоль, то PATH получается правильный.
Если дальше запустить startx, которых загрузит дальше xfce, то PATH
тоже получается правильным, т.к. унаследовался из оболочки, из которой
я запустил startx. Так я это понимаю, могу ошибаться.
Если же этот самый xfce пускается из xdm, то он наследует от него тот
самый странный PATH с двойным /usr/bin, отстутствующим /usr/local/bin
и странным /usr/ucb. Т.е. на сколько я понимаю, где-то в xdm возникает
такой странный PATH, который далее передаётся в WM.
--
Всего доброго,
Денис.
next prev parent reply other threads:[~2007-03-12 6:23 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-11 13:33 Denis G. Samsonenko
2007-03-11 15:51 ` Хихин Руслан
2007-03-11 15:59 ` Denis G. Samsonenko
2007-03-12 5:10 ` Хихин Руслан
2007-03-12 5:29 ` Denis G. Samsonenko
2007-03-12 6:06 ` Denis G. Samsonenko
2007-03-12 6:09 ` Хихин Руслан
2007-03-12 6:23 ` Denis G. Samsonenko [this message]
2007-03-12 6:43 ` Хихин Руслан
2007-03-12 16:02 ` Denis G. Samsonenko
2007-03-11 17:04 ` Victor
2007-03-11 17:22 ` Denis G. Samsonenko
2007-03-11 22:44 ` Dmitry V. Levin
2007-03-12 1:25 ` Denis G. Samsonenko
2007-03-12 3:28 ` Denis G. Samsonenko
2007-03-12 4:11 ` Dmitry Lebkov
2007-03-12 4:58 ` Denis G. Samsonenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=957265820703112323lad78267i94edd561050a3497@mail.gmail.com \
--to=d.g.samsonenko@gmail.com \
--cc=community@lists.altlinux.org \
--cc=hihin@rambler.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git