Run Graphical X Applications Over SSH [Tutorial]

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ม.ค. 2025

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

  • @mikebenson9423
    @mikebenson9423 5 ปีที่แล้ว +4

    For two days I was trying to configure VNC on my Pi4, with no result, and then I saw this notification of Null Byte... You rocks man !

  • @vinyard1775
    @vinyard1775 5 ปีที่แล้ว +53

    "I've seen things you people wouldn't believe."

  • @rasmuslindegaardbejder5660
    @rasmuslindegaardbejder5660 5 ปีที่แล้ว +12

    Didn't see him blink this time either... I'm looking forward to it Kody!

  • @Rickety3263
    @Rickety3263 5 ปีที่แล้ว +21

    If anyone questions my browser history, I’m showing them this video.

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

    If any WSL2 user is having issues with display the I suggest
    • 1 : RUN export DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2; exit;}'):0 in your WSL2 window to select display
    • 2 : Launch Xlaunch and add -ac in the additional parameters on the last screen of setup.

  • @gameglitches7890
    @gameglitches7890 5 ปีที่แล้ว +2

    I’ve been waiting for this video from you. Thanks.

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

    i want to ask if it will be possible to start the browser on the remote machine ans not to view the browser window screen on the local machine.

  • @holymegadave
    @holymegadave 4 ปีที่แล้ว +2

    Thanks for the video! its very simple to do it under Linux. I loved the end static noise... a nice touch.

  • @geogmz8277
    @geogmz8277 5 ปีที่แล้ว +19

    Aren't you supposed to remove the comment? 🤔 And then restart the service?

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

    newbie here. Do you not need to delete the # in the config file? I thought everything after # is treated as being commented out?

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

    Hello
    I want the users I create to not be able to connect to the server with several different devices at the same time, how can I limit them to only connect with one or two devices at the same time with the protocol ssh netmod syna program.
    All users connect to the Linux server through the netmod syna program, and my main problem is that a user connects to the Linux server with several different devices at the same time.
    I want to control it in Linux and limit the user.

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

    thannk you for still doing these affter YT stupid no teaching these kind of things policy

  • @meh5812
    @meh5812 5 ปีที่แล้ว +9

    never gonna blink you up
    never gonna blink you down

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

    Bro, could I ssh and then just start-x on it ?
    Or there is other way around getting a full DE?

  • @aabartan
    @aabartan 5 ปีที่แล้ว

    10:42 Does that leave any traces behind ? If someone inject something "weird" in someone else history, can we see the traces of the injection ? Is there any tools to see if the history has been meddle with ?

    • @denism8494
      @denism8494 5 ปีที่แล้ว +2

      there will be logs as an SSH connection is created. The history hasn't actually been "meddled" with since you literally just opened a browser and visited the site, however by matching the visited sites timestamps with the time of SSH connection, you could fairly easily figure out that the site wasn't visited by the computer user. The IP from the oncoming connection would also be logged, meaning if done over the internet without some kind of obfuscation such as a VPN or tor, it could be logged back to you.

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

    I did:
    ssh -X remote server
    firefox
    got the error:
    Unable to init server: Broadway display type not supported: 0
    Error: cannot open display: 0

  • @pravado81
    @pravado81 4 ปีที่แล้ว

    Is there away to use uctronics spi display without raspberry PI module?

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

    i get "Error: no DISPLAY environment variable specified". what am i doing wrong? xforwarding is enabled on both the server and putty

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

      I got the same error on my Mac, any idea how to resolve?

    • @Raven-Creations
      @Raven-Creations 2 ปีที่แล้ว

      Did you have an X server running when you started putty? Does putty know about it? I don't use putty for my X connection, so I don't know how putty works out there's an X server running. I use cygwin/X, and cygwin's ssh, and I have to type 'export DISPLAY=":0.0"' after starting X, but before typing ssh -Y ... Putty may just check whether port 6000 is open, and forward that, but you still need the X server running first.

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

      @@Raven-Creations this was a year ago so i dont even remember, i just ssh into everything now

  • @davizord01
    @davizord01 5 ปีที่แล้ว

    What are doing at 2:20 with the while post command?

    • @Reelix
      @Reelix 5 ปีที่แล้ว

      Well spotted :)

  • @harrydamour7564
    @harrydamour7564 5 ปีที่แล้ว +2

    My friends! .. wish you and all that help create these awesome videos a very happy Thanksgiving. 🐧😎

  • @be-kind00
    @be-kind00 ปีที่แล้ว

    why is the SSH client not asking you for a non-standard SSH PORT?

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

    Hi, is this possible when the machines are connected different networks?

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

    I would have thought that you only need to edit the sshd_config if you're using the Mac as the server instead of client? It says it's the server file?

  • @fuba44
    @fuba44 5 ปีที่แล้ว

    Can this be set up in a "more constructive way" say from my windows box at work, so I can remote to it through the firewall, I realize it would need to be in reverse somehow.. Like my own personal team viewer..

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

    It feels like cyberdeck people could use this to run graphical programmes in VR if there was an app to do it. I've already seen a VNC client for Daydream, but this method would allow the VR software to handle placement of the windows in 3D space, rather than just seeing a floating VNC screen in front of you.

  • @AdityaKumar-lw4yc
    @AdityaKumar-lw4yc 3 ปีที่แล้ว

    How do I automate login via ssh -X pi@raspberry_pi_IP_address using python on my mac I have tried fabric library in python which woks fine but It logs in to my raspberry pi via ssh pi@raspberry_pi_IP_address which doesn't help because I want to run my tkinter app which is on my raspberry pi on my laptop via ssh ....I have tried paramiko as well but It din't work either...If you have any solution please tell me ...Thankyou in advance

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

    I knew this was possible, but couldn't figure it out, so I used VNC. I was (years ago) reaching into a headless Linux box (with GUI, XFCE) that was serving as an internet radio from my Windows laptop. If I ever need to again, I'll know.

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

    Vamo arribaaa!!! saludos desde Uruguay !!!!

  • @lightingkiting9834
    @lightingkiting9834 5 ปีที่แล้ว

    does the Techkey Wireless USB WiFi Adapter, 1200Mbps Dual Band 2.4GHz/300Mbps 5.8GHz/867Mbps High Gain Dual 5dBi Antennas Network WiFi USB 3.0 for Desktop Laptop with Windows 10/8/7/XP, Mac OS X usb support Monitor Mode & Packet Injection? Please tell me I would be highly appericated.

  • @MrMna
    @MrMna 5 ปีที่แล้ว +2

    One of the best channel in TH-cam.. I started my own channel (Mr Mna) to upload pen testing , programming and hacking...got Inspiration from u mate ♥️♥️♥️

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

    Just wanna put this out there for all you BaSH users. Ctrl+A jumps to the beginning of the line, and ctrl+e jumps to the end.
    Save those keystrokes for your games people.

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

    I am interested in replacing nano with micro, both of which are terminal-based text editors which can work on Linux. I am also hoping to do this on both regular PCs and on a server (which I don't have yet). Does anyone know if I can safely delete nano (I hate it) and if it'll be easy enough to install micro (12MB package) onto a server (which might be headless)? I am finding almost no info about it online. I think the first server i'll try (cheap and tiny) is a Raspberry Pi of some some. I run Debian Xfce on PCs, so server will be Debian, too.

    • @StatuVariabilis-
      @StatuVariabilis- 2 ปีที่แล้ว

      to remove nano : root login and type; apt --purge remove nano

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

      @@StatuVariabilis- thank you!
      slava rodu

    • @henrybeverungen7827
      @henrybeverungen7827 6 หลายเดือนก่อน

      I’ve done this with my servers; micro works great, like it a lot better than nano

    • @genkiferal7178
      @genkiferal7178 6 หลายเดือนก่อน

      @@henrybeverungen7827 thanks. i found some great config files on github for nano and now rather like it - as much as micro.

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

    I'd hoped this would be quicker since it should be using less resource but I found this to be painfully slow compared to just using the VNCserver. Anyone know why?

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

      Using the option -C with ssh helped to speed things up significantly although still not great. This compresses the data.
      ssh -Y -C ........

  • @フォグマシン
    @フォグマシン 5 ปีที่แล้ว +4

    Just as interesting might be finding evidence a hacker was going to weird websites on your machine.

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

    Hey nullbyte can you give tutorials for andrax tools

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

    Kody what Wireless adapter 🔱 am I buying myself this holiday sale season ? Also I mentioned last year , long time viewers will already know , but be careful shopping online for holiday gifts. Reference this video from Null Byte - th-cam.com/video/ne8SPEoDe8o/w-d-xo.html . This is a video with a demo of the tool ' DNStwist ' which looks for junk domains that aren't taken to be used for phishing creds and CC info etc etc..... Not everyone's hat is glowing white 🎩 , be mindful , stay vigilant. Happy Holidays to all.

  • @Xyrok404
    @Xyrok404 5 ปีที่แล้ว

    Can someone please tell me which laptop he uses or which other laptops are perfect for hacking / programming

    • @NullByteWHT
      @NullByteWHT  5 ปีที่แล้ว

      Kody uses a Macbook Pro, the Dell XPS 13 is also a good option.

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

    I have windows 11, on one computer and ssh'ing to Linux Centos9. Everything works except Gedit. When I type, gedit myFile.txt & or gedit myFile.txt gedit opens up on my server, not my Windows 11 PC. Yes, I used Xming, and tried Xserver. Both are working the same.

  • @joe-lm3bi
    @joe-lm3bi 5 ปีที่แล้ว

    which kali linux 2019 .4 image has the most tools

    • @joe-lm3bi
      @joe-lm3bi 5 ปีที่แล้ว +1

      @@d-_-b4709 there isn't a large. I think they are the same except for light because the other ones are just for the looks of it.

  • @whatteverr
    @whatteverr 5 ปีที่แล้ว

    How to decrypt zobm ransomware affected file? Can you help?

  • @violetto7769
    @violetto7769 5 ปีที่แล้ว

    Can u make a review of new Kali Linux 2019.4 Update?

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

    Thanks a lot for this video, it seems that firefox runs smoothly in your machine, but even gedit runs incredibly slowly in Xming, do you have some trick or "secret" to run X apps faster? I would like to use X in my windows machine, but for me VNC is running incredibly faster.

  • @bhsx
    @bhsx 4 ปีที่แล้ว

    Yay! You used what, in my opinion, is the correct pronunciation for sudo. I refuse to use "soo doo."

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

      Hahahaha i hate it too when people say it like that

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

      @@__gadonk__ Yeah, I've been xforwarding for over twenty years and always read it as pseudo root.

  • @FireZSK
    @FireZSK 5 ปีที่แล้ว

    Could I use this to run gui apps with WSL?

    • @themasterofdisastr1226
      @themasterofdisastr1226 5 ปีที่แล้ว

      I don't think so; I'm not ecen sure if wsl has an x daemon in the first place

  • @0xshaheen
    @0xshaheen 5 ปีที่แล้ว

    Can we do the same on android ?

  • @Bharathkumar-ut9vi
    @Bharathkumar-ut9vi 5 ปีที่แล้ว

    Hi bro how to track using IMEI

  • @premier69
    @premier69 4 ปีที่แล้ว

    video starts at 0:25 there, you're welcome, no meaningless intro.

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

      My intro is always meaningful

  • @imaref9551
    @imaref9551 5 ปีที่แล้ว

    Can you do a video on how to make a backdoor

  • @ahmedsalah7474
    @ahmedsalah7474 4 ปีที่แล้ว

    Hi Kody,Will this work in android and which app to use?

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

      I think it's not really possible because android doesn't have a window manager to my knowledge

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

      But android 10 comes with a desktop mode, but i'm not really familiar with it so you will need to do some research . To access ssh over android you will need some kind of terminal (termux is a good one, you can find it on the playstore). I hope this answers your question. If not feel free to ask me ;).

  • @brianindiana9375
    @brianindiana9375 4 ปีที่แล้ว

    So how do you defend against this?

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

      What do you mean? Like how do you stop an ssh attack?

  • @daltonhippoman352
    @daltonhippoman352 5 ปีที่แล้ว +2

    You should do a video about doing a background check on someone without using a paid website

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

    So useful for cyberquest

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

    Dude love your videos, but WHY !! do you hate your keyboard so much? It sounds like you couldnt hit them keys any harder haha

    • @Reelix
      @Reelix 5 ปีที่แล้ว +2

      Mechanical keyboards are very very loud

  • @NekoMimiOfficial
    @NekoMimiOfficial 4 ปีที่แล้ว

    Is the password just "admin" ?

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

    You forgot to tell everyone to remove the comment hashes in the config file.

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

    Thanks ;)

  • @otroblogdemarcelo
    @otroblogdemarcelo 5 ปีที่แล้ว

    Just test this, Mint laptop running Raspbian apps...

  • @DavidMadeira29
    @DavidMadeira29 5 ปีที่แล้ว

    "I'm thinking of raping D&G for every ATC & typed out of Airport nodes... Very helpful, but thanks, I'm sourceforge 🆓️. Simply disable remote access when you're inside .." 🗨🙄🧢🎭🔧✈🔩🗳

  • @davesaldub7690
    @davesaldub7690 5 ปีที่แล้ว +2

    Stupid Siri 3:14

  • @jlyn7468
    @jlyn7468 5 ปีที่แล้ว

    I want to try all of these things but don't know how to do even the basic things.

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

    Thank you

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

    Thanks

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

    good one

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

    Great tool

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

    did anyone notice he doesn't blink :)

  • @2000YG
    @2000YG 5 ปีที่แล้ว

    ssh -X actually means X-Forwording....

  • @quidpoksnapvids3019
    @quidpoksnapvids3019 4 ปีที่แล้ว

    i want to do

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

    What have I just seen? I came here to learn about X system but the dude hacked his wifi lol ...the part before hacking was informative tho

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

    BLINK!

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

    Oh my GOD! Watching this video is just pain. You don't have any clue what you are doing. It hurts my eyes...

  • @deusvult4678
    @deusvult4678 5 ปีที่แล้ว

    First like

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

    lol what a crap, no real "hacking" ;D

  • @shellden510
    @shellden510 5 ปีที่แล้ว

    Username: toor password:1234 or root

    • @shellden510
      @shellden510 5 ปีที่แล้ว

      Ethier way bruting that would take all of 5 seconds if it didnt have security setup

  • @tubeDude48
    @tubeDude48 5 ปีที่แล้ว

    Loose the *CRAPPY* Music!!!

  • @TheTubejunky
    @TheTubejunky 5 ปีที่แล้ว

    First

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

    Do you need a boyfriend?

  • @lollubrick
    @lollubrick 5 ปีที่แล้ว

    use vi instead of nano

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

      Vimm is okay but it's a bit unintuitive

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

      Micro would have to be installed, but it looks like a decent replacement for nano - though the file is rather large and will be even larger after you add plug-ins. Micro is a terminal-based editor, not GUI, and is rumored to be usable remotely. I don't see much info about using it or installing it remotely, though.

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

    stop slapping your keyboard

  • @NyanCatProduuction
    @NyanCatProduuction 5 ปีที่แล้ว

    Can i do this on android?

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

      You can run an SSH connection on your phone.