Linux Remote Access | SSH and X11 Forwarding

Share
Embed
  • Published on Aug 5, 2019
  • Let's access our Linux box using SSH and then launch Graphic Programs using X11 Forwarding. We will be using both Windows and Linux to access our device.
    Upcloud (Get an additional 7 days and a $25 credit with promo code: christitus) upcloud.com/signup/?promo=christitus
    X11 Client for Windows: sourceforge.net/projects/xming/
    💰 My Amazon Store (RU-clip Gear, PC Hardware, and Books I recommend) 💰
    - www.amazon.com/shop/christitustech
    💰 VPN, Anti-Virus, Cloud Services and Other Recommendations 💰
    - www.christitus.com/recommendations
    🕹 Chat with me on Twitch (Live Streams) 🕹
    🎮 Mon-Wed-Fri 9AM-Noon CST 🎮
    - www.twitch.tv/christitustech
    🖥 Contact me 🖥
    - Patreon ➜ www.patreon.com/christitustech
    - Official Site ➜ www.christitus.com
    - Twitter ➜ christitustech
    🚑 Need Help!? Ask our community! 🚑
    - Discord ➜ www.christitus.com/discord
    - Reddit ➜ www.reddit.com/r/ChrisTitusTech/
    DISCLAIMER: This video and description contain affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. This help supports the channel and allows us to continue to make videos like this. Thank you for your support!
  • Science & TechnologyScience & Technology

Comments • 144

  • Chris Hatzis
    Chris Hatzis 2 days ago

    I could add many things(that I believe that are missing) here but I would like to add one important thing.
    On RHEL/CentOS/Fedora systems if we change the port to anything other than the default, we need to update the SELinux rule. We need to update it actually by running semanage port -a -t ssh_port_t -p tcp {your new port number goes here}. Thus if you haven't disabled the SELinux.

  • pecovgfx
    pecovgfx 7 days ago

    xrdp any good?

  • Geoff Lane
    Geoff Lane 25 days ago

    I privately manage a few Linux machines via ssh, two remotely from UK to US. All connections are via ssh, sometimes using a tunnel for VNC and proxy browsing or using sftp to display remote file system. On the default Ubuntu file manager (files I think it is called) there is an option to connect using sftp then it shows up in your file manager locations same as local files. This would then make all remote files easily available for editing with any local application. Personally I've never found X11 forwarding very successful. Great videos by the way.

  • Geoff Lane
    Geoff Lane 27 days ago

    Appreciate VNC can be sometimes a wee bit slow but bearing in mind two file managers failed in your demo using X forwarding maybe VNC through an SSH tunnel would be a decent option.

  • paherbst524
    paherbst524 Month ago

    You can run libGL apps if you use swrast mesa using llvmpipe. Might not work super fast, but it will allow apps to actually run. Not sure the state of Xming and if it even has the GLX and Composite extentions. Cygwin does.

  • paherbst524
    paherbst524 Month ago

    On windows I use cygwin/x . Actual openssh. Works nicely.

  • Justforfun-Gaming
    Justforfun-Gaming Month ago

    du dürftest was langsammer sprechen in Deusch damit ich die English nicht so gut können genauso Mitkommmen . Ansonsten finde ich das Klasse. Habe dich mal Aboniert. Und vielleicht nutzt du mal das Forum mit und teilst dich dort mit deinen Dingen noch besser aus zusammen .English ist auch Möglich @carrabelloy.de justforfun-gaming.de/

  • gwgux
    gwgux Month ago

    Wow, I just realized I haven't done X11 forwarding in over a decade. At one of the places I used to work at, their monitoring software was configured to SSH into Linux, AIX, and Solaris boxes and bring up status windows on a Windows PC for monitoring what was happening in each of their environments. X11 forwarding is a powerful tool when used correctly, but a lot of its previous uses has been replaced by web interfaces and the results have been a mixed bag.
    That said, just seeing it again has inspired me to take another look at it and see what I can cook up now. Web interfaces for everything built on HTML5 just doesn't do everything efficiently or as well as running an app on a remote host so there's still a good need for it. Thanks Chris, ideas are floating into my head for some of my tasks at work now. :)

  • Svein Are Karlsen
    Svein Are Karlsen Month ago

    Mounting the remote FS over SSH/SCP is better if you need to use a graphical file manager and a graphical text editor... Far less latency since only the file listing or the opened file needs to be transferred...

  • Zaubermaus
    Zaubermaus Month ago

    Please... XMing was discontinued ages ago. i suppose some if not all problems you had might just come from this really old X server.
    So PLEASE check out MobaXTerm, it is an AWESOME X-Server which also has its own SSH terminals + RDP Shells, WSL Shells, Powershell, cmd, XDMCP sessions and whatnot.... a TON of configuration options, not only fonts, window features, you can have your terminals in the program itself or just detach them... an X-Server is automatically when the program starts AND i haven't run into your latency or other problems (i can run KDE Plasma on it no problem for example).

    Here is the link: mobaxterm.mobatek.net/

  • Bandana zX
    Bandana zX Month ago

    Wow all those browser extensions. Do a video on that.

  • spikespaz
    spikespaz Month ago

    8:15 Google Chrome didn't crash. It would probably have worked. Those two were warnings from GTK, not fatal errors. At most there would have been some issues with colors and icons on the browser interface. You already had Google Chrome running in another window, probably on the physical desktop environment, and it used that to launch a new tab or your home page.

  • StringerNews1
    StringerNews1 Month ago

    20 years ago I noticed that every IP address I had at home was being portscanned by IP addresses in China. Since then I've closed down "classic" ports and used SSH for port forwarding, using only port numbers above 1024 (the higher the better) to make portscans as difficult as possible. Back when Webmin was big, I would put the Webmin HTTPS for each of my machines in order starting at something like 10011 for desktops and 10091 for servers, but have since stopped exposing that to the Internet, and stopped using Webmin. A similar port order for SSH makes it easy to remember the LAN IP by port number using PAT.

  • TBi
    TBi Month ago

    You should be able to connect to a computer by hostname using .local as the address. If server name is "debian10" then use "debian10.local". Also what are you using for the terminal, it looks great! Next to try is x11vnc and/or NX/NoMachine. And also setting up ssh keys so you don't need passwords anymore!

  • Py DevEagle
    Py DevEagle Month ago +1

    My linux sys admin friend here at work says he can run FireFox via X11 Forwarding. Is that not possible?

  • Stanislav Maltsev
    Stanislav Maltsev Month ago

    Could I use x11 forwarding to start gui app when connecting to linux server wich has console only(no graphics shell)

  • Sneaky Khajiit
    Sneaky Khajiit Month ago

    Can I request a video about setting up a stable Virtual LAN network with a friend over the net for gaming?

  • Guy Tech
    Guy Tech Month ago +1

    FWIW: I think a PPTP & XRDP is a better solution since it enables remote access from any Windows machine. Most of time when I need remote access, its from a windows machine.

  • yvrelna
    yvrelna Month ago

    If all you're using SSH X Forwarding for is to run a file manager, then you can instead just use SFTP or SSHFS instead and use a local file manager application to manage your remote files. This has the benefit that you can copy paste or drag'n'drop files to upload/download files between your local and remote machine and there's no graphic/input latency as the application will be running locally. Also, there are a number of Security issues with doing X11 forwarding if you don't fully trust the server which using SSHFS/SFTP would avoid.

  • yvrelna
    yvrelna Month ago +1

    10:40 Rather than doing those, you need to get your basic security first: make sure you use a publickey authentication to login and whitelist the users that are permitted to login via ssh using AllowUsers/AllowGroups (and make sure root is not in that whitelist).
    Once you do that, there's no chance in hell anyone is going to be able to break into your system.
    Moving your port number and rate limiting logins should be an **additional** security layer as they're not a very effective way to secure your system.

  • Jason Bassett
    Jason Bassett Month ago

    Hello Chris, very informative video, thanks. How would I go about piping say Microsoft Office from my Windows 10 PC over SSH to my Ubuntu Linux laptop, or another Windows 10 PC?

  • Abdallah Tarek
    Abdallah Tarek Month ago

    Am using debian 10 buster
    I have laptop comes with
    Dual graphics card intel hd520
    And Amd radeon r5 m430
    As default debian using intel hd 520 and I want to use Amd r5 m439 how i can do that
    Because I want to use Davinci resolve 16 on my laptop
    Video editor

    • Dingo Kidneys
      Dingo Kidneys Month ago

      askubuntu.com/questions/1068343/switch-between-intel-amd-gpu-on-18-04
      Have a look at this article. It links to several solutions.
      By the way, the question is not really on topic.
      Good luck.

  • Nahid Islam
    Nahid Islam Month ago

    say if I‘m doing this on a Mac, should I just follow the Linux instructions?

    • yvrelna
      yvrelna Month ago

      ssh on Mac works more or less the same as in Linux, the only difference here is that you'll need to install XQuartz since Mac doesn't natively support X protocol.

  • Perhaps
    Perhaps Month ago

    Is there a Linux package that is similar to the Windows version of Remote Desktop?
    I would like to remotely control a Linux box, from a local Linux box.
    I am currently doing this between two Windows Pro boxes. But I want to escape (divorce myself) from Windows, and am looking for a Linux alternative.
    Thank you.

    • Perhaps
      Perhaps Month ago

      @Ben Peddell Good to know. Thank you.

    • Ben Peddell
      Ben Peddell Month ago +1

      @Perhaps VNC does not by itself forward any audio - it only handles video, input, and some client/server combinations support clipboard. X11 also does not itself handle audio - only video, input, and clipboard.
      VNC acts more like remote desktop, except that it does not completely take over the session. i.e. instead of blanking the screen on Laptop #1, it will continue to display on Laptop #2 while you are controlling it from Laptop #1.
      X11 forwarding is inappropriate if you want to control an existing session.
      If you really want RDP, then there's always XRDP (which supports clipboard and drive forwarding).

    • Perhaps
      Perhaps Month ago

      ​@Ben Peddell I should have mentioned that Remote Desktop has an option to forward the video, but keep the audio local (which is what I need).
      I have two laptops:
      Laptop(#1) connects to a DAC (digital to analog converter). It is laptop #1 that feeds audio files, via a USB cable, to the DAC.
      Due to rather short distances, for which a USB cable can function properly, I keep laptop #1 close to the DAC, and use a 1 meter USB cable.
      Laptop #2 sits on my lap (~20 feet away from laptop #1), and connects to laptop #1, via an Ethernet cable. So laptop #2 is really just an overblown, fancy remote control, that lets me control laptop #1.
      A key issue is that the audio, from laptop #1, must not be sent to laptop #2. The audio must be allowed to do its normal processing, which is to feed audio to the DAC (not to feed laptop #2).
      This works fine, with Windows and Remote Desktop. But I really want to cast off and be done with anything and everything that is Windows. But I must make sure that I can do this, via Linux, before pulling the trigger. There are any number of Linux distros that should work great. But the remote control aspect is my main obstacle.
      Thanks for your help.

    • Ben Peddell
      Ben Peddell Month ago +1

      There are a few options:
      If it's on the internet, then use e.g. x11vnc on the server (or if it's headless then have it run something like tightvnc server), forward the VNC port over the SSH connection (using Local port forwarding - Connections -> SSH -> Tunnels in PuTTY, or the "-L localport:ip:hostport" option to ssh), and connect to that forwarded port using a VNC client.
      If it's on the local network, then have a VNC server (or x11vnc) running on the host, and connect directly to it using a VNC client.
      Alternatively, you can use X11 forwarding with the caveat that some programs won't work correctly if indirect rendering isn't configured.

  • Dennis Joslin
    Dennis Joslin Month ago

    Nice video which, unfortunately, showcases the shortcomings of X11 forwarding. Although it's more work to setup, something like XRDP or FreeNX provides a much better experience! Also, since you are covering SSH, SCP is another one that's so very useful!!

  • Julian Lai
    Julian Lai Month ago

    I have enabled X11Forwarding in the sshd_config, but it still doesn't work for gedit on Linux.
    nable to init server: Could not connect: Connection refused
    (org.gnome.gedit:23095): Gtk-WARNING **: 12:12:52.224: cannot open display:

    • Julian Lai
      Julian Lai Month ago

      @Dingo Kidneys It is faster, but it still crashes a lot though.

    • Dingo Kidneys
      Dingo Kidneys Month ago

      @Julian Lai You can try using compression by specifying the '-C' command line parameter. It might help though the man page says it can slow things down over a fast link. That doesn't seem to be your problem. :)

    • Julian Lai
      Julian Lai Month ago

      It worked now, I need to add -X in ssh, but it is so slow.

  • paul maydaynight
    paul maydaynight Month ago +2

    apt-get install worker
    oc the question arises, how do you get X11forwarding type functionality in 2019/20 when you dont run X anymore!

    • Jado’s Gaming
      Jado’s Gaming 15 days ago +1

      if wayland includes any more features, it will be heavier than X11. And Wayland still has a long way to go.

    • yvrelna
      yvrelna Month ago

      X protocol will still be supported even in Wayland, via XWayland, this is necessary to run all the legacy applications even in local desktop, so X likely still will have some life at least for another two decades. You can't port the entire world of legacy software in one day.
      Beyond that, if we still have some X applications somehow, we'll probably see solutions like of Xnest/Xephyr becoming more common to allow running legacy applications or Wayland may just decide to just make X support a permanent fixture of its core features.

  • Paul Frederick
    Paul Frederick Month ago

    This guy would freak out with a nfs share.

  • 아치 리눅스
    아치 리눅스 Month ago +1

    Ssh is integrated into windows powershell no more putty please

  • Wicus Roets
    Wicus Roets Month ago

    The Linux graphical aspect is still a bit ... confusing with regard to the multitude of display servers, display managers, window managers and desktop environments.

    How about a quick video on how to transform a minimalist Debian text installation to a graphical one, using Wayland with KDE Plasma?

  • felderup
    felderup Month ago

    i've been using xming, which has an opengl over network option, since my windows 98se days.

  • Drumpf_4_All
    Drumpf_4_All Month ago +1

    Your enthusiasm is infectious. Could you do a tutorial on setting up a FTP Server using vsftpd?

    • yvrelna
      yvrelna Month ago +1

      Just throwing out another option here, if you don't use Nextcloud's other features, I find Syncthing is just internally much better designed than Nextcloud, especially when you have lots of small files, Syncthing's custom file sync protocol makes for a significantly faster and more reliable syncing than Nextcloud which uses WebDAV (and it uses it inefficiently).
      Syncthing also does not necessarily require a server and can do peer to peer syncing if need be.

    • Drumpf_4_All
      Drumpf_4_All Month ago

      Dingo Kidneys All great ideas. Thank you for the suggestions. I suppose I could also put the files on an Apache or Nginx server and secure the connection using let’s encrypt. Or, better yet, setup a Nextcloud instance and share files that way.

    • Dingo Kidneys
      Dingo Kidneys Month ago

      @Drumpf_4_All If you have unsophisticated users who need to access your large files over the internet and particularly if they are using Windows, I would look at Dropbox or a similar service. With Dropbox you can share one particular folder with them so that it and the files in it just show up on their PCs. Or you can send them a download link to the Dropbox file so they don't have to have Dropbox installed.
      Alternatively FileZilla on Windows allows them to link to your SSH server and copy files from one pane in the window to the other. You would have to be careful not to give them too much access to your system though. Perhaps set up a 'shared' user or give each their own user on your system if they need different things.
      Really, teaching them FTP unless you're going to script it would be a significant issue.
      I've used the Dropbox solution quite a few times with good results even with a user who could break just about anything. :)

    • Drumpf_4_All
      Drumpf_4_All Month ago

      Dingo Kidneys thank you. But I have clients that I need to get large files to. FTP is the best solution. The client is not sophisticated enough to do sftp or ssh. They only know how to go to a browser and click a file to download. You can do that in a browser. Anything else I can do. I know you can harden vsftpd with ssl/tls.

    • Dingo Kidneys
      Dingo Kidneys Month ago +1

      It depends on your usage case but you could use SFTP with your ssh server to achieve the same thing. Or SSHFS with your local file manager, e.g. Thunar, Nautilus, etc. or FileZilla for Windows. This is easier and far more secure than setting up a proper FTPd.
      I would absolutely NOT expose an FTP server to the internet these days. It is so hard to secure properly compared to sshd.

  • Contour Nut
    Contour Nut Month ago +1

    SSH Episide 2: sshkeys. Episode 3: sshfs. Episode 4: Tunnels - x11vnc piped over ssh, local desktop access behind safe, key only, ssh authentication.

  • John Snyder
    John Snyder Month ago +2

    Chris, I love your videos! I've just switched from Windows to Manjaro Cinnamon - and I'm running everything out of Linux except for Quicken. I've created a KVM Windows virtual machine for sole purpose of running Quicken. I'd like to suggest some video topics that would be especially helpful for me: 1. A whole SERIES on sharing and permissions, 2. A mini-series on creating KVM virtual machines (including raw vs qcow2, BIOS vs OVMF, virtual disk caching, VNC vs Spice, NAT networking vs. bridged networking, integrating NoMachine into the mix, sharing and using mounted drives - in other words, a VERY detailed series of instructional videos), and 3. If you get through the first two and still want more, I'll be happy to add to the list!!

    Thanks for your assistance so far. I followed your instructions regarding creating a Conky and now have a very useful display on the right side of my display!

  • Repairman
    Repairman Month ago +2

    Thanks for the video - thank you. Like to mention NoMachine for full desktop. Nice command prompt in Linux, care to share the code?

  • Katrina Bryce
    Katrina Bryce Month ago

    How do you find Windows Service for Linux for SSH support? I have Ubuntu installed in it, I tried all the free ones on the App Store and that seemed to be the one that was most compatible, even though I'm not generally a Ubuntu fan.

  • Peter Jansen
    Peter Jansen Month ago

    Chris, try out spacefm, it is forked from PCManFM but improved in certain ways.I think that you will like that filemanager a lot because it is aimed at powerusers. Basically it has some rudimentary tiling-function (choose a number of windows located at a specific tile) and per tile you can have a folder pop up, when you open it the next time it remembers the last sestting. You could for example use one tile for your home-folder, one tile for your root-folder and one tile for your mounted partitions.

  • Michael Penrod
    Michael Penrod Month ago

    To ssh into my raspberry pi from Windows 10 I'm using powershell core with openssh (was already installed on Windows 10 for me) and the bash terminal looks great! That being said I haven't tweaked that terminal with custom fonts or anything so not a valid test but it does work nicely.

  • Sysosmaster
    Sysosmaster Month ago +2

    Chris Titus Tech well. Yes and no. If you trust your local network and the network you connect to than tunnelling X11 is as safe as tunnelling any other application. How ever the X11 protocols themselves are not considered “safe for internetwork use”. There are a whole heap of security holes in the X11 protocol and it’s why most admins disable it outright in favour of a vnc / OpenVPN setup for tunnelling the main desktop to a remote location (desktop :0 or :1 ). This has less of the issues of X11 but still has some.
    For any externally accessible ssh service you should employ at least
    - fail2ban or other logscanner and banner
    - key only login. Passwords are to easy to brute force / obtain via other means.
    - a proper firewall (I personally prefer CSF but that quite strict UFW if configured will also work)
    The reason google-chrome failed is that your X11 was not elevated. So it could not access the cryptographic random function if your remote box. (Something you should not want through X11).
    Also remember that access to a box is also access to your network. It is often easier to break into a mother box from the inside.
    I personally use ssh daily and keep on learning more about it (wishing I knew about it when I started working on windows 98 Remote Desktop... it would have saved me a ton of headache).

  • Terry Chootiyaa
    Terry Chootiyaa Month ago +1

    *Q. How to set up your own private APT PPA REPOSITORY server ? A: ???😐😐*

  • mercuriete
    mercuriete Month ago

    Nice Video!!!!
    X11 Forwarding is perfect xD.
    From windows you can use MobaXterm to do X11 forwarding. It integrates a X Server as well.
    mobaxterm.mobatek.net/


    Some time ago I needed to change a partition layout to a production linux server and I don't wanted to mesh around with command line interfaces.
    ssh -Y server
    gparted &

    Yes, you can do it with fdisk, but sometimes I need the confidence of seing what will be the layout in a graphical manner. If gparted had a ncurses interface, I will use it.
    cfdisk seems to be a nice alternative that I hadn't the oportunity to test it.

  • Buddy Shearer
    Buddy Shearer Month ago

    Cool, is X11 already active within SSH in Linux environments?

    • Dingo Kidneys
      Dingo Kidneys Month ago

      @yvrelna PuTTY handles that automatically, which is nice if you're using a Windows client, though I've never found that necessary with a modern SSH implementation on Linux. The man page implies that it is done automatically when using X11 forwarding.

    • yvrelna
      yvrelna Month ago

      @Dingo Kidneys Another config that you may have to do is copying the xauth cookie.

    • Dingo Kidneys
      Dingo Kidneys Month ago +2

      You often have to enable X11 forwarding for the server; /etc/ssh/sshd_config, and uncomment or set "X11Forwarding yes".
      You sometimes also have to enable X11 forwarding in the client either on the command line with '-X' or '-Y' or in ~/.ssh/config or even in /etc/ssh/ssh_config
      You can check the full configuration of your ssh server with 'sshd -T | less'. This shows all settable values, not just those in the config file.

  • domker_
    domker_ Month ago +1

    @Chris Titus Tech Try add: export XDG_CURRENT_DESKTOP=KDE in SSH session if You want a good looking Dolphin

  • benriful
    benriful Month ago +1

    To get those more complex programs to run over a remote connections you should at least use VNC instead of just normal X11. It handles the more complicated stuff easier, but it's a full desktop remote control. Also, VNC has no encryption of its own, so you should be piping it through SSH: www.techrepublic.com/article/how-to-connect-to-vnc-using-ssh/
    Personally though, I prefer the NX protocol instead. It is much more responsive and tends to even handle 1080p gaming at 60fps over an ethernet cable. Simplest way to use this is to install the proprietary NoMachine version.

    • benriful
      benriful Month ago

      @Dingo KidneysThat's true but you can also start them onto a separate "terminal " screen. In fact the default for some VNC servers is to login a new session each time . Allowing multiple concurrent desktop shares with separate users running each one.
      NX not so much no, though for what Chris was doing (i.e. run something from a server and him being the only one to do so) this is perfectly adequate. You could also force it to login to separate user accounts in order for each to have its own session. Which is actually a very good idea if you have multiple concurrent remote users, else you get stuff like file lock conflicts which isn't always easy to diagnose when one username has multiple locks on the same file.

    • Dingo Kidneys
      Dingo Kidneys Month ago

      VNC and perhaps NX usually grab control of the current display so if someone's using the machine that you want to get into, suddenly the mouse starts moving on its own and everything you're doing is displayed to someone else. Using X11 and the server machine's display manager, you can get your own desktop so you don't interfere with someone else's session.

  • HikariKnight
    HikariKnight Month ago

    the only thing i would recommend @christitustech is to use vcxsrv instead of xming, it lets you run some of the more graphical demanding gui programs and it has some more performance tweaks that xming lacks
    sourceforge.net/projects/vcxsrv/

    however both are good but i prefer vcxsrv as its newer and has opengl compatibility :) (still dont try running games over it though!)

  • Defcon
    Defcon Month ago +1

    Awesome videos thnx for opening my eyes to Linux.

  • josh mizzi
    josh mizzi Month ago

    Thank you for the intro to new file managers.

    Could you do a list of useful free and open source software for new Linux users?

  • Josh Hardin
    Josh Hardin Month ago

    wouldn't it be a significantly smoother way to go be to install xrdp and forward rdp over ssh? That's basically how I access my windows machines remotely, and then you can do session resume and stutf.

  • Steve
    Steve Month ago +1

    Great video! Thank you for your help.

  • praetorxyn
    praetorxyn Month ago

    Chris I'd like to see you do a video about the XDG Base Directory Specification to manage dotfiles instead of dumping them in home.
    Newer software usually supports it, some things like Gimp were updated to support it past a certain version, some things you can set environment variables to support it (preferable since if these are sourced properly they'll be available through the GUI too) or pass command line args, which means creating an alias / editing GUI shortcut.
    SSH is one of those "will never support it" things, as is cups. You can do it with an alias and config file, but may have problems because so many things expect ~/.ssh to be there.
    I am creating a git repo using dotbot to manage my dotfiles and have a couple of scripts for trying to force XDG compliance. The Arch Wiki has a page listing the support of various programs.

  • Vincent Ryu
    Vincent Ryu Month ago +1

    What mic are you using.?

  • Neko Master
    Neko Master Month ago

    i just finished setting ssh on windows.... well time to set it up on my phone too i guess!

    • Dingo Kidneys
      Dingo Kidneys Month ago

      I have a thing called JuiceSSH on my Android phone which works really well. However, never permit password authentication if you expose your ssh server to the internet. Set up public/private keys with a passphrase on your keyfile and then kill passwords on your server. That way you can securely access your home machine from anywhere in the world and administer it.

  • Dvizz zzivD
    Dvizz zzivD Month ago

    If you would be linux specific then your video will be blot free.

    • Ginger Kitty Project
      Ginger Kitty Project Month ago

      Richard Stallman wouldn't object except for the Windows 10 part. Since a little advertising isn't Richard Stallman his objection here, the only thing would be Windows.

  • John Smith
    John Smith Month ago

    MobaXterm > PuTTY

  • John
    John Month ago +8

    You might want to try VcXsrv instead of Xming. Pretty much identical, but VcXsrv is still being updated while Xming was last updated in 2016. The biggest problem with all of this, especially when running an X app over SSH, is remebering what machine the app is actually running on.

    • Croft
      Croft Month ago

      I wasn't aware of it, thanks for mentioning it.

  • Darwin Ranzone
    Darwin Ranzone Month ago +2

    Have you heard of X2Go?

  • Terry Chootiyaa
    Terry Chootiyaa Month ago +3

    *HI Chris , is it possible to run your own update server to update your own systems for Linux ? And not rely on the community to update or upgrade your personal servers. How could this be done ? Securely, thanks for any advise ☺*

    • yvrelna
      yvrelna Month ago

      This depends on what package manager your distro is using, but yes this is possible. If you're using apt, the download servers are just regular HTTP server, so all you really need to do is setup an HTTP caching server (e.g. squid) and tell apt to use the proxy. There's also AptCacherNG to make all these even simpler.

    • Katrina Bryce
      Katrina Bryce Month ago

      Use rsync to create your own mirror of the repository, and point your apt-sources or whatever to that instead of the official distro repository.

    • Terry Chootiyaa
      Terry Chootiyaa Month ago +1

      @shuwan4games *No not just kernels but software updates , suppose you have your own inhouse developed software and you want to update your own private servers around the world but you get to choose what is pushed out to your system and not rely on the community (as great as they are) something like your own private PPA REPOSITORY ☺*

    • shuwan4games
      shuwan4games Month ago

      do you mean your own kernels?

  • yaajf comments
    yaajf comments Month ago +2

    You should check out Xpra. TLDR: remote programs will not hang when connection breaks.
    Here is "about" section from their home page:
    " Xpra is an open-source multi-platform persistent remote display server and client for forwarding applications and desktop screens.
    It gives you remote access to individual applications or full desktops.
    On X11, it is also known as screen for X11: it allows you to run programs, usually on a remote host, direct their display to your local machine, and then to disconnect from these programs and reconnect from the same or another machine, without losing any state.
    It can also be used to forward full desktops, from X11 servers, MS Windows, or Mac OS X.
    Xpra also allows forwarding of sound, clipboard and printing services.
    Sessions can be accessed over SSH, or password protected over plain TCP sockets with or without SSL.
    Xpra is usable over reasonably slow links and does its best to adapt to changing network bandwidth constraints."
    You'll probably be able to run browser or LibreOffice remotely with Xpra.

  • Tecnic
    Tecnic Month ago +1

    Is there something similar to Windows RDP that is just as fast and usable ? I would like to be able to remote into my linux machine and use it remotely. I would like a solution that is just as native as Windows RDP is, don't wanna use teamviewer or similar software.

    • Dingo Kidneys
      Dingo Kidneys Month ago

      Forwarding the full desktop is rarely necessary. As Chris showed you can launch the GUI apps from a command line and because less stuff has to flow over the network it's a lot faster.

    • Katrina Bryce
      Katrina Bryce Month ago

      FreeRDP is an option. A bit fiddly to set up. From Windows, you can use the RDP client to access it. NX is another option, or VNC. VNC is the easiest to set up, but performance isn't that great on slow connections.

    • Master Brewer
      Master Brewer Month ago

      I use tightVNC on my Windows box to remote into my server that has X11VNC Server running. Just using on local LAN though.

  • Exit0ne
    Exit0ne Month ago +1

    The "windows glasses" are slowly coming off.. this video is going to be saved. I will use this to start the storage server.