How to install X client on server

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

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.