ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Mikhail Zabaluev <mhz@alt-linux.org>
To: sisyphus@altlinux.ru
Cc: devel@altlinux.ru
Subject: [devel] Re: Не стартует KDE из под обычного пользователя!!!
Date: Thu, 15 Nov 2001 01:57:14 +0300
Message-ID: <20011114225714.GF1995@localhost.localdomain> (raw)
In-Reply-To: <20011114152546.3fb85f1e.zerg@altlinux.ru>

Hello Sergey,

On Wed, Nov 14, 2001 at 03:25:46PM +0300, Sergey V Turchin wrote:
>
> EY> P.S. Если что в аттаче 2 файла:
> EY> xsession-trace.1 - для строки "exec /bin/bash -login -x
> EY> /etc/X11/Xsession $* 2>$HOME/tmp/xsession-trace.1"
> EY> 
> EY> xsession-trace.2 - для строки "exec /bin/bash -x /etc/X11/Xsession $*
> EY> 2>$HOME/tmp/xsession-trace.2"

OK, I see your problem :)

В .bashrc устанавливается переменная PS1, причем до включения
/etc/bashrc. В последнем же факт установки переменной PS1 трактуется
как признак интерактивного shell'а, и выполняются различные дела для
консольных нужд. В том числе скрипт
/etc/profile.d/keyboard.sh, который и мне стоил в свое время много
крови :)
Выход -- перенести установку PS1 после использования /etc/bashrc.

2devel: все-таки, как видите, $PS1 -- не очень надежный признак
интерактивности. Гораздо надежнее [ -n "${-##*i*}" ]. Может быть,
заменить такие проверки в /etc/{bashrc,profile}, /etc/profile.d/*,
/etc/skel*/* ?

-- 
Stay tuned,
  MhZ                                     JID: mookid@jabber.org
___________
You can't cheat the phone company.
_______________________________________________
Devel mailing list
Devel@linux.iplabs.ru
http://www.logic.ru/mailman/listinfo/devel


           reply	other threads:[~2001-11-14 22:57 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20011114152546.3fb85f1e.zerg@altlinux.ru>]

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=20011114225714.GF1995@localhost.localdomain \
    --to=mhz@alt-linux.org \
    --cc=devel@altlinux.ru \
    --cc=devel@linux.iplabs.ru \
    --cc=sisyphus@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 Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git