Ukudluliselwa kwe-X11 nge-SSH

I-X11, njengoba ngicabanga ukuthi iningi lenu liyazi, yiseva yokuqhafaza esetshenziswa cishe konke ukusatshalaliswa kweLinux. Le seva ivumela, phakathi kwezinye izinto, ukudlulisa nge-SSH. Lokhu kusho ukuthi kungenzeka ukusebenzisa izinhlelo zokuqhafaza kusuka kumshini okukude ngokuthumela isibonisi kudeskithophu yethu. Lokho wukuthi, uhlelo lokusebenza lusebenza kuseva ekude, kepha isikhombimsebenzisi sokuqhafaza siboniswa kudeskithophu yethu yasendaweni.

 

Izinyathelo okumelwe zilandelwe

1.- Kwiseva, hlela ifayela / etc / ssh / ssh_config futhi ushintshe inketho Ukudlulisa i-X11 ngakho-ke kubukeka kanjena:

Ukudlulisela phambili yebo

Ngemuva kwalolu shintsho, kungadingeka ukuqala kabusha i-ssh daemon. Indlela yokwenza lokhu iyahlukahluka ngokusatshalaliswa ngakunye kwe-Linux. Into elula ukuqala kabusha umshini.

2.- Kwideskithophu yendawo, ngena ngemvume kuseva nge-SSH usebenzisa ipharamitha -X:

ssh -X umsebenzisi @ igama lomgcini

Kuphi umsebenzisi igama lomsebenzisi elisetshenziselwa ukungena ngemvume kuseva futhi igama lomkhosi yi-IP noma i-alias yeseva.

3.- Ukuze usebenzise uhlelo lokusebenza, kufanele nje ukwenze kusuka ku-terminal. Ngokwesibonelo:

Firefox

 

Ukudluliselwa kwe-X11 okwethembekile

Ngokunika amandla ukudluliselwa okuthembekile kwe-X11, kungenzeka ukusheshisa ijubane lokuxhuma kancane, ngoba ezinye izinyathelo ezihlobene nokuphepha kwayo ziyagwenywa.

Uma kwenzeka isivinini sibaluleke kakhulu kunokuphepha, konke okudingeka kwenziwe yilokhu okulandelayo:

1.- Kwiseva, hlela ifayela / etc / ssh / ssh_config futhi ushintshe inketho PhambiliX11Thembekile ngakho-ke kubukeka kanjena:

PhambiliX11Uthembekile yebo

2.- Kwideskithophu yendawo, ngena ngemvume kuseva nge-SSH usebenzisa ipharamitha -Y:

ssh -YYOMsebenzisi @ hostname

 

Ukudlulisela phambili kwe-X11

Kulezo zimo lapho ukuxhumana phakathi kweseva neklayenti kungeyona engcono kakhulu, kungenzeka ukucindezela idatha ethunyelwe yiseva.

Ukwenza lokhu, uma ungena kuseva nge-SSH, engeza ipharamitha -C:

ssh -X -C umsebenzisi @ igama lomgcini

Okuqukethwe yi-athikili kunamathela ezimisweni zethu ze izimiso zokuhlelela. Ukubika iphutha chofoza lapha.

Amazwana ayi-21, shiya okwakho

Shiya umbono wakho

Ikheli lakho le ngeke ishicilelwe. Ezidingekayo ibhalwe nge *

*

