Távolról X-szerver, SSH

Kezdőlap Fórumok Hálózati problémák Távolról X-szerver, SSH

10 bejegyzés megtekintése - 31-40 / 57
  • Szerző
    Bejegyzés
  • #2190123
    uzsolt
    Felhasználó

      Hm, úgy tűnik, nem fog menni, mivel a távoli gépen telepített ssh démonja nem engedi az ilyen x11-es továbbításokat 🙁

      #2190124
      uzsolt
      Felhasználó

        Hm, úgy tűnik, nem fog menni, mivel a távoli gépen telepített ssh démonja nem engedi az ilyen x11-es továbbításokat 🙁

        #2190125
        admin
        Adminisztrátor
          Telnet and X

          If you would want to use telnet to display graphical applications running on a remote machine, you first need to give the remote machine access to your display (to your X server!) using the xhost command, by typing a command similar to the one below in a terminal window on your local machine:

          davy:~> xhost +remote.machine.com

          After that, connect to the remote host and tell it to display graphics on the local machine by setting the environment variable DISPLAY:

          [davy@remote ~] export DISPLAY=”local.host.com:0.0″

          After completing this step, any application started in this terminal window will be displayed on your local desktop, using remote resources for computing, but your local graphical resources (your X server) for displaying the application.

          This procedure assumes that you have some sort of X server (XFree86, X.org, Exceed, Cygwin) already set up on the machine where you want to display images. The architecture and operating system of the client machine are not important as long as they allow you to run an X server on it.

          Mind that displaying a terminal window from the remote machine is also considered to be a display of an image.

          Ez lett volna az én verzióm, a telnet helyett természetesen ssh. Ha a routerod nem tudod beállítani azt javaslom hogy a művelet erejéig iktasd ki.

          #2190126
          admin
          Adminisztrátor
            Telnet and X

            If you would want to use telnet to display graphical applications running on a remote machine, you first need to give the remote machine access to your display (to your X server!) using the xhost command, by typing a command similar to the one below in a terminal window on your local machine:

            davy:~> xhost +remote.machine.com

            After that, connect to the remote host and tell it to display graphics on the local machine by setting the environment variable DISPLAY:

            [davy@remote ~] export DISPLAY=”local.host.com:0.0″

            After completing this step, any application started in this terminal window will be displayed on your local desktop, using remote resources for computing, but your local graphical resources (your X server) for displaying the application.

            This procedure assumes that you have some sort of X server (XFree86, X.org, Exceed, Cygwin) already set up on the machine where you want to display images. The architecture and operating system of the client machine are not important as long as they allow you to run an X server on it.

            Mind that displaying a terminal window from the remote machine is also considered to be a display of an image.

            Ez lett volna az én verzióm, a telnet helyett természetesen ssh. Ha a routerod nem tudod beállítani azt javaslom hogy a művelet erejéig iktasd ki.

            #2190127
            uzsolt
            Felhasználó

              Ezt idáig értem (úgy gondolom), de nem engedélyezett az X11forwarding, amely eddigi olvasmányaim alapján szükséges ehhez.

              #2190128
              uzsolt
              Felhasználó

                Ezt idáig értem (úgy gondolom), de nem engedélyezett az X11forwarding, amely eddigi olvasmányaim alapján szükséges ehhez.

                #2190129
                admin
                Adminisztrátor
                  uzsolt wrote:
                  Ezt idáig értem (úgy gondolom), de nem engedélyezett az X11forwarding, amely eddigi olvasmányaim alapján szükséges ehhez.

                  Ehhez nem is kell ssh x11forwarding, most próbáltam ki itten a helyi hálómon, miért ne működne nagyban is? Jó, alapból nem megy mert ki kell venni a gépeden az /etc/X11/xinit/xserverrc * fájlból a „nolisten tcp” kapcsolót az „X” mögül. Utána újraindítod az grafikus felületed, xhost +, ssh a távoli gépre, export DISPLAY=”WANIPcímed:0.0″, majd mondjuk xterm és láss „csodát”! 🙂

                  *lehet hogy nem ott van az xserverrc fájl hanem mondjuk a saját könyvtáradban van saját, de a lényeg hogy az X  a nolisten tcp nélkül fusson

                  #2190130
                  admin
                  Adminisztrátor
                    uzsolt wrote:
                    Ezt idáig értem (úgy gondolom), de nem engedélyezett az X11forwarding, amely eddigi olvasmányaim alapján szükséges ehhez.

                    Ehhez nem is kell ssh x11forwarding, most próbáltam ki itten a helyi hálómon, miért ne működne nagyban is? Jó, alapból nem megy mert ki kell venni a gépeden az /etc/X11/xinit/xserverrc * fájlból a „nolisten tcp” kapcsolót az „X” mögül. Utána újraindítod az grafikus felületed, xhost +, ssh a távoli gépre, export DISPLAY=”WANIPcímed:0.0″, majd mondjuk xterm és láss „csodát”! 🙂

                    *lehet hogy nem ott van az xserverrc fájl hanem mondjuk a saját könyvtáradban van saját, de a lényeg hogy az X  a nolisten tcp nélkül fusson

                    #2190131
                    script
                    Felhasználó

                      Probaltad a teamviewer -t. Nem eppen egy ssh, de mukodik.
                      http://www.teamviewer.com/index.aspx

                      Bar kellhozza wine.

                      #2190132
                      script
                      Felhasználó

                        Probaltad a teamviewer -t. Nem eppen egy ssh, de mukodik.
                        http://www.teamviewer.com/index.aspx

                        Bar kellhozza wine.

                      10 bejegyzés megtekintése - 31-40 / 57
                      • Be kell jelentkezni a hozzászóláshoz.