0

I have heard that I can use "X11 forwarding" (whatever that means) to display graphics generated on a remote server on my local machine. Therefore, I followed these instructions (installed Xming, connecting via PuTTY) and advice from linked articles (not using PuTTY), and got nowhere. Using Ubuntu 18.04.4 (LTS) as a non-sudoer logging in with VPN access.

Here is the error I keep receiving when typing the command xclock (and yes, which xclock returns usr/bin/xclock so it is installed).

Error: Can't open display:

Regardless of how I set $DISPLAY using commands such as:

export DISPLAY=localhost:0.0

I always get this message back.

tdMJN6B2JtUe
  • 143
  • 1
  • 5

1 Answers1

1

X11 forwarding means forwarding the X11 graphics created on the remote machine back to your local machine (as you stated).

I have found Xming and Putty to be quite tricky and somewhat outdated.

mobaxterm is a more integrated and powerful modern tool to achieve this (using windows locally, while remote is a linux server).

Having said that, if you are using Ubuntu on your local and remote Pcs you should NOT need xming or Putty. Please let us know if your local machine is Ubuntu or Windows.

colindaven
  • 104
  • 5