Home > Cannot Open > Ubuntu Sudo Gedit Cannot Open Display

Ubuntu Sudo Gedit Cannot Open Display

Contents

Related 8x11 looks ugly while opening a remote window from ssh. why does this error keep popping out? share|improve this answer answered Jul 15 '14 at 15:13 David Ramirez 12 add a comment| up vote 0 down vote I also had this problem with Solaris 10 and found that YMMV with this instuctions, I still have a permission denied with audio, but video is fine. (tested on Fedora 22 with SELinux ON) share|improve this answer edited Aug 19 '15 at http://bovbjerg.net/cannot-open/ubuntu-gksudo-gedit-cannot-open-display.php

Nub:A small lump or protuberance Adv Reply October 19th, 2010 #4 mcgiwer View Profile View Forum Posts Private Message First Cup of Ubuntu Join Date Jan 2009 Beans 5 Re: Again there can be many, local and remote. The command above causes to carry on user-specific X-server settings from the current session. How can I claim compensation?

Gedit Cannot Open Display Ubuntu

If you don't have a terminal emulator open at that time and you are unable to open one because of the authentication error, you could switch to the console (text mode), If you want to know more about those things I suggest reading the Xsecurity manpage or the X Security extension spec. share|improve this answer edited Jul 29 '15 at 17:53 answered Jul 29 '15 at 17:40 dlundy1 11 add a comment| Your Answer draft saved draft discarded Sign up or log the client is using xauth authentication mechanism.

Professor Lewin: "Which string will break?" / Me: "That one." / Professor Lewin: "Wrong!" Does Intel sell CPUs in ribbons? By hand (i.e. References: http://askubuntu.com/a/467994/185132 share|improve this answer answered Feb 4 '15 at 19:08 crisron 120111 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Gedit Cannot Open Display Ssh To know or not to know ......

For example, launching Oracle Installer on remote server also gives the "cannot open display" error. Gedit Cannot Open Display Putty Made /etc/hosts readable by all, and it worked fine. –Daniel Mar 6 at 2:00 add a comment| up vote 6 down vote I had this problem with my CentOS KVM server, Why were pre-election polls and forecast models so wrong about Donald Trump? If it is to another display number, e.g. :ddd.0, then you should change the added host entry accordingly to "($hostname)/unix:ddd".

Please, if you have a useful answer add it below. –Bill Cheatham Nov 14 '12 at 17:56 Hey, did you get a solution for this? Gedit No Protocol Specified debian x11 kde gui share|improve this question asked Mar 9 '14 at 7:31 Octopus 5634820 stackoverflow.com/a/20612084 this worked perfectly for me. –user88494 Oct 20 '14 at 9:42 add a Is it possible to hand start modern planes? One of the best editor which anyone could find easier to operate. –AzkerM Feb 3 '14 at 9:13 @Karel I finally used nano to make the changes but I

  1. From this question Cannot connect to X Server when running app with sudo and especially this question Error when trying to run an app with sudo or gksudo.
  2. Open GUI applications in that host After opening ssh connection to the remote host as explained above, you can open any GUI application which will open it without any issue.
  3. The time now is 01:20 AM.
  4. The Ubuntu guys must be messing around with defaults again. –Zoredache Jul 13 '11 at 19:50 1 @DerfK, in my system "X11Forwarding yes" was there already still I am getting
  5. How to stop NPCs from picking up dropped items Is it possible for a diesel engine computer to detect (and prevent) a runaway condition?
  6. If this is your first visit, be sure to check out the FAQ.
  7. In the context of this quote, how many 'chips/sockets' do personal computers contain?
  8. 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

Gedit Cannot Open Display Putty

Adv Reply March 1st, 2012 #7 oldos2er View Profile View Forum Posts Private Message Happy Thanksgiving! Limit computation technology in a futuristic society I am seen in darkness and in light, What am I? Gedit Cannot Open Display Ubuntu You can check if your new hostname have an entry in /etc/hosts else add it. Gedit Gtk-warning Cannot Open Display Forcing everyone to speak the same language Teenage daughter refusing to go to school Are keywords in resolv.conf case sensitive?

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 weblink share|improve this answer edited Feb 28 '12 at 9:11 answered Feb 21 '12 at 8:47 harrymc 191k7168410 4 +1 for the Note that IP = is the local workstation's IP Press the keyboard combination Ctrl+X to exit nano. Cannot open display: Run 'gedit --help' to see a full list of available command line options. Gtk Warning Cannot Open Display Ubuntu

I have no idea why this is necessary, it's stupidly inconvenient to say the least This has been happening since I first installed openSUSE, so I haven't screwed up anywhere in I hope this helps others. What episode of Star Trek is this creature on? http://bovbjerg.net/cannot-open/ubuntu-gedit-gtk-warning-cannot-open-display.php When does TNG take place in relation to DS9?

Follow us on Google+ Follow us on Twitter Become a fan on Facebook Support Us Support this blog by purchasing one of my ebooks. Gtk Warning Cannot Open Display Mac share|improve this answer edited Dec 16 '13 at 13:49 answered Dec 16 '13 at 13:25 Hristo Iliev 43.9k357104 now its working fine thank you very much –Hari Haran Dec How can I open the next/previous file alphabetically?

Because other graphical (X11) client could sniff data from the remote machine (make screenshots, do keylogging and other nasty stuff) and it is even possible to alter those data.

Select Articles, Forum, or Blog. Anyway, try gksu gedit --display=:0 /var/lib/dpkg/status –Oli♦ Nov 15 '12 at 0:58 Hmm.. X11 uses the Xauth protocol to authenticate connecting clients. Gtk Warning Cannot Open Display Centos You can also simply drop me a line to say hello!.

What if other loged iin people would be able to open windows on your desktop without your allowance? If I set manually DISPLAY=127.0.0.1:10.0, or DISPLAY=::1:10.0 it does work. thanks anyway :) –Orian Zinger Oct 21 '15 at 21:20 add a comment| up vote 1 down vote I had the same problem. his comment is here I had the same question as you but for a normal user.

