* [Comm] Re: [SUMMARY] Помогите , plz, разобраться с подключением к X-сессии!
@ 2005-04-05 12:29 ` Alexander Kuprin
0 siblings, 0 replies; only message in thread
From: Alexander Kuprin @ 2005-04-05 12:29 UTC (permalink / raw)
To: linux-list, community, ltsp-ru-discussion
В сообщении от Вторник, 05-Апр-2005 15:15 Michael Shigorin написал(a):
> On Tue, Apr 05, 2005 at 10:13:32AM +0300, Alexander Kuprin wrote:
> > Так? Но как это сделать? Через ssh я подключаюсь к терминалу и
> > пробую от имени root'а запустить x11vnc. Меня отпихивают с
> > сообщением о том, что...
> >
> > Xlib: connection to ":0.0" refused by server
> > Xlib: No protocol specified
>
> su - user
> ?
>
> (MIT-MAGIC-COOKIE в ~/.Xauthority)
Хм... Проблема в том, что в /opt/ltsp/i386/etc/passwd
и /opt/ltsp/i386/etc/group придётся копировать записи пользователей и групп.
Хотя Иван (ns@) предлагает пользовать LDAP, но на мозготрах с ним у меня
сейчас совершенно нет времени. Может на майских праздниках. В общем пока
проблема частично рашена следующим образом: в настройкках sshd, который
крутится внутри LTS настроил авторизацию через ключ. Притащил записи о
пользователе в passwd и groups, получив следующее:
# cat {group,passwd}
root:x:0:root
sshd:x:74:
users::100:user
+:::
root:x:0:0:root:/root:/bin/bash
bin:x:1:1:bin:/bin:
sshd:x:74:74:sshd:/:/bin/false
nobody:x:99:99:Nobody:/:/bin/false
user:x:1001:100::/home/user:/bin/bash
+::::::
/home подключил через /etc/exports и для пробы положил
в /home/user/.ssh/authorized_keys публичный ключ. Теперь можно подключаться
через ssh к терминалу. Хотя проще будет собрать su для LTSP.
Всем спасибо за помощь. Буду медитировать над проблемой дальше.
--
WBR, Alexander Kuprin
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-04-05 12:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-05 12:29 ` [Comm] Re: [SUMMARY] Помогите , plz, разобраться с подключением к X-сессии! Alexander Kuprin
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