26
11
I have installed Windows 10 Insider build just to use Ubuntu Bash. I noticed its entire Ubuntu on Windows so I tried to install a GUI app i.e. Gedit. It was installed properly but when I try to open it. I see an error
root@ACERASPIRE:~# gedit
error: XDG_RUNTIME_DIR not set in the environment.
(gedit:3994): Gtk-WARNING **: cannot open display:
root@ACERASPIRE:~#
Is it possible to fix this issue or get Ubuntu's GUI applications running on Windows 10. I think someone has a work around for this here
1
It appears that you're on the wrong forumn. Consider requestion to migrate this question to Askubuntu
– sjsam – 2016-05-11T14:07:14.977Only command line applications are available. Graphical applications will fail since there is no X server available. A possible idea is to work around it running Xvfb and a vnc server and client on 127.0.0.1, but I don't know if that will work. – o9000 – 2016-05-11T15:11:29.810
@o9000 Can you propose your idea in answer. I have no idea how to do that vnc and Xvfb you are talking about :(_ – Abhimanyu Aryan – 2016-05-11T15:13:26.913
Done. If it works please let me know, I am considering trying such a setup myself in the future. – o9000 – 2016-05-11T15:29:36.500
1I'm pretty new to this, but for some apps it seems that using "export DISPLAY=localhost:0.0" works where "export DISPLAY=:0" fails. – GaTechThomas – 2016-12-24T23:40:40.433