Home > Open Display > Ubuntu Gksudo Cannot Open Display

Ubuntu Gksudo Cannot Open Display

Contents

Any help guys. Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started more hot questions question feed about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation Science Select Articles, Forum, or Blog. http://bovbjerg.net/open-display/ubuntu-12-04-gksudo-cannot-open-display.php

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 I tried "export DISPLAY=:0.0" too, doesn't work either Quote: [email protected]:~$ xhost +localhost localhost being added to access control list X Error of failed request: BadValue (integer parameter out of range for To make this permanent, edit the ~/.xinitrc file like this: Run gedit ~/.xinitrc Edit the file to look like this (it should be empty to being with): #! /bin/bash xhost +localhost Thanks! –macacomen98 Feb 11 at 13:52 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up http://askubuntu.com/questions/414785/cant-open-gedit-as-root

Gedit Cannot Open Display Ubuntu

Isn't AES-NI useless because now the key length need to be longer? Yes, 'root' is the supreme God of your system and is omni potent. acid_kewpie View Public Profile View LQ Blog View Review Entries View HCL Entries Visit acid_kewpie's homepage! Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the

  • It doesn't seem like it should be necessary to tell the OS that localhost and 127.0.0.1 are equivalent, but it works, at least.
  • Reply With Quote 23-Jan-2011,06:56 #2 glistwan View Profile View Forum Posts View Blog Entries View Articles Wise Penguin Join Date Sep 2010 Location Poland Posts 1,955 Re: Using gedit as root:
  • Nano is very easy to use.
  • thank you for your time and suggestion.
  • By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features.
  • If you still get the “cannot open display” error, set the DISPLAY variable as shown below. $ export DISPLAY='IP:0.0' Note: IP is the local workstation’s IP where you want the GUI
  • Basic Geometric intuition, context is undergraduate mathematics Can a president win the electoral college and lose the popular vote Polyglot Anagrams Robbers' Thread How is the correct air speed for fuel
  • anyone any clues?
  • You cannot mix with software corresponding to the quantal quetzal release.
  • Searched some stuff but nothing appears about a desktop.

vBulletin 2000 - 2016, Jelsoft Enterprises Ltd. same for almost every other GUI programs. Ask Ubuntu works best with JavaScript enabled current community blog chat Super User Meta Super User your communities Sign up or log in to customize your list. Gtk Warning Cannot Open Display Ssh There are other reasons for this, but this, especially when asked on a forum is 99% this.

These are the instructions: echo $DISPLAY # you'll be needing this value 3 lines below sudo -i # or "su -" on older Slackwares xauth merge ~alien/.Xauthority # use your own If you want to know more about those things I suggest reading the Xsecurity manpage or the X Security extension spec. Would the members of an online imageboard (or any community) be able to build a post-apocalytic society upon their reputation? 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?

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 Xhost: Unable To Open Display ":0" Safety - Improve braking power in wet conditions Find a mistake in the following bogus proof Furniture name for waist-high floor-sitting shelf cabinet thing Professor Lewin: "Which string will break?" / I can't reproduce your problem on 14.04, but this has worked for me in the past when sudo / gksu threw this error. Not the answer you're looking for?

Gedit Gtk-warning Cannot Open Display

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 http://superuser.com/questions/310197/how-do-i-fix-a-cannot-open-display-error-when-opening-an-x-program-after-sshi I'm not super sure why it's required for some apps and not others, and I don't have a clue why it would be doing it for gparted of all things. Gedit Cannot Open Display Ubuntu I actually tried the xhost solution before posting but didn't work , i just wanted to confirm that im doing it correctly. Gedit Cannot Open Display Putty After some googling, I tried this command: Quote: su - [or sudo] xauth merge [your user account name]/.Xauthority Then I rebooted, logged back into my account, and found that I can

GO OUT AND VOTE Possible repercussions from assault between coworkers outside the office Are keywords in resolv.conf case sensitive? http://bovbjerg.net/open-display/ubuntu-cannot-open-display-0.php Chao!, bogan. "Better Solutions may bring Worsened Problems": After Lao Tse, b. Hehe, glistwan was quicker, but I have more explanation. Safety - Improve braking power in wet conditions Is adding the ‘tbl’ prefix to table names really a problem? Gtk-warning Cannot Open Display Ubuntu

What I am not understanding is why it does not run properly, whether you run it from CLI or Dropdown, something else is going on, the same challenge with Root Terminal MathSciNet review alert? Click Here to receive this Complete Guide absolutely free. this contact form I have read this before and many other guides before asking.

Can anyone help me? Gtk Warning Cannot Open Display Raspberry Pi straight lines + point of intersection in TikZ more hot questions question feed about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback US Election results 2016: What went wrong with prediction models?

Are you new to LinuxQuestions.org?

circa 405BC. If I do "sudo su" and then "nautilus" same behaviour. 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 Gtk Warning Cannot Open Display Linux I'm not using a vnc, whatever that is, but I have had the same problem in my distro (antiX, with heavy modifications), when trying to sudo synaptic and at least one

Now everything should run just fine with sudo. But not for X11. I have just installed Deb testing KDE and found this prob using my usual sudo gparted in a konsole, thanks to trying a few things from this feed I now know navigate here What do you call the practice of using (overly) complex words specific to a subject?

Was it legal to rant against trick or treating via loudspeaker during halloween? If this is your first visit, be sure to check out the FAQ. toxine View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by toxine 05-12-2010, 04:38 PM #4 acid_kewpie Moderator Registered: Jun 2001 Location: UK ssh display xorg gtk share|improve this question edited Feb 9 '14 at 12:20 Pablo Saratxaga 1133 asked Jul 13 '11 at 18:13 Daryl Spitzer 2,94893236 migrated from serverfault.com Jul 13 '11

Note that registered members see fewer ads, and ContentLink is completely disabled once you log in. But in my case it doesn't work. Nano text editor is included in the default Ubuntu installation. Find More Posts by acid_kewpie 05-12-2010, 04:54 PM #6 toxine LQ Newbie Registered: May 2010 Posts: 9 Original Poster Rep: Quote: Originally Posted by acid_kewpie yep, that's the one.

cannot open display :0.0 However, using "kdesudo" on the same system works fine with no errors. Furniture name for waist-high floor-sitting shelf cabinet thing How to reduce the width of the equation in a text paragraph? more hot questions question feed about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation Science 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

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: asked 4 years ago viewed 2467 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 The point being the only way I have been able to open up synaptic was from command prompt where I was only considered a user thereby unable to save anything except Update: As suggested by Zoredache in the comment below, I ran sudo apt-get install xbase-clients, but I continue to have the same problem.

Knatchwa (rl-marr) said on 2009-05-21: #2 Well that is certainly true, but you are only able to save marked changes when Synaptic is run as a user, in order to actually What is the common, normally open, normally closed? 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 Assigning only part of a string to a variable in bash In the context of this quote, how many 'chips/sockets' do personal computers contain?

I had a problem to run any GUI application through gksu or kdesudo as well ( Gtk-WARNING **: cannot open display: ) /as from desktop as from terminal/ I solved it