Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

How to install X client on server

📅 2017-Oct-25 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ x11 ⬩ 📚 Archive

Many people prefer to install Ubuntu Server instead of Ubuntu Desktop on servers. The Server variant does not come with any X11 client or server by default. So, if you SSH to the server (with X11 forwarding) and run any X or GUI application, it cannot show a window on your local computer.

What is needed to run X11 or GUI apps on the server through SSH is an X11 client. Installing that is easy:

$ sudo apt install xauth

Reference: ServerGUI

Tried with: Ubuntu 16.04


© 2022 Ashwin Nanjappa • All writing under CC BY-SA license • 🐘 @codeyarns@hachyderm.io📧