Home > Debian Cannot > Debian Cannot Open Display 0.0

Debian Cannot Open Display 0.0

Try again?" I have done xhost+ & also set the DISPLAY env variable. $ echo $DISPLAY 10.217.108.64:0.0 Help me how to enable the remote administration for AIX machine. Two-headed version of \Rightarrow or \implies Product catalog What's the most robust way to list installed software in debian based distros? Update: As suggested by Zoredache in the comment below, I ran sudo apt-get install xbase-clients, but I continue to have the same problem. Subscribed! check over here

Answer: You can fix the "cannot open display" error by following the xhost procedure mentioned in this article. 1. You are currently viewing LQ as a guest. share|improve this answer answered Jun 29 '12 at 20:44 spinup 28426 This worked for me. TheJuice Linux - General 0 11-13-2007 11:55 AM Display Protocol Hierarchy Statistics with tethereal powah Linux - Software 0 08-22-2005 12:35 PM All times are GMT -5. http://unix.stackexchange.com/questions/118811/why-cant-i-run-gui-apps-from-root-no-protocol-specified

Answering no will cause GDM to attempt starting the server on :0 again. (You can change consoles by pressing Ctrl-Alt plus a function key, such as Ctrl-Alt-F7 to go to console I'm not super sure why it's required for some apps and not others, and I don't have a clue why it would be doing it for gparted of all things. If it can be any arbitrary name, then this hostname should [email protected]: Thanks, I think that # hostnamectl set-hostname localhost fixed my problem, but then again this problem is weird.

Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the Thanks Link naveen January 4, 2012, 7:53 am rly good solution ..its worked for me Link Rashid December 6, 2013, 3:23 am i install geany and when run it got below Should another display number by tried? No protocol specified [1:1:0202/085603:ERROR:browser_main_loop.cc(210)] Gtk: cannot open display: :0 docker x11 chromium share|improve this question asked Feb 8 '15 at 10:33 user3538553 3452411 add a comment| 2 Answers 2 active oldest

But I quickly found out that calling Firefox via sudo won't allow it to access audio nor the video hardware. more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed Any ideas what might cause this problem? Follow us on Google+ Follow us on Twitter Become a fan on Facebook Support Us Support this blog by purchasing one of my ebooks.

In this case, which host's IP will be considered for opening sites?mine or accessed? Browse other questions tagged debian x11 kde gui or ask your own question. Last edited by knowNothing23 (2015-03-21 20:10:35) Offline #6 2015-03-21 20:24:53 jasonwryan Forum & Wiki Admin From: .nz Registered: 2009-05-09 Posts: 19,753 Website Re: No protocol specified xhost: unable to open display I had the same question as you but for a normal user.

Click Here to receive this Complete Guide absolutely free. http://www.linuxquestions.org/questions/linux-server-73/can't-open-display-no-protocol-specified-using-gdm-4175462031/ Should another display number by tried? Enable X11 forwarding While doing ssh use the option -X to enable X11 forwarding. $ ssh [email protected] -X Enable trusted X11 forwarding, by using the -Y option, $ ssh [email protected] -Y share|improve this answer edited Feb 28 '12 at 9:11 answered Feb 21 '12 at 8:47 harrymc 191k7166409 4 +1 for the Note that IP = is the local workstation's IP

S May15 0:00 xinit /etc/X11/xinit/xinitrc -- /usr/bin/X :1 -auth /tmp/serverauth.cUFnJhfnCb root 9371 0.0 1.9 100028 9828 tty8 Shttp://homeshareware.com/debian-cannot/debian-cannot-mount-floppy.html When does “haben” push “nicht” to the end of the sentence? Infact opening gparted from the application menu has the same result. –d_inevitable Apr 26 '15 at 16:53 You shouldn't have to use gksu to run GParted. What happened to FN-1824?

  1. I've found this problem solved everywhere and I tried a lot of suggestions.
  2. My cat sat down on my laptop, now the right side of my keyboard types the wrong characters Would we find alien music meaningful?
  3. Having a problem logging in?

Just add export XAUTHORITY=~/.Xauthority to your .bashrc or explicitly say XAUTHORITY=~/.Xauthority sudo ... Not the answer you're looking for? Link Pavi October 17, 2011, 6:03 am Really good information. http://homeshareware.com/debian-cannot/debian-cannot-open-consolekit-session.html If you still get the “cannot open display” error, set the DISPLAY variable as shown below. $ export DISPLAY='IP:0.0' Note: IP is the local workstation’s IP where you want the GUI

What security operations provide confidentiality, integrity and authentication? more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed using gdm Hi all.

How to delete the lines from a file that do not contain dot?

But i am not able to connect i get "XDMCP connection failed. Not the answer you're looking for? Follow the first answer on here: http://serverfault.com/questions/51005/how-to-use-xauth-to-run-graphical-application-via-other-user-on-linux To add the xauth key from your user logged into X to the root user. are you running from X or from tty2.

For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. I'm not a big specialist in X, but may be there is a good idea to try to stop GDM, kill all the X you started before (listed in ps output) My DISPLAY variable is set correctly, isn't it? http://homeshareware.com/debian-cannot/debian-cannot-find-lpam.html nyshtyak View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by nyshtyak 05-16-2013, 08:22 PM #7 Meinchel LQ Newbie Registered: May 2013 Posts:

xhost si:localuser:foo And that was it, I was then able to launch Firefox (and other X application) using sudo and the user foo. If it can be any arbitrary name, then this hostname should do.man hostnamectl wrote: If a static hostname is set, and is valid (something other than localhost)... hari, when you're X11 forwarding, you aren't using xhost for X authentication. What happened to FN-1824?

In Debian $XAUTHORITY is usually not set explicitly. Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us. Thank you for the fix, this has been annoying me for a while now! X servers usually run on consoles 7 and higher.)' 16 70 root 10274 0.0 0.1 3956 628 tty9 Ss+ 06:33 0:00 -sh -c /usr/bin/whiptail --yesno 'There already appears to be an

Note that registered members see fewer ads, and ContentLink is completely disabled once you log in. It would come and go.And, yes code snippet I posted at the beginning is literally what my computer shows. How to react? If you still get the "cannot open display" error, set the DISPLAY variable as shown below. $ export DISPLAY='IP:0.0' Note: IP is the local workstation's IP where you want the GUI

Try disabling xhost with: xhost + (This is unlikely to work but easier to do than the following which is required if it didn't). Why does low frequency RFID have a short read range? Update your answer to include both and I'll accept it. –Daryl Spitzer Jul 13 '11 at 19:21 1 Interesting. Browse other questions tagged xorg sudo gtk gksu pkexec or ask your own question.

Back to Top