LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


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

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


Hello

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

(wireshark:2677): Gtk-WARNING **: cannot open display: :0.0
^C
[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
Code:
root@new-host:~# festival --tts speech
No protocol specified
XOpenDisplay() failed
Pulseaudio: Connection refused
Are those problem related ?
 
Old 06-23-2014, 04:23 AM   #2
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,715

Rep: Reputation: 553Reputation: 553Reputation: 553Reputation: 553Reputation: 553Reputation: 553
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 04:25 AM.
 
Old 06-23-2014, 09:16 AM   #3
blackRonin
Member
 
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.
 
  


Reply


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 10:59 PM
Gtk-WARNING **: cannot open display gonzalo76 Slackware 18 12-12-2013 11:36 AM
[SOLVED] Gtk-warning: cannot open display: Vkthor Ubuntu 7 02-04-2011 09:06 PM
export display and Gtk-WARNING **: cannot open display: zimma Linux - Server 0 04-24-2009 03:51 AM
Gtk-WARNING **: cannot open display: a_l_a_n Linux - General 5 03-31-2007 04:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:34 PM.

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