But if I ssh -Y into my Ubuntu 11.04 machine, gedit .bashrc works. 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. Problem with function inside brackets. In the context of this quote, how many 'chips/sockets' do personal computers contain?

DistroXubuntu Re: No protocol specified cannot open display: Closed, necromancy. Thank you for the fix, this has been annoying me for a while now! Ubuntuforums posting guidelines Things You Can't Do With A GUI: Finding Stuff Adv Reply Quick Navigation General Help Top Site Areas Settings Private Messages Subscriptions Who's Online Search Forums Forums TIKZ: foreach not compatible with calc-library?

The time now is 17:20. © 2015 SUSE, All Rights Reserved. Offline #2 2011-04-05 15:06:57 SS4 Member From: !Rochford, Essex Registered: 2010-12-05 Posts: 699 Re: Can't run X applications in root - "cannot open display" Use gksu or kdesu as userpacman -S Can I use GTK themes?2How to set remote computer to allow running Matlab through ssh and x11 forwarding0OS X 10.7 with XQuartz can't X11Forward to remote Ubuntu 10.048X11 forwarding stops working Nub:A small lump or protuberance Adv Reply July 13th, 2008 #2 dracayr View Profile View Forum Posts Private Message Dipped in Ubuntu Join Date May 2008 Beans 518 Re: No

The listener was not set to listen. Same symptom of empty $DISPLAY variable (no help setting/exporting it manually). For example: sudo -i glxgears Generates the following output: No protocol specified Error: couldn't open display :0 But when I first open the terminal I can run glxgears from the user How is the correct air speed for fuel combustion obtained at the inlet of the combustor?

no protocol specified & cannot open display) My solution was to simply add the user foo to the list of authorised access to the X server.