Connect to Ubuntu Server with Putty + Xming

2

I'm connecting my server to Putty trying to use Xming to display GUI elements but unfortunately I'm not getting it. Whenever I try to run a command line program it returns me the errors.

NOTE: X11 option in Putty is active

Firefox:

  

Error: GDK_BACKEND does not match available displays

GEdit:

  

Error: XDG_RUNTIME_DIR not set in the environment.

So I kept thinking, does it have to have a graphical interface for Xming to work?

    
asked by anonymous 16.10.2017 / 03:01

2 answers

2
  

So I kept thinking, it is necessary that the system has interface   graph for Xming to work?

Yes, you need to install the relevant packages. By default, VPS images are not instantiated with them.

Ubuntu Guide: link

Question on Ask Ubuntu: link

    
21.10.2017 / 05:20
2

Following this reference xming + putty , it looks like you have to set Enable X11 Forwarding e set X11 display location with localhost:0.0 , as shown. That way, your terminal will have the correct environment variables.

Ifyoucontinuetohavetroubleloadinggraphicalprograms,youcantrythisstackexchange response . What would be setting the environment variable DISPLAY=localhost:0 .

    
18.10.2017 / 13:41