Nelze otevrit X Terminal vzdalene.

Milan Kerslager milan.kerslager na spsselib.hiedu.cz
Neděle Červen 22 21:04:50 CEST 1997


> >: pocitaci. Pri pokusu o start xtermu pouze napise 'Connection refused'.
> >: Mohl by prosim nekdo poradit ?
> > 
> >   xhost + <linuxovy_server> ?
> 
> To mame zadano - presto nefunguje.

Ja to delam takhle:

1) sednu si ke stroji s Xy (pocitac.A.cz)
2) naloguju se a do terminalu napisu 'xhost pocitac.B.cz'
3) telnet pocitac.B.cz (a prihlasim se)
4) setenv DISPLAY pocitac.A.cz:0.0 (pro tcsh)
   set DISPLAY=pocitac.A.cz:0.0 (pro bash)
5) xterm &

misto kroku 4 a 5 lze napsat:
  netscape -display pocitac.A.cz:0.0

misto kroku 2 muzu pred startem X napsat prislusne pocitace do souboru
  /etc/X0.hosts

krok 4 lze automatizovat v souboru ~/.login nebo ~/.profile



                        Milan Kerslager, admin of spsselib.hiedu.cz
                        Monkey Linux, The Minimal Linux Distribution
                        See: http://www.spsselib.hiedu.cz/monkey/


Další informace o konferenci Linux