Reply With Quote 28-May-2013,11:25 #8 wolfi323 View Profile View Forum Posts View Blog Entries View Articles Global Moderator Join Date Jan 2010 Posts 19,758 AW: Re: sudo doesnt open X programs 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. The time now is 02:21 AM. I am running just using command super-boot-manager from terminal. –Apurba Aug 16 '12 at 19:36 1 Finally the problem is solved. his comment is here
The female equivalent of "don't break my balls" What are those "sticks" on Jyn Erso's back? Not the answer you're looking for? echo $DISPLAY returns "localhost:10.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 http://askubuntu.com/questions/414785/cant-open-gedit-as-root
Does Steam executes everything inside some sandbox? Page 1 of 2 1 2 > Search this Thread 05-12-2010, 04:03 PM #1 toxine LQ Newbie Registered: May 2010 Posts: 9 Rep: Gtk-WARNING **: cannot open display: 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. LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian [SOLVED] Gtk-WARNING **: cannot open display: :0.0 User Name Remember Me?
I'm too cold, turn up the temperature I want to become a living god! share|improve this answer edited Jul 17 '12 at 20:35 answered Jul 17 '12 at 20:13 l0n3sh4rk 37417 1 On a default-configured Ubuntu system, if normaluser runs gksu -u admin anyapplication Is the effect of dollar sign the same as textit? Xhost Local:root Validate Random Die Tippers When hiking, why is the right of way given to people going up?
I found this question with the same error but no solution Unable to launch gedit with sudo EDIT I found this post in Ubuntu Forums. Gedit Cannot Open Display Ssh Yes, 'root' is the supreme God of your system and is omni potent. Looking at it (reading the man pages). https://forums.opensuse.org/showthread.php/405624-sudo-doesnt-open-X-programs Over the weekend I installed Steam.
Page 1 of 5 123 ... Sudo Gedit /etc/hosts It's a pity it doesn't work out of the box, but fortunately it can be fixed quite easily. Press the keyboard combination Ctrl+O and after that press Enter to save the file being edited. If you are inside gamer session, you can't easily access some files in your kparal home folder that you would like to, e.g.
disable this account in your ssh server configuration). https://kparal.wordpress.com/2013/02/17/how-to-run-graphical-applications-with-sudo/ Why jitter continuous value in a scatterplot? Gedit Cannot Open Display Ubuntu Use kdesu, gnomesu or xdg-su instead. Gedit Cannot Open Display Putty The instructions are created for Fedora 18.
What do you mean by "logging as user 1" => open the session with user 1 ? this content Yes, 'root' is the supreme God of your system and is omni potent. User 2 is not an admin and does not have sudo rights. Theorems demoted back to conjectures Law case title convention: Why sometimes not "Plaintiff v. Ubuntu Sudo Gedit
Please visit this page to clear all LQ-related cookies. Why wouldn't the part of the Earth facing the Sun a half year before be facing away from it now at noon? Related 1How to run a command with no-tty access, to run in admin privileges?3How can I re-instate my admin privileges?14How to run a command as a user whose login is disabled?2How http://sinistro.org/not-open/could-not-open-clipboard-xp.html Editing /etc/hosts seems to have no effect; and DNS is correctly configured ("dig localhost" correclty report both 127.0.0.1 and ::1) So, it seems to be a bug in whatever does DNS
Jim -- Jim Henderson openSUSE Forums Administrator Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C Reply With Quote 28-May-2013,20:52 #10 dhananjaya_amarakoon View Profile View Forum Posts View Blog Entries View Articles Newcomer Sudo Gedit Command Not Found This happens for any GUI app that I try to run. It involves some fiddling with the system configuration, this is not intended for general users without advanced system knowledge.
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 I am using OpenSuse 11.1 and i cant find a way to make sudo open X programs like gedit Code: -------------------- [email protected]:~> sudo gedit No protocol specified (gedit:5500): Gtk-WARNING **: cannot share|improve this answer answered Aug 31 at 16:42 Toby Speight 3,5281426 add a comment| up vote -1 down vote use this command and it will work sudo cp /home/user/.Xauthority .Xauthority share|improve Graphical Sudo Ubuntu This site is not affiliated with Linus Torvalds or The Open Group in any way.
Try logging in as user 1 then using the command gksudo app-name (replacing app-name with the app name) Hope that helps - let me know. :o) EDIT : More info as I tried export DISPLAY=localhost:10.0 while sshed into my VM and then running gedit .bashrc, but I get: (gedit:9625): Gtk-WARNING **: cannot open display: localhost:10.0 What could be different in the configuration 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). http://sinistro.org/not-open/could-not-open-port.html February 19, 2013 at 15:55 Reply Kamil Páral says: That might be a good advice for KDE guys.
hey thanks, im a newbie couldn't understand your post fully but this is what i did lol: went root and created a new vncserver channel (:2), logged off user (:1), and