You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I am trying to use glabels image in docker and get this error:
Unable to init server: Could not connect: Connection refused
(glabels-3:6): Gtk-WARNING **: 17:56:31.731: cannot open display:
Unable to init server: Could not connect: Connection refused
The text was updated successfully, but these errors were encountered:
For instance on windows, we need to use the IP address of the virtual network adapter that docker created (vEthernet):
And then in the PowerShell you define the DISPLAY variable:
set-variable -name DISPLAY -value 172.18.85.65:0.0
#localhost or 127.0.0.1 won't work.
You can define the display manually or check the log display server to confirm the current port.
And then you run it passing the variable as follows:
docker run -e DISPLAY=$DISPLAY 'mlgrm/glabels'
Hello,
I am trying to use glabels image in docker and get this error:
Unable to init server: Could not connect: Connection refused
(glabels-3:6): Gtk-WARNING **: 17:56:31.731: cannot open display:
Unable to init server: Could not connect: Connection refused
The text was updated successfully, but these errors were encountered: