Home > Open Display > Ubuntu Cannot Open Display Gedit

Ubuntu Cannot Open Display Gedit


US Election results 2016: What went wrong with prediction models? I just added the line Defaults env_keep+="DISPLAY" to the end of the visudo file at /etc/sudoers. I connected by SSH and couldn't launch Gtk programs (plain X11, like "xeyes", worked however). In either case, it is unfit to exist.-Lysander Spooner Offline #8 2012-12-04 19:40:33 anonymous_user Member Registered: 2009-08-28 Posts: 3,058 Re: gedit fails to open as root in terminal Do not forget have a peek here

asked 4 years ago viewed 20592 times active 1 year ago Linked 12 How do I run a graphical application on a remote server when logged in through SSH? 0 Sublime How to handle swear words in quote / transcription? DISTRO: Xubuntu 14.04-64bit --- Code-tags --- Boot-Repair --- Grub2 wiki & Grub2 Basics --- RootSudo --- Wireless-Info Adv Reply November 29th, 2011 #4 mcduck View Profile View Forum Posts Private Browse other questions tagged sudo gedit or ask your own question. why not find out more

Gedit Cannot Open Display Putty

Boss sends a birthday message. Using gksudo doesn't help either which returns Cannot open display: Run 'gedit --help' to see a full list of available command line options. Allow clients to connect from any host using xhost+ Execute the following command to disable the access control, by which you can allow clients to connect from any host. $ xhost 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.

  1. How good should one be to participate in PS?
  2. Editing /etc/hosts seems to have no effect; and DNS is correctly configured ("dig localhost" correclty report both and ::1) So, it seems to be a bug in whatever does DNS
  3. I'm using Debian Jessie and to start gedit as root this line was then finally working: sudo -H gedit share|improve this answer edited Jun 21 at 15:05 amc 3,33442141 answered Jun
  4. How to capture disk usage percentage of a partition as an integer?
  5. How is Anti Aliasing Implemented in Ray Tracing?
  6. Will I get the same result if I use 18-55mm lens at 55mm (full zoom) and 55-200mm lens at 55mm (no zoom), if not, then why?
  7. Vent kitchen hood vent to roof turbine vent?

asked 1 year ago viewed 2228 times active 1 year ago Linked 33 Why is my Apache not working after upgrading to Ubuntu 14.04? Press the keyboard combination Ctrl+X to exit nano. Does calling a function that mutates static local variables twice in the same expression lead to undefined behavior? Gtk Warning Cannot Open Display Ubuntu Any ideas or links to supported versions that are compatible with the G4 or PowerPC?

So set the IP manually, as harrymc suggests: export DISPLAY="" Then X11 programs should be fine. Gedit Gtk-warning Cannot Open Display I want to: I'm not trying anything fancy, all I want to do is open a write-protected file with gedit as root, like so: Code: # sudo gedit /usr/bin/deadbeef ..but every All men have stood for freedom...For freedom is the man that will turn the world upside down.Gerrard Winstanley. http://askubuntu.com/questions/640591/ubuntu-14-04-gedit-error-cannot-open-display The time now is 16:54. © 2015 SUSE, All Rights Reserved.

Thanks for the quick replies! Gedit No Protocol Specified share|improve this answer edited Jul 10 '12 at 21:28 slhck 127k38322366 answered Jul 10 '12 at 21:26 Oracle2066 211 add a comment| up vote 2 down vote If you have this share|improve this answer answered Sep 10 '12 at 4:33 Ketan Patel 6,68363655 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Straight line equation Do we know Ford's old name?

Gedit Gtk-warning Cannot Open Display

I don't know how to go back and check. why does this error keep popping out? Gedit Cannot Open Display Putty MathSciNet review alert? Gedit Cannot Open Display Ssh How to capture disk usage percentage of a partition as an integer?

What is the meaning of ''cry oneself"? navigate here Build me a brick wall! share|improve this answer answered Oct 22 '12 at 7:59 Joril 1,39611726 1 This helped me out on my minimal debian installation, thank you very much! –binOr Jan 16 '13 at I have done a few things after that to no avail. Xhost: Unable To Open Display ""

share|improve this answer edited Feb 3 '14 at 9:14 answered Feb 3 '14 at 9:09 karel 23.6k95771 1 +1 for the nano editor. Try again?" I have done xhost+ & also set the DISPLAY env variable. $ echo $DISPLAY Help me how to enable the remote administration for AIX machine. Install xbase-clients, if it isn't installed already. –Zoredache Jul 13 '11 at 18:22 I installed it but still have the same problem. (See above.) –Daryl Spitzer Jul 13 '11 Check This Out Note the uppercase letter.Sorry for the typo in my question, I use ssh -Y [email protected], also tried with ssh -XC [email protected] - the same issue persists.TrevorH wrote:Also, ssh X11 forwarding DISPLAY

Then just set it and export it. Sudo Gedit Command Not Found Press the keyboard combination Ctrl+O and after that press Enter to save the file being edited. But i am not able to connect i get "XDMCP connection failed.

But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless

In the context of this quote, how many 'chips/sockets' do personal computers contain? Read more about Ramesh Natarajan and the blog. Offline #9 2012-12-04 19:54:11 ssivil Member Registered: 2011-09-23 Posts: 28 Re: gedit fails to open as root in terminal illusionist wrote:What DE/WM you are using ?Gnome. Gtk Warning Cannot Open Display Centos All I remember is it had something to do with fonts.

Hehe, glistwan was quicker, but I have more explanation. Why were pre-election polls and forecast models so wrong about Donald Trump? sources: what is the difference between ssh -Y and ssh -X cygwin/X warning: could not open X display share|improve this answer edited Oct 17 '14 at 10:41 answered Oct 17 '14 this contact form Wuzzat?Assuming you're not joking:ArchWiki wrote: sux (wrapper around su which will transfer your X credentials) $ sux root name-of-apphttps://wiki.archlinux.org/index.php/Ru … ps_as_root(edit) snaked again...

The learning curve is a bit steep in the beginning, but it's well worth it. Assigning only part of a string to a variable in bash How can I open the next/previous file alphabetically? ubuntu 14.04.