Error: GDK_BACKEND does not match available displays



  • If you see this error. It is most likely because your display is not set, maybe because you have ssh'ed from one machine to another and the display has not been set.

    For instance, echoing the DISPLAY variable returns nothing.

    $ firefox
    Error: GDK_BACKEND does not match available displays
    $ echo $DISPLAY
    
    

    From your source machine, give this a try.

    $ ssh -X trainer@your-machine 
    $ echo $DISPLAY
    localhost:10.0
    

    -X Enables X11 forwarding. This can also be specified on a per-host basis in a configuration file.


Log in to reply
 

© Lightnetics 2024