ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Evgeny Sinelnikov <sin@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] Решение проблемы с блокировкой запуска приложений X Window при смене hostname
Date: Sat, 12 Oct 2019 01:30:14 +0400
Message-ID: <CAK42-GoHJ64F-QqyN2B_qmYXhFVKKPORSHR3ZerMN5V1CV88xQ@mail.gmail.com> (raw)
In-Reply-To: <20191008172706.GA3507@altlinux.org>

вт, 8 окт. 2019 г. в 21:27, Dmitry V. Levin <ldv@altlinux.org>:
>
> On Fri, Aug 23, 2019 at 12:38:44PM +0300, Igor Chudov wrote:
> > Добрый день.
> >
> > Насколько мне известно, стандартные политики безопасности в ALT Linux предполагают использование .XAuthority и авторизацию приложений по hostname. При смене hostname, например, с помощью hostnamectl, возникает проблема с тем, что запуск новых графических приложений не может быть осуществлён (так как в MIT-печеньках, лежащих в файле .XAuthority у пользователя, не совпадает hostname).
>
> xauth >= 1.0.10-alt1 позволяет решить эту задачу.

А как её нужно решать с новым xauth?

[sin@xpi xauth]$ hostname
xpi.darkmastersin.net
[sin@xpi xauth]$ sudo hostname xxx.darkmastersin.net
[sudo] password for sin:
[sin@xpi xauth]$ kwrite
No protocol specified
qt.qpa.xcb: could not connect to display :0
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even
though it was found.
This application failed to start because no Qt platform plugin could
be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: wayland-org.kde.kwin.qpa, eglfs,
linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland,
wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.

Аварийный останов
[sin@xpi xauth]$ rpm -q xauth
xauth-1.0.10-alt1.x86_64


-- 
Sin (Sinelnikov Evgeny)

  reply	other threads:[~2019-10-11 21:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-23  9:38 Igor Chudov
2019-10-08 14:36 ` Michael Shigorin
2019-10-08 17:27 ` Dmitry V. Levin
2019-10-11 21:30   ` Evgeny Sinelnikov [this message]
2019-10-11 22:21     ` Dmitry V. Levin

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=CAK42-GoHJ64F-QqyN2B_qmYXhFVKKPORSHR3ZerMN5V1CV88xQ@mail.gmail.com \
    --to=sin@altlinux.org \
    --cc=devel@lists.altlinux.org \
    /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