1

I am running Ubuntu 14.04 but I can't use GUI applications over SSH. I followed several tutorials (first one, second one) online but I can't still fix it. Below is the process I followed.

  1. I first installed Ubuntu 14.04 command line version only, I later realized I might need GUI over SSH then I installed ubuntu-desktop.
  2. sudo apt get update
  3. Set X11 Forwarding in /etc/ssh/sshd_config to yes
  4. Restart the server.
  5. SSH using ssh -X me@server

  6. Using normal user, I started gedit using gedit

But I am getting the error below.

error: XDG_RUNTIME_DIR not set in the environment.

(gedit:1771): Gtk-WARNING **: cannot open display:

I tried fixing it but to no success. Is there anything that I am missing?

fanbondi
  • 121

0 Answers0