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.
- I first installed Ubuntu 14.04 command line version only, I later realized I might need GUI over SSH then I installed ubuntu-desktop.
sudo apt get update
- Set X11 Forwarding in
/etc/ssh/sshd_config
to yes - Restart the server.
SSH using
ssh -X me@server
Using normal user, I started
gedit
usinggedit
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?