*

  1. Ubhekele imininingwane: Miguel Ángel Gatón
  2. Inhloso yedatha: Lawula Ugaxekile, ukuphathwa kwamazwana.
  3. Ukusemthethweni: Imvume yakho
  4. Ukuxhumana kwemininingwane: Imininingwane ngeke idluliselwe kubantu besithathu ngaphandle kwesibopho esisemthethweni.
  5. Isitoreji sedatha: Idatabase ebanjwe yi-Occentus Networks (EU)
  6. Amalungelo: Nganoma yisiphi isikhathi ungakhawulela, uthole futhi ususe imininingwane yakho.

  1.   mdluli kusho

    Kunzima, umyalo omningi.
    Kungcono ngingayenzi inkinga impilo yami bese ngisebenzisa iTeamviewer

    1.    eliotime3000 kusho

      Angazi, kepha ngiyinkimbinkimbi kakhulu neTeamViewer nephasiwedi yayo ebusisiwe.

    2.    yezimg kusho

      Kubonakala kimi ukuthi ziyizinto ezi-2 ezihlukile, ukuthi othile uyangilungisa, kepha le ndlela ehlongozwayo lapha, akuyona eyokukhulisa yonke imvelo ngokungathi yenza ukubheka ndawonye, ​​kepha ngokwesibonelo ukubeka njengoba kusho lapho "i-firefox" futhi ukuthi emshinini wakho iFirefox ivula njengenjwayelo kepha eqinisweni iyasebenza kumshini okude.

      1.    AGR kusho

        Ngempela, njengoba ukhombisile, ukusebenzisa i-firefox (kusuka kuseva) emshinini wakho. Yilokho nje abangifundisa khona manje.

      2.    masisebenzise i-linux kusho

        Kunjalo qhawe!
        Njengoba umngane ebengasho, ungadidanisi abaningi: "into enye into enye enye enye." Ha ha…
        Nah sina uqinisile cha le ndlela ayiqhathaniseki ne-teamviewer.
        Hug! UPaul.

  2.   jhona kusho

    muhle kakhulu, ulusizo ngaphezu kwakho konke futhi iqiniso ngiyisebenzisa kakhulu muva nje 🙂
    umbuzo uthi: ssh_config noma sshd_config? (man sshd_config ngoba akuwona wonke ama-distros ayiletha ngokuzenzakalela, noma okulungile ukumemezela njengomsebenzisi ku- $ HOME / .ssh / config)
    futhi ungabheka inketho X11UseLocalhost
    noma eyakudala ene-DISPLAY = ip: Xx ne-xhost,
    nangaphambi kwanoma iyiphi inkinga nikeza isenzo (-v)

    1.    masisebenzise i-linux kusho

      Kunjalo ... umnikelo omuhle!

  3.   UKevin Maschke kusho

    Yebo ngikuthakazelisa kakhulu! Ngibona kakhulu! Kuzofanele ngiyivivinye kuseva yami ye-ovh! 🙂

    1.    masisebenzise i-linux kusho

      Phambili! Hug! UPaul.

  4.   manuti kusho

    I-athikili enhle kakhulu. Umagazini owodwa, ngisebenzisa le nketho kakhulu ukuxhuma ku-Raspberry Pi ngeRaspbian neLxde, kusuka ku-Ubuntu enobunye. Imvamisa kwenzeka ukuthi izithonjana zohlelo lokusebenza zibukeka zonakele. Lokhu kungaba yini?
    Enye into, imvamisa ngifaka inketho yokusebenzisa izinhlelo zemifanekiso ngemuva: firefox &

    1.    masisebenzise i-linux kusho

      Umnikelo omuhle wokuqalisa izinhlelo zokusebenza ngemuva, bengingacabangi ngakho.
      Mayelana nezithonjana ... ngabe lokho kwenzeka kuwe usebenzisa ukudluliswa kwe-X11 okucindezelwe?
      Hug! UPaul.

      1.    manuti kusho

        Cha, ungitshele ngokucindezelwa. Lapho nginembobo ngizokuthumela ukubamba. Njengolwazi olwengeziwe ngisebenzisa i-faenza ku-Ubuntu, iklayenti, nezimpawu ezizenzakalelayo ze-Lxde kuseva.

        1.    AGR kusho

          Unempendulo lapho. Insiza oyilethayo ayisho ukuthi nawe uletha imvelo yedeskithophu. Uletha insizakalo kuphela, futhi nge-oda ukhombisa ukuthi iyinsizakalo yezithombe. I-X ebulawa yileyo yeklayenti, esimweni sakho lezo ze-Ubuntu ezinobumbano, futhi kufanele ihumushe uhlobo lwezithonjana, inikeze ukulingana kusuka ku-Lxde kuya ku-Unity, lapho ine-faenza khona ngokwenzekile (ngengozi abayichazile lokhu kimi ngesonto eledlule 😛)

  5.   marito kusho

    i-athikili enhle kakhulu!, Mina kuze kube manje into efana ne-hectorq, nginezinsizakalo ezimbili. ngaphandle kokuqapha, lapho ngidinga i-firefox ukulanda okuthile (i-wget nokudluliswa akwanele kwesinye isikhathi), ngisebenzise i-ssh, i-startx futhi ngangena nge-vnc / remmina. Iyinkinga indlela yami, kulula kakhulu ukuyidlulisela phambili i-x11
    I-PS: ku-debian amafayela wokuhlela ashintsha kancane, kubonakala sengathi i-ForwardX11 ifeza umsebenzi ofanayo, imikhonzo!

  6.   yezimg kusho

    Manje njengoba ngizixakekisa ngeseva, lokhu kuhle kakhulu, futhi ubukhulu manje xD, ngidinga ukusebenzisa i-multisystem kepha i-OS yencwajana yami yiChakra Linux, futhi kufanele ngibheme uhhafu we-gnome ngiyazihlanganisa ukuze ngikwazi ukuyiqhuba, ngakho-ke Ngizofaka kuseva nge-Debian, bese ngidlulisa i-xD hahaha

    1.    masisebenzise i-linux kusho

      Kuhle, qhawe!
      Ngiyajabula! Hug!
      UPaul.

  7.   PABLO ALEJANDRO SANCHEZ kusho

    Ngiyabonga kakhulu ngolwazi!

    Inani elengeziwe:

    Ngine-Ubuntu Server 14.04.1 LTS
    Ngibe nezinkinga nge: ./Xauthority
    Futhi ukuze ulusebenze udinga ukwenza lolu shintsho ku: / etc / ssh / sshd_config

    ....
    # Isikhathi sokuphila nosayizi wenkinobho yeseva engu-1 yesikhashana
    UkhiyeRegenerationInterval 3600
    I-ServerKeyBits 768
    ....
    # Ukufakazela ubuqiniso:
    I-LoginGraceTime 120
    I-PermitRootLogin yebo
    Ama-StrictMode yebo

    bese uqala kabusha insiza ye-ssh: # Sudo service ssh restart

    Ngiyethemba ukuthi isebenzele othile.

    1.    masisebenzise i-linux kusho

      Kuhle! Siyabonga ngomnikelo!
      Halala! UPaul.

  8.   Pablito el balvito kusho

    Kuchazwe kahle! Kunento eyodwa engingayiqondi, uma ngabe uhlelo lokusebenza lusebenza kusikhungo esikude, ngabe kusho ukuthi ihluzo nazo zicutshungulwa ngumsingathi? Lokho wukuthi, ingabe ikhadi lemidwebo lomsingathi lizoyicubungula imininingwane bese limane lithumele imininingwane kwiklayenti ukuze libukwe? Kwenzeka kimi ukuthi ngale ndlela ngingaqalisa izinhlelo zokusebenza ze-3D zokumodela ezidinga amandla amaningi kakhulu kusuka encwadini yami encane yokubhalela.

  9.   imbongolo kusho

    kukwenza ufune ukushwabana

  10.   umlingani kusho

    Ngithi nje ngifuna ijazi