From: Ivan Adzhubey <iadzhubey@rics.bwh.harvard.edu> To: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org> Subject: Re: [sisyphus] X.org-7.0 + gtk = problems Date: Fri, 20 Jan 2006 12:20:23 -0500 Message-ID: <200601201220.23841.iadzhubey@rics.bwh.harvard.edu> (raw) In-Reply-To: <200601201218.22540.serpiph@nikiet.ru> On Friday 20 January 2006 04:18, Epiphanov Sergei wrote: > В сообщении от Friday 20 January 2006 00:40 Aleksandr Blokhin написал(a): > > Anton D. Kachalov wrote: > > >On Thu, Jan 19, 2006 at 11:11:53PM +0200, Aleksandr Blokhin wrote: > > >>После обновления столкнулся с такой проблемой - если в сессии Хорг, > > >>запущенной пользователем от root, > > > > > >А зачем запускать иксы под рутом? > > > > Ой блиин! Запятую не там поставил :) > > В сессии Хорг, запущенной пользователем, от root выполнить > > gtk-приложение. > > > > >>Xlib: connection to ":0.0" refused by server > > >>Xlib: No protocol specified > > > > > >Как вариант, сказать: xhost +localhost > > > > Xlib: connection to ":0.0" refused by server > > Xlib: No protocol specified > > > > xhost: unable to open display ":0.0" > > > > Ещё идеи есть? > > Всё правильно. По-умолчанию (и это уже давно, даже на 6.8.2) X-сервер > разрешает подключение только с локальной машины и только пользователю > (пусть дальше будет А), запустившему Xorg. Для того, чтобы другой Неправда. Все работало прекрасно и с 6.8.2 и c 6.9.0. > пользователь (пусть будет Б) мог подключиться, можно пойти двумя путями: > 1) простой и небезопасный - после запуска Xorg пользователю А набрать > команду `xhost +localhost', а у пользователя Б перед запуском X-приложений > набрать export DISPLAY=localhost:0.0 > 2) сложный и безопасный - при помощи xauth пользователем А экспортировать > регистрации, а пользователю Б этот ключ импортировать. Плюс возможны > кое-какие настройки X-сервера в плане использования этих ключей. Он использует аутентификацию с MIT cookies. -- Иван
next prev parent reply other threads:[~2006-01-20 17:20 UTC|newest] Thread overview: 69+ messages / expand[flat|nested] mbox.gz Atom feed top 2006-01-19 21:11 Aleksandr Blokhin 2006-01-19 21:32 ` Anton D. Kachalov 2006-01-19 21:40 ` Aleksandr Blokhin 2006-01-20 0:35 ` [sisyphus] root " Mikhail Zabaluev 2006-01-20 7:20 ` Sergey S. Skulachenko 2006-01-20 9:10 ` php-coder 2006-01-20 9:19 ` Epiphanov Sergei 2006-01-20 9:41 ` Sergey S. Skulachenko 2006-01-20 10:00 ` Aleksandr Blokhin 2006-01-20 15:30 ` Dmitry V. Levin 2006-01-20 16:56 ` Valery V. Inozemtsev 2006-01-20 19:13 ` Aleksandr Blokhin 2006-01-21 13:11 ` Dmitry V. Levin 2006-01-21 14:02 ` Aleksandr Blokhin 2006-01-21 15:26 ` [sisyphus] resolver problem Dmitry V. Levin 2006-01-21 16:01 ` Aleksandr Blokhin 2006-01-21 18:37 ` Dmitry V. Levin 2006-01-21 21:46 ` Aleksandr Blokhin 2006-01-21 21:52 ` Dmitry V. Levin 2006-01-21 22:01 ` Aleksandr Blokhin 2006-01-21 22:46 ` Dmitry V. Levin 2006-01-23 17:15 ` [sisyphus] " Michael Shigorin 2006-01-23 8:26 ` [sisyphus] " Vladimir V. Kamarzin 2006-01-23 8:57 ` Anton Gorlov 2006-01-23 9:06 ` Aleksandr Blokhin 2006-01-23 9:51 ` Alexey I. Froloff 2006-01-23 14:53 ` Dmitry V. Levin 2006-01-23 19:26 ` Aleksandr Blokhin 2006-01-23 19:32 ` Dmitry V. Levin 2006-01-23 19:43 ` Aleksandr Blokhin 2006-01-23 19:52 ` Dmitry V. Levin 2006-01-23 17:15 ` [sisyphus] [JT] " Michael Shigorin 2006-01-21 8:27 ` [sisyphus] root + gtk = problems Vitaly Lipatov 2006-01-21 8:43 ` Sergey S. Skulachenko 2006-01-21 23:24 ` Mikhail Zabaluev 2006-01-21 23:37 ` Dmitry V. Levin 2006-01-21 23:47 ` Alexey Rusakov 2006-01-21 23:55 ` Dmitry V. Levin 2006-01-22 9:47 ` Aleksandr Blokhin 2006-01-22 10:16 ` Sergey S. Skulachenko 2006-01-22 13:16 ` Dmitry V. Levin 2006-01-22 13:34 ` Alexey Rusakov 2006-01-22 14:04 ` Dmitry V. Levin 2006-01-23 9:01 ` Led 2006-01-20 7:22 ` [sisyphus] " Arioch 2006-01-20 10:33 ` Mikhail Zabaluev 2006-01-20 10:51 ` Aleksandr Blokhin 2006-01-21 19:14 ` Arioch 2006-01-20 12:52 ` [sisyphus] " Sergey V Turchin 2006-01-20 4:41 ` [sisyphus] X.org-7.0 " Andrey Rahmatullin 2006-01-20 7:51 ` Aleksandr Blokhin 2006-01-20 7:30 ` Yuriy Kashirin 2006-01-20 8:05 ` Aleksandr Blokhin 2006-01-20 8:22 ` Yuriy Kashirin 2006-01-20 10:01 ` Aleksandr Blokhin 2006-01-20 8:28 ` Vladimir V. Kamarzin 2006-01-20 10:06 ` Aleksandr Blokhin 2006-01-20 17:16 ` Ivan Adzhubey 2006-01-20 18:46 ` Aleksandr Blokhin 2006-01-20 19:20 ` Ivan Adzhubey 2006-01-20 20:00 ` Igor Zubkov 2006-01-20 9:18 ` Epiphanov Sergei 2006-01-20 10:08 ` Aleksandr Blokhin 2006-01-20 14:19 ` Epiphanov Sergei 2006-01-20 14:24 ` Aleksandr Blokhin 2006-01-20 14:53 ` Epiphanov Sergei 2006-01-20 17:20 ` Ivan Adzhubey [this message] 2006-01-23 10:24 ` Epiphanov Sergei 2006-01-23 17:47 ` Ivan Adzhubey
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=200601201220.23841.iadzhubey@rics.bwh.harvard.edu \ --to=iadzhubey@rics.bwh.harvard.edu \ --cc=sisyphus@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 Sisyphus discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \ sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru public-inbox-index sisyphus Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sisyphus AGPL code for this site: git clone https://public-inbox.org/public-inbox.git