ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] ssh -X host
@ 2005-07-11 12:06 Maks Re
  2005-07-11 12:14 ` Alexey I. Froloff
  0 siblings, 1 reply; 2+ messages in thread
From: Maks Re @ 2005-07-11 12:06 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

привет.

возможно вапрос уже поднимался, но я ничего толком не понял.

хочу ходить на удаленный хост с форвардингом иксов. я сижу на сизифе,
удаленый хост - редхат ентерпрайз 3.

когда приконекчиваюсь пользователем, все нормально и в xauth есть
строчка с хекскеем.

все приложения работаебт через форвард.
как только сделать sudo su - 

# xclock
X11 connection rejected because of wrong authentication.
X connection to localhost:11.0 broken (explicit kill or server shutdown).

смотрим на сохраненые хекскеи под рутом - нет какого....... приходится
ручками добовлять.


на моей машине
/etc/openssh/ssh_config

ForwardX11 yes

на удаленой машине
/etc/ssh/sshd_config

X11Forwarding yes

причем такая фича раньше отсутствовала, 
насколько раньше - уже не помню...

-- 
С уважением, 
  Макс.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [sisyphus] ssh -X host
  2005-07-11 12:06 [sisyphus] ssh -X host Maks Re
@ 2005-07-11 12:14 ` Alexey I. Froloff
  0 siblings, 0 replies; 2+ messages in thread
From: Alexey I. Froloff @ 2005-07-11 12:14 UTC (permalink / raw)
  To: ALT Linux Sisyphus

[-- Attachment #1: Type: text/plain, Size: 397 bytes --]

* Maks Re <admaks@> [050711 16:07]:
> на удаленой машине
> /etc/ssh/sshd_config

> X11Forwarding yes

> причем такая фича раньше отсутствовала, 
> насколько раньше - уже не помню...
Поиграйтесь с X11UseLocalhost в sshd_config на удалённом сервере.


-- 
Regards, Sir Raorn.
-------------------
Может, не стоит бросаться сразу делать первое, что пришло в голову?
		-- ldv in devel@

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-07-11 12:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-11 12:06 [sisyphus] ssh -X host Maks Re
2005-07-11 12:14 ` Alexey I. Froloff

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