14.04 - Using GUI on ssh session - Ask Ubuntu


i running ubuntu 14.04 can't use gui applications on ssh. followed several tutorials (first one, second one) online can't still fix it. below process followed.

  1. i first installed ubuntu 14.04 command line version only, later realized might need gui on ssh installed ubuntu-desktop.
  2. sudo apt update
  3. set x11 forwarding in /etc/ssh/sshd_config yes
  4. restart server.
  5. ssh using ssh -x me@server

  6. using normal user, started gedit using gedit

but getting error below.

error: xdg_runtime_dir not set in environment.

(gedit:1771): gtk-warning **: cannot open display:

i tried fixing no success. there missing?


Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User

sql server - "Configuration file does not exist", Event ID 274 - Super User