Home > Cannot Open > Ubuntu Gksudo Gedit Cannot Open Display

Ubuntu Gksudo Gedit Cannot Open Display

Contents

You cannot mix with software corresponding to the quantal quetzal release. What's the problem with this? 14.04 server apache2 gedit share|improve this question asked Jun 24 '15 at 20:37 RyanP 13 add a comment| 1 Answer 1 active oldest votes up vote 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 Lab colleague uses cracked software. http://rinfix.com/cannot-open/ubuntu-gedit-gtk-warning-cannot-open-display.html

Cannot open display: Run 'gedit --help' to see a full list of available command line options. 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 Never argue with stupid people,They will drag you down to their level and then beat you with experience.--Mark [email protected] Offline #13 2012-12-06 08:43:41 scar Member From: Hungary Registered: 2009-10-01 Posts: 418 Since you are on a server system, likely with only a terminal console available, you will need to either use X11 forwarding with ssh, or a terminal based editor.

Gedit Cannot Open Display Ubuntu

This last option can open security problems. Should I report it? Why do some banks have more than one routing number in the US? glib?

How is Anti Aliasing Implemented in Ray Tracing? Solving a discrete equation Does an Eldritch Knight's war magic allow Extra Attacks? asked 4 years ago viewed 2468 times active 3 years ago Linked 17 How can I run an application with a GUI as admin from a non-admin user session? 0 Why Gtk-warning Cannot Open Display Ubuntu asked 1 year ago viewed 42726 times active 1 year ago Linked 3 Unable to open any graphical app with “sudo” 0 X11 errors over SSH Related 2Gtk-warning cannot open display8getting

asked 2 years ago viewed 49727 times active 9 days ago Linked 3 Autostart a GUI application in Debian as root 2 Difference between 'xhost + ' and 'xhost +SI:localuser:AnotherUser' 2 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 TIKZ: foreach not compatible with calc-library? Now, I don't understand why I can't run GUI apps from a terminal when running as root.

Its only after I do sudo -i that the problem crops up. Gedit No Protocol Specified 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 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 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?

  • Wuzzat?
  • Is it possible for a diesel engine computer to detect (and prevent) a runaway condition?
  • vBulletin 2000 - 2016, Jelsoft Enterprises Ltd.
  • Adv Reply February 25th, 2013 #7 Jnfn View Profile View Forum Posts Private Message First Cup of Ubuntu Join Date Feb 2013 Beans 4 Re: gksudo fail with every GUI
  • Gtk-WARNING **: cannot open display: 1 How to open wcm Commander in os x?

Gedit Cannot Open Display Putty

Try sudo -i instead:$ su - # env |grep DISPLAY # leafpad leafpad: Cannot open display: # exit $ sudo -i # env |grep DISPLAY DISPLAY=:0.0 # leafpad ###WorMzy wrote:I share|improve this answer answered Nov 2 '13 at 20:43 Elias 1 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign Gedit Cannot Open Display Ubuntu Any clue where the problem is? Gedit Gtk-warning Cannot Open Display up vote 52 down vote favorite 23 After launching the X11 app (XQuartz 2.3.6, xorg-server 1.4.2-apple56) on my Mac (OS X 10.6.8), opening an terminal in X11 and running xhost +,

I am seen in darkness and in light, What am I? http://rinfix.com/cannot-open/ubuntu-cannot-open-tun-tap-dev.html Furthermore you can check the options ForwardX11 and ForwardX11Trusted in your /etc/ssh/ssh_config. Find a mistake in the following bogus proof Is there an actual army in 1984? Why is the 'You talking to me' speech from the movie 'Taxi Driver' so famous? Gedit Cannot Open Display Ssh

Not the answer you're looking for? User contributions on this site are licensed under the Creative Commons Attribution Share Alike 4.0 International License. Or, alternatively, use DISPLAY=:0 gksudo gedit. his comment is here Is there a way to block an elected President from entering office?

Just add export XAUTHORITY=~/.Xauthority to your .bashrc or explicitly say XAUTHORITY=~/.Xauthority sudo ... Ubuntu Sudo Gedit You may also choose to add it to su, too. So your local client sends a command to the remote machine and receives the graphical output.

share|improve this answer answered Jun 29 '12 at 20:44 spinup 28426 This worked for me.

DO NOT delete them!! Never argue with stupid people,They will drag you down to their level and then beat you with experience.--Mark [email protected] Offline #3 2012-12-04 18:56:23 WorMzy Forum Moderator From: Scotland Registered: 2010-06-16 Posts: Isn't AES-NI useless because now the key length need to be longer? Sudo Gedit /etc/hosts anyone any clues?

Unfortunate that some of them are certain nvidia driver installers and 'Steam'. 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 share|improve this answer answered Mar 9 '14 at 9:17 michas 11.2k22054 xauth info shows path to authority file –SummerBreeze Apr 7 '15 at 7:11 add a comment| up vote weblink But I quickly found out that calling Firefox via sudo won't allow it to access audio nor the video hardware.

Vent kitchen hood vent to roof turbine vent? How is Anti Aliasing Implemented in Ray Tracing? The instructions for using the nano editor are always found at the bottom of every page. Muy user has permissions to sudo. –Sanete Jul 26 '12 at 10:22 add a comment| up vote -1 down vote Try this in a terminal: su - this will ask root

Basic Geometric intuition, context is undergraduate mathematics more hot questions question feed about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Browse other questions tagged gui sudo root gksu or ask your own question. same for almost every other GUI programs. Adv Reply February 24th, 2013 #5 Jnfn View Profile View Forum Posts Private Message First Cup of Ubuntu Join Date Feb 2013 Beans 4 Re: gksudo fail with every GUI

Departing from airport before visa is valid, but arriving when it is Find the "unwrapped size" of a list Why is the 'You talking to me' speech from the movie 'Taxi Online #12 2012-12-06 05:30:34 illusionist Member From: localhost Registered: 2012-04-03 Posts: 498 Re: gedit fails to open as root in terminal ssivil wrote:The DISPLAY=:0.0 didn't help.Thanks in advance.It should be DISPLAY=:0Is nor uninstall them!! 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.

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... In Debian $XAUTHORITY is usually not set explicitly. If you wish to forward your display, you can use ssh -X and then gksudo and gedit will work, but be somewhat slow, depending on your connection to the server. export DISPLAY=:0.0 You can check whether it's set, $ env |grep DISPLAY DISPLAY=:0.0 To open up your display for all users from all hosts as your normal user you can do

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? Offline #10 2011-04-06 20:39:15 bernarcher Forum Fellow From: Germany Registered: 2009-02-17 Posts: 2,273 Re: Can't run X applications in root - "cannot open display" You may probably want to try the If I do "sudo su" and then "nautilus" same behaviour. 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?

Try rebooting and it should auto-generate the file I think. How to stop NPCs from picking up dropped items What episode of Star Trek is this creature on? 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 xorg sudo gtk gksu pkexec share|improve this question edited Apr 27 '15 at 4:55 Mark Paskal 2,19211426 asked Apr 26 '15 at 16:39 d_inevitable 84411131 You do not work