Chao!, bogan. "Better Solutions may bring Worsened Problems": After Lao Tse, b. Gedit No Protocol Specified Posting in the Forums implies acceptance of the Terms and Conditions. What is this line of counties voting for the Democratic party in the 2016 elections? For full information, consult the pam_xauth man page, of course.
But if I ssh -Y into my Ubuntu 11.04 machine, gedit .bashrc works. I connected by SSH and couldn't launch Gtk programs (plain X11, like "xeyes", worked however). Gedit Cannot Open Display Ubuntu Any ideas what the cause of this could be? –d_inevitable Apr 27 '15 at 22:21 Yes, it's a security feature of X. Gedit Gtk-warning Cannot Open Display I'm still a little new in openSUSE, Ubuntu has been my OS for the last couple of years.
To edit the file under sudo, just use sudo nano rather than gksudo. http://softwaredevelopercertification.com/cannot-open/ubuntu-cannot-open-tun-tap-dev.php 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 Can anyone help me? same for almost every other GUI programs. Gedit Cannot Open Display Ssh
Just add export XAUTHORITY=~/.Xauthority to your .bashrc or explicitly say XAUTHORITY=~/.Xauthority sudo ... Related 2What's the difference between sudo and gksudo when launching graphical applications?0How do I switch default root authorization app?2Allow “root” program to run without privileges0I can't run graphical programs with sudo Offline #2 2012-12-04 18:49:55 illusionist Member From: localhost Registered: 2012-04-03 Posts: 498 Re: gedit fails to open as root in terminal What DE/WM you are using ? http://softwaredevelopercertification.com/cannot-open/ubuntu-gedit-gtk-warning-cannot-open-display.php What if other loged iin people would be able to open windows on your desktop without your allowance?
Let's say I want to start firefox using the user account foo. Ubuntu Sudo Gedit Can I sell a stock immediately Is adding the ‘tbl’ prefix to table names really a problem? The time now is 01:23 AM.
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. Topics: Active | Unanswered Index »Newbie Corner »Can't run X applications in root - "cannot open display" Pages: 1 #1 2011-04-05 14:57:17 bergqvistjl Member Registered: 2011-01-05 Posts: 50 Can't run X I'm logged in as bar: [[email protected] ~]$ sudo -u foo -H firefox Sadly that command failed with the same error as in the question (i.e. Sudo Gedit /etc/hosts If your command violates some security settings you'll receive an error instead.
Build me a brick wall! You may take a look at those. Missing } inserted. \int dx = x + C & What is the significance of the robot in the sand? this contact form Start a coup online without the government intervening Furniture name for waist-high floor-sitting shelf cabinet thing Word for a Fact Believed by a Sub-Culture What is the most someone can lose
Is there a way to block an elected President from entering office? Not the answer you're looking for? Press the keyboard combination Ctrl+X to exit nano. Browse other questions tagged 14.04 server apache2 gedit or ask your own question.
To know or not to know ...... Forcing everyone to speak the same language How do I deal with my current employer not respecting my decision to leave? Offline #11 2011-04-06 21:23:43 bohoomil Member Registered: 2010-09-04 Posts: 2,376 Website Re: Can't run X applications in root - "cannot open display" Found again among my notes: Gtk-WARNING **: cannot open How is Anti Aliasing Implemented in Ray Tracing?
It's just not evenly distributed yet.”― William Gibson Offline #14 2012-12-06 09:56:04 illusionist Member From: localhost Registered: 2012-04-03 Posts: 498 Re: gedit fails to open as root in terminal scar wrote:for While there are commands to run graphical applications as root, you are strongly advised to use the nano text editor, which normally is run from the terminal, for editing files as share|improve this answer answered Jun 24 '15 at 20:52 dobey 24.6k32261 it still gives me the same error message –RyanP Jun 24 '15 at 20:58 another problem DISPLAY was correct.
© Copyright 2017 softwaredevelopercertification.com. All rights reserved.