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.
- i first installed ubuntu 14.04 command line version only, later realized might need gui on ssh installed ubuntu-desktop.
sudo apt update
- set x11 forwarding in
/etc/ssh/sshd_config
yes - restart server.
ssh using
ssh -x me@server
using normal user, started
gedit
usinggedit
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
Post a Comment