Connect to Ubuntu Server with Putty+Xming

Asked

Viewed 131 times

2

I’m connecting my server through Putty trying to use Xming to show GUI elements but unfortunately I’m not getting it. Whenever I try to run a command line program it returns 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 was thinking, it’s necessary that the system has a graphical interface for Xming to work?

  • What is the command you are using to connect ?

  • I’m connecting by Putty

2 answers

2

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

imagem de configuração

If you still have problems loading the graphics programs, you can try this reply stackexchange. Which would set the environment variable DISPLAY=localhost:0.

  • that I’ve done, unfortunately it didn’t work :\

2


Browser other questions tagged

You are not signed in. Login or sign up in order to post.