Last edited by bergqvistjl (2011-04-06 01:11:57) Offline #9 2011-04-06 20:32:53 xxxspuddy Member Registered: 2007-05-15 Posts: 57 Re: Can't run X applications in root - "cannot open display" Have you tried simply What should be satisfactory result of pen-testing job? Just add export XAUTHORITY=~/.Xauthority to your .bashrc or explicitly say XAUTHORITY=~/.Xauthority sudo ... You will have to register before you can post in the forums. (Be aware the forums do not accept user names with a dash "-") Also, logging in lets you avoid his comment is here
via ssh) that no graphical interface provides. –A.B. Can anyone help me? On the bug report I had added a photo showing the error message. How to make my logo color look the same in Web & Print?
Not the answer you're looking for? You can also use xauth list to check whether proper authentication information are available. help Reply With Quote 10-May-2013,03:06 #9 DenverD View Profile View Forum Posts View Blog Entries View Articles Flux Capacitor Penguin Join Date Jun 2008 Location Earth - Denmark Posts 11,204 Re: asked 2 years ago viewed 26852 times active 2 months ago Linked 11 Cannot connect to X Server when running app with sudo 2 Unable to launch gedit with sudo 1
What if other loged iin people would be able to open windows on your desktop without your allowance? Gedit Cannot Open Display Putty Henk van Velden Reply With Quote 24-Jan-2011,05:45 #7 please_try_again View Profile View Forum Posts View Blog Entries View Articles Flux Capacitor Penguin Join Date Sep 2008 Posts 7,443 Re: Using gedit and I've already reset gnome settings. A list of possible things that could cause this behaviour could help a lot. –d_inevitable May 4 '15 at 14:45 OK, not sure the cause, but I do have
If you get into the habit of editing files as root the right way, you will reduce the possibility of making mistakes that may be very time consuming to correct. Xhost: Unable To Open Display ":0" 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 If so, how? –Shrinath Oct 26 '12 at 5:45 add a comment| 3 Answers 3 active oldest votes up vote 0 down vote You can try executing export DISPLAY=:0 before the 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.
What are Fluffy Blocks? toxine View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by toxine 05-12-2010, 04:21 PM #2 acid_kewpie Moderator Registered: Jun 2001 Location: UK Gedit Cannot Open Display Ubuntu As fruttenboel stated, the problem is that when you're logged in with your user account, the X display is owned by you, so root is not allowed to perform an X Gedit Gtk-warning Cannot Open Display Browse other questions tagged 14.04 grub2 lubuntu nano gksudo or ask your own question.
Having a problem logging in? http://kelcours.com/open-display/fedora-cannot-open-display.html If an image is rotated losslessly, why does the file size change? How to delete the lines from a file that do not contain dot? I deleted the first line Defaults env_keep+="DISPLAY" and added this one: Defaults env_keep="XAUTHORIZATION XAUTHORITY TZ PS2 PS1 PATH LS_COLORS KRB5CCNAME HOSTNAME HOME DISPLAY COLORS"` share|improve this answer edited Feb 12 '14 Gedit Cannot Open Display Ssh
I hope this helps others. anticapitalista View Public Profile View LQ Blog View Review Entries View HCL Entries Visit anticapitalista's homepage! Are there continuous functions for which the epsilon-delta property doesn't hold? http://kelcours.com/open-display/export-display-linux-cannot-open-display.html Mimsy were the Borogoves - why is "mimsy" an adjective?
It's on local host in a very normal terminal window. Gtk Warning Cannot Open Display Raspberry Pi Results 1 to 9 of 9 Thread: Using gedit as root: "Gtk-WARNING **: cannot open display:" Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Or, alternatively, use DISPLAY=:0 gksudo gedit.
Aside from that I can't install extensions from the website with any browser and I don't know if the issues are realted. Purged the package gksu and reinstalled, problem still exists. Henk van Velden Reply With Quote 23-Jan-2011,07:06 #4 malcolmlewis View Profile View Forum Posts View Blog Entries Visit Homepage View Articles Administrator Join Date Jun 2008 Location Podunk Posts 20,971 Re: Ubuntu Sudo Gedit Main Menu LQ Calendar LQ Rules LQ Sitemap Site FAQ View New Posts View Latest Posts Zero Reply Threads LQ Wiki Most Wanted Jeremy's Blog Report LQ Bug Syndicate Latest
LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian [SOLVED] Gtk-WARNING **: cannot open display: :0.0 User Name Remember Me? Cube Roots are Complex? The problem is caused by user 'you' owning the display and then user 'root' wanting to get away with it. check over here worked!
If an image is rotated losslessly, why does the file size change? propofol View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by propofol 04-03-2012, 10:26 PM #10 newbiesforever Senior Member Registered: Apr 2006 Posts: In Doctor Strange what was the title of the book Stan Lee was reading in his cameo? PS: I did this in order to launch Firefox in a kind of "jail" (to avoid a vulnerability like for pdf.js in the future).
I get the gkt error . . . newbiesforever View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by newbiesforever 04-04-2012, 05:42 AM #11 anticapitalista Member Registered: May 2005 Location: Greece Review your favorite Linux distribution. Forum RulesThere's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
But not for X11.
© Copyright 2017 kelcours.com. All rights reserved.