From: Mikhail Zabaluev <mhz@alt-linux.org>
To: Linux-Mandrake RE Mailing List <mandrake-russian@altlinux.ru>
Cc: "Dmitry V. Levin" <ldv@alt-linux.org>
Subject: [mdk-re] Re: PATH в X Window
Date: Fri Apr 20 01:02:01 2001
Message-ID: <20010419121355.A1490@localhost.localdomain> (raw)
In-Reply-To: <20010418113935.B26780@ldv.office.alt-linux.org>; from ldv@alt-linux.org on Wed, Apr 18, 2001 at 11:39:35AM +0400
Hello Dmitry,
On Wed, Apr 18, 2001 at 11:39:35AM +0400, Dmitry V. Levin wrote:
>
> On Tue, Apr 17, 2001 at 11:19:00PM +0400, Mikhail Zabaluev wrote:
> > > > Не подскажете ли, в каком месте устанавливается переменная окружения
> > > > PATH при загрузке X?
> > >
> > > Это зависит от версии пакета xinitrc.
> > > Начиная с 2.4.4-ipl38mdk, используется значение из .bash_profile & co.
> >
> > Хорошо, только там теперь дублируются пути:
> >
> > [mhz@localhost ~]$ echo $PATH
> > /usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games:/home/mhz/bin:/usr/X11R6/bin:/usr/games:/home/mhz/bin
> >
> > Прилагаю .bash_profile
>
> Содержимое переменной PATH определяется не одним .bash_profile, но и,
> возможно, .bashrc, /etc/bashrc, /etc/profile.
В /etc/profile есть установка PATH by Mandrake-Security.
Я уже понял, в чем дело: /etc/X11/Xsession запускается как login
shell. Можно ли как-то бороться с эффектом? Например, для runlevel 5 запускать
Xsession явно с login shell, а ключ -login в первой строке убрать.
--
Stay tuned,
MhZ JID: mookid@jabber.org
___________
If I have not seen so far it is because I stood in giant's footsteps.
prev parent reply other threads:[~2001-04-20 1:02 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-17 11:00 [mdk-re] " Mikhail Zabaluev
2001-04-17 11:29 ` [mdk-re] " Dmitry V. Levin
2001-04-17 17:36 ` Ivan Zakharyaschev
2001-04-18 0:30 ` Mikhail Zabaluev
2001-04-18 11:36 ` Dmitry V. Levin
2001-04-20 1:02 ` Mikhail Zabaluev [this message]
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=20010419121355.A1490@localhost.localdomain \
--to=mhz@alt-linux.org \
--cc=ldv@alt-linux.org \
--cc=mandrake-russian@altlinux.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