Linux-Bulgaria.ORG
навигация

 

начало

пощенски списък

архив на групата

семинари ...

документи

как да ...

 

 

Предишно писмо Следващо писмо Предишно по тема Следващо по тема По Дата По тема (thread)

Re: lug-bg: ssh and DISPLAY ?


  • Subject: Re: lug-bg: ssh and DISPLAY ?
  • From: gf@email.domain.hidden (Georgi Chorbadzhiyski)
  • Date: Wed, 04 Jun 2003 17:00:14 +0300


Romeo Ninov wrote:
<em class="quotelev1">> Peter Zyumbilev wrote:
<em class="quotelev1">> 
<em class="quotelev2">>> Kkav e problema da si stenesh:
<em class="quotelev2">>> export DISPLAY=ip:0
<em class="quotelev2">>> xhost remote-host-ip
<em class="quotelev2">>>
<em class="quotelev2">>> Tova ot RH manuala:
<em class="quotelev2">>>
<em class="quotelev2">>> display=IP:0
<em class="quotelev2">>> This command allows remote display forwarding. In this command, IP
<em class="quotelev2">>> should be replaced with the IP address of the system you want the
<em class="quotelev2">>> display to appear on.
<em class="quotelev2">>>
<em class="quotelev2">>> On the system you want the display to appear on, you must execute the
<em class="quotelev2">>> command xhost +remotehostname, where remotehostname is the name of the
<em class="quotelev2">>> host you are running the original display from. Using the command xhost
<em class="quotelev2">>> +remotehostname limits access to the remote display terminal and does
<em class="quotelev2">>> not allow access from anyone or any system not specifically authorized
<em class="quotelev2">>> for remote access.
<em class="quotelev2">>> Pozdravi,
<em class="quotelev2">>> BIVOL
<em class="quotelev1">> 
<em class="quotelev1">> export DISPLAY=localhost:0.0
<em class="quotelev1">> èëè íà IP-òî íà êîåòî ñëóøà X-a

Íà ñúðâúðà ssh daemona òðÿàáâà äà ìó å ðàçðåøåí X forwarding è äà èìà
xauth èíñòàëèðàí (èäâà ñ X). Êëèåíòà, êîãàòî ñå ñâúðçâà òðÿáâà äà ñè ïîèñêà
X Forwarding (ñòàâà ñ îïöèÿ -X èëè â êîíôèãóðàöèîííèÿò ôàéë ssh_config)

Ñ äðóãè äóìè:
   Â /etc/ssh/sshd_config (íà ñúðâúðà)

X11Forwarding yes

ñòàíäàðòíî å

#X11Forwarding no

<p>Êëèåíòà:

gf_at_gf:~$ ssh -X server
Last login: Wed Jun  4 13:56:14 2003
Linux 2.4.19-ck3.

gf_at_gf:~$ echo $DISPLAY
localhost:10.0

<p>Àêî íå èñêàø âñåêè ïúò äà èçïîëçâàø -X â /etc/ssh/ssh_config èëè â
~/.ssh/config ñëîæè òåçè ðåäîâå

Host *
   ForwardX11 yes

<p>Öåëèÿò ïðîáëåì, êîèòî ñðåùàø å ïîðàäè òîâà, ÷å ñòàíäàðòíî X forwarding íå å
ðàçðåøåí â sshd ñúðâúðà. Ïðîñòî ãî ðàçðåøè ðåñòàðòèðàé ñúðâúðà è ñè ãîòîâ.

<p>
-- 
Georgi Chorbadzhiyski
http://georgi.unixsol.org/
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================




 

наши приятели

 

линукс за българи
http://linux-bg.org

FSA-BG
http://fsa-bg.org

OpenFest
http://openfest.org

FreeBSD BG
http://bg-freebsd.org

KDE-BG
http://kde.fsa-bg.org/

Gnome-BG
http://gnome.cult.bg/

проект OpenFMI
http://openfmi.net

NetField Forum
http://netField.ludost.net/forum/

 

 

Linux-Bulgaria.ORG

Mailing list messages are © Copyright their authors.