Could be particularly useful if you need to install something on your VPS that only has a graphical installer.įorwarding an entire remote Linux desktop Now you can run just about any X application, from gedit to firefox. $ sudo apt install x11-apps # Debian/Ubuntu $ sudo yum install x11-apps # CentOS $ xclock Let’s install something simple to test out-how about xclock? Once it’s installed, you can run it from the VPS and it will appear on your local machine’s desktop. You should see the following output if it’s working correctly: At this point, check to make sure that X11 forwarding is indeed enabled. You should then disconnect from your VPS and reconnect. This line should be uncommented and be changed to X11Forwarding yes. Then, open /etc/ssh/sshd_config with your favorite editor and look for the X11Forwarding option. $ sudo apt install xauth # Debian/Ubuntu $ sudo yum install xorg-x11-xauth # CentOS Once into the VPS, you should first install the xauth package. To forward a remote Linux desktop running on your VPS, which allows you to view X applications on your local machine, you should connect via ssh using the -X option, which enables X forwarding, and the -C option, which enables data compression. Get limited-time deals!⚡ Forwarding single X applications Score a 16GB Performance VPS with 160GB of NVMe storage for just $99/year for a limited time! There's nothing else like it on the market, at least not at these prices. We DOUBLED the amount of blazing-fast NVMe storage on our most popular plan and beefed up the CPU offering on these plans. Develop at hyperspeed with a Performance VPS from SSD Nodes.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |