ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Alexander Kuprin <ru_classic@gts.lg.ua>
To: linux-list@linux.kiev.ua, community@altlinux.ru,
	ltsp-ru-discussion@yahoogroups.com
Subject: [Comm] Re: [SUMMARY] Помогите , plz, разобраться с подключением к  X-сессии!
Date: Tue, 5 Apr 2005 15:29:29 +0300
Message-ID: <200504051529.29226.ru_classic@gts.lg.ua> (raw)
In-Reply-To: <20050405121510.GC7238@osdn.org.ua>

В сообщении от Вторник, 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

           reply	other threads:[~2005-04-05 12:29 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20050405121510.GC7238@osdn.org.ua>]

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=200504051529.29226.ru_classic@gts.lg.ua \
    --to=ru_classic@gts.lg.ua \
    --cc=community@altlinux.ru \
    --cc=linux-list@linux.kiev.ua \
    --cc=ltsp-ru-discussion@yahoogroups.com \
    /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