Linux GTK-Warning : cannot open display : (ubuntu 18.04)

Just starting out? Need help? Post your questions and find answers here.
User avatar
skinkairewalker
Enthusiast
Enthusiast
Posts: 635
Joined: Fri Dec 04, 2015 9:26 pm

Linux GTK-Warning : cannot open display : (ubuntu 18.04)

Post by skinkairewalker »

hello everyone !

someone know how can i fix it on linux : http://prntscr.com/lhnj13

i already set executable format to : Console & All CPU .
#NULL
Addict
Addict
Posts: 1440
Joined: Thu Aug 30, 2007 11:54 pm
Location: right here

Re: Linux GTK-Warning : cannot open display : (ubuntu 18.04)

Post by #NULL »

- do you really need to be root to run it?
- root might not have access to the display of another user. xhost might help, said here: https://www.linuxquestions.org/question ... -a-807450/
I searched the web for 'gtk-warning cannot open display', gives plenty to try 8)
User avatar
NicTheQuick
Addict
Addict
Posts: 1226
Joined: Sun Jun 22, 2003 7:43 pm
Location: Germany, Saarbrücken
Contact:

Re: Linux GTK-Warning : cannot open display : (ubuntu 18.04)

Post by NicTheQuick »

@#NULL
When the executable format was set to console it should not try to access a display server but just work.

@skinkairewalker
Unfortunality I have no idea so far. Maybe are you using some GTK function anywhere?
The english grammar is freeware, you can use it freely - But it's not Open Source, i.e. you can not change it or publish it in altered way.
Post Reply