How to Use X11 Forwarding on Windows or Linux

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 ต.ค. 2024

ความคิดเห็น • 52

  • @sebastianzander87
    @sebastianzander87 2 ปีที่แล้ว +13

    I don't really want to use Putty. Can it be done using the ssh client with some additional parameters? Does anyone know what Putty does internally?
    EDIT: I found "ssh -Y" to work under Windows, but only if the remote machine supports "trusted X11 forwarding". This also requires to manually set the DISPLAY environment variable before calling ssh, however.

    • @henrikhasell4470
      @henrikhasell4470 ปีที่แล้ว +1

      Thank you stranger! I never got a successful tech tip from a TH-cam comment before. It also worked for me with the built-in Windows SSH client by using -Y instead of -X.

    • @saltukkezer5100
      @saltukkezer5100 10 หลายเดือนก่อน +1

      Exactly what i wanted to ask also, thanks for this!

    • @arg0x-
      @arg0x- 10 หลายเดือนก่อน +1

      How do i set the environment varible?

    • @sebastianzander87
      @sebastianzander87 10 หลายเดือนก่อน

      @@arg0x- You simply write it in front of your command, like e.g. "DISPLAY=:0.0 gedit".
      Search for "$DISPLAY environment variable" on the web to get more information about it, the format of its value is basically []:.

  • @shitshow_1
    @shitshow_1 5 วันที่ผ่านมา +1

    I was reading about how a local-remote X11 setup over SSH. This really helped me understand. Thanks for sharing your knowledge online.

  • @matendere-ip7pd
    @matendere-ip7pd ปีที่แล้ว +4

    Wow!! This is one of the few straight forward and clear tutorial I have ever gone through on TH-cam. Thanks.

  • @nothingtosee689
    @nothingtosee689 3 ปีที่แล้ว +8

    thank u so much for explaining everything so clearly, my brain was hurting trying to understand what was happening between the client and server.

    • @c0nd4
      @c0nd4  3 ปีที่แล้ว +2

      No problem! Happy to help

  • @ByrneGrant
    @ByrneGrant 3 ปีที่แล้ว +3

    Wow, the timing of this video is quite helpful to me. I'm a bit concerned that the last time the packages were updated on sourceforge was 5 years ago.

  • @Kolefield
    @Kolefield ปีที่แล้ว +1

    Does this work over WSL2 rather than using PuTTY?

  • @MohitGupta-iv3uc
    @MohitGupta-iv3uc ปีที่แล้ว

    Do we need gui to be installed on ubuntu server in order to see the graphical form of application on windows using x11?
    What if don't have gui on ubuntu server

  • @bex3911
    @bex3911 3 ปีที่แล้ว +3

    no joke exactly what i needed for a ctf 😂 great video as always 👍🏻

    • @c0nd4
      @c0nd4  3 ปีที่แล้ว

      Thanks! Glad I could help

  • @prakhars962
    @prakhars962 4 หลายเดือนก่อน

    IS the opposite also possible. Say host is Linux and remote is Windows. Can we do X11 forward from Windows to LInux host?

  • @bhargavpns2398
    @bhargavpns2398 3 ปีที่แล้ว +1

    Hey. I have connected through PuTTY. But when I open a software it says " Xlib: extension" MIT - SHM" missing on display "localhost:10.0" . Can anyone help me out with this. Thanks in advance

    • @carlossouzaamorim
      @carlossouzaamorim 3 ปีที่แล้ว +1

      On Putty: Connection > SSH > X11
      field "X display location" add localhost:0

  • @dafoex
    @dafoex ปีที่แล้ว

    With the current push to kill X11, is this doable on Wayland? I can see this being useful in a enterprise environment, but Redhat (the big Linux group targeting enterprise environments) has deprecated X11 in their distribution

  • @andrealorenzetti1799
    @andrealorenzetti1799 2 ปีที่แล้ว

    hi, when i try to run wireshark on my virtual machine i get this error: ~$ qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.
    have you any idea on how to solve this ?

  • @raulalejandrofajardomunoz5074
    @raulalejandrofajardomunoz5074 ปีที่แล้ว

    I just want to install molden, but there´s a error of this package X11

  • @vistachris2965
    @vistachris2965 3 ปีที่แล้ว +1

    Very cool tool! Nice vid thanks Conda

    • @c0nd4
      @c0nd4  3 ปีที่แล้ว

      Thank you!

  • @timgoppelsroeder121
    @timgoppelsroeder121 2 ปีที่แล้ว

    gedit isnt recognized even though i installed it and added it to the path variables in windows what am i doing wrong. Also all these tutorials just seemingly open gedit like it was preinstalled?????

  • @sebastiansanchez8752
    @sebastiansanchez8752 3 ปีที่แล้ว +1

    thank you so much this is the best video on x11forwarding

    • @c0nd4
      @c0nd4  3 ปีที่แล้ว

      Thank you!

  • @mosesdaudu
    @mosesdaudu 8 หลายเดือนก่อน

    Please what is the password. While setting up my ubuntu Virtual machine. I did not set up any password. But whille setting up Putty, it is asking me for the password to the IP. What could the password be?

  • @themodernshoe2466
    @themodernshoe2466 3 หลายเดือนก่อน

    Tried using gnome-terminal and gedit, they both give me this warning "Gtk-WARNING **: ...: cannot open display"

  • @dmac5678
    @dmac5678 2 ปีที่แล้ว

    so in this scenario windows/linux both cases, who is the client and who is the server? Where does X11 need to be enabled. You stated earlier in the video the X11 forwarding should be enabled on the server that is running (native) the program. Im just confused where X11 has to be running and which is client and server.

  • @muralimanoharvarma4007
    @muralimanoharvarma4007 3 ปีที่แล้ว

    How to make windows a server, not a Linux machine and access from Linux? Please help me.

    • @mohansella
      @mohansella 3 ปีที่แล้ว

      Enable RDP in windows and connect via RDP client in linux

  • @likeawindj2337
    @likeawindj2337 3 ปีที่แล้ว

    Thank you for sharing,
    I have a question: How can i open an application ON windows server remotely (ie : chrome) using command? I try OpenSSH but chrome run only on under process (no GUI like when click). Wait your help!

  • @karmitfrog7968
    @karmitfrog7968 2 ปีที่แล้ว

    does it work on windows terminal ?

  • @nilamonidaloi3713
    @nilamonidaloi3713 3 ปีที่แล้ว +1

    Windows now natively support SSH through "OpenSSH Client", could you show us how to enable X forwarding with OpenSSH and not putty.

    • @felipelullio5180
      @felipelullio5180 2 ปีที่แล้ว +1

      Hi, did you manage to use X11 with POWERSHELL and not Putty?

  • @timramich
    @timramich ปีที่แล้ว

    How the hell can I get stuff from my Ubuntu server to show up on my Windows machine using Windows's built-in SSH client???? I'm pulling out what's left of my hair trying to get this to work and I can't find any answers ANYWHERE.

  • @nikoool09
    @nikoool09 ปีที่แล้ว

    how to get the hostname and ip address

  • @johnchaniotis7162
    @johnchaniotis7162 3 ปีที่แล้ว +1

    THANKS MAN YOU ARE THE BEST

    • @c0nd4
      @c0nd4  3 ปีที่แล้ว

      Thanks 😀

  • @granatapfel6661
    @granatapfel6661 27 วันที่ผ่านมา

    🎉😊Great fast and uncomplicated

  • @edos3783
    @edos3783 4 หลายเดือนก่อน

    what is the password i should use in 1:50?

    • @granatapfel6661
      @granatapfel6661 27 วันที่ผ่านมา

      It's the password the remote machine has? Either you or your company or university will give this password. It's the password for the username of the remote machine account

  • @gery399
    @gery399 2 ปีที่แล้ว +1

    Thank you, helped alot!

    • @c0nd4
      @c0nd4  2 ปีที่แล้ว

      No problem!

  • @blacksundarkskies
    @blacksundarkskies 7 หลายเดือนก่อน

    chrome not working for some reason

  • @hamidja1537
    @hamidja1537 2 ปีที่แล้ว

    Thanks for sharing

  • @ElSrJuancho
    @ElSrJuancho 3 ปีที่แล้ว

    Awesome! What about OpenSSH?

  • @majdwardeh3698
    @majdwardeh3698 2 ปีที่แล้ว

    Thank you!

  • @karkinos3836
    @karkinos3836 2 ปีที่แล้ว

    Cool stuff👍

  • @israelpel
    @israelpel 8 หลายเดือนก่อน

    nice video

  • @SaarlaneKretiin
    @SaarlaneKretiin 5 หลายเดือนก่อน +1

    thanks! doesnt work!

  • @moviesynopsis001
    @moviesynopsis001 10 หลายเดือนก่อน

    You look more like a ufc fighter then a hacker

  • @igumnov.daniel
    @igumnov.daniel ปีที่แล้ว

    Thanks!
    I guess it is worth pining the @sebastianzander87's comment or writing your own about how to use X11 forwarding in SSH clients' cli