Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-22-2014, 10:21 AM   #1
Registered: Jun 2014
Distribution: Debian 9.6
Posts: 68

Rep: Reputation: Disabled
Gtk-WARNING **: cannot open display: :0.0


I have problem with running wireshark
root@new-host:~# wireshark &
[1] 2677
root@new-host:~# No protocol specified

(wireshark:2677): Gtk-WARNING **: cannot open display: :0.0
[1]+  Exit 1                  wireshark
I remember that i once solved this problem with xhost +
but this not working any more.
Also i have problem with festival
root@new-host:~# festival --tts speech
No protocol specified
XOpenDisplay() failed
Pulseaudio: Connection refused
Are those problem related ?
Old 06-23-2014, 03:23 AM   #2
Senior Member
Registered: Mar 2012
Posts: 1,876

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
You are trying to run them as root.
If root privs are required, use gksudo or such from your regular user.

Last edited by descendant_command; 06-23-2014 at 03:25 AM.
Old 06-23-2014, 08:16 AM   #3
Registered: Jun 2014
Distribution: Debian 9.6
Posts: 68

Original Poster
Rep: Reputation: Disabled
As regular user is the same (only festival eotking as regular user)
Same problem with nautilus.

I don't understand, i never used gksudo before, and i didn't have that problems.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Gtk-WARNING **: cannot open display: :0.0 toxine Debian 23 08-06-2019 09:59 PM
Gtk-WARNING **: cannot open display gonzalo76 Slackware 18 12-12-2013 10:36 AM
[SOLVED] Gtk-warning: cannot open display: Vkthor Ubuntu 7 02-04-2011 08:06 PM
export display and Gtk-WARNING **: cannot open display: zimma Linux - Server 0 04-24-2009 02:51 AM
Gtk-WARNING **: cannot open display: a_l_a_n Linux - General 5 03-31-2007 03:44 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:06 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration