Password Debian This forum is for the discussion of Debian Linux. It allows to edit and display the authorization information in the .xauthority file.Have a look at "man xauth". Does calling a function that mutates static local variables twice in the same expression lead to undefined behavior? I can successfully use the "kdesudo" command to launch gui apps as root in both Gnome and KDE sessions without error. this contact form
At least on the new install of 10.04 that I did this morning X11Forwarding was enabled by default. Limit computation technology in a futuristic society What do you call the practice of using (overly) complex words specific to a subject? Offline #4 2014-12-19 04:23:40 jmak Member Registered: 2008-12-21 Posts: 394 Re: Gtk-WARNING **: cannot open display [Solved] karol wrote:The display should be set on its own. Gtk-WARNING **: cannot open display: Even if I try gksudo gedit /etc/apache2/sites-available/000-default.conf and sudo nano /etc/apache2/sites-available/000-default.conf it gives me the same message (including when I type in gksudo nano). http://askubuntu.com/questions/414785/cant-open-gedit-as-root
gui sudo root gksu share|improve this question edited Jul 14 '12 at 18:44 Eliah Kagan 56.7k17164256 asked Jul 14 '12 at 5:54 Sanete 28125 Hey, did you manage to Nano is very easy to use. Just to be sure, I restarted the VM (and reconnected through SSH afterward). –Daryl Spitzer Jul 13 '11 at 18:38 3 Maybe try passing the -vv option to ssh when
Browse other questions tagged 14.04 server apache2 gedit or ask your own question. sudo gedit share|improve this question edited Feb 3 '14 at 9:41 asked Feb 3 '14 at 8:46 Parto 6,705174281 Have you tried gksudo gedit /path/to/the/file/name instead? –AzkerM Feb 3 Nano text editor is included in the default Ubuntu installation. Gtk Warning Cannot Open Display Ssh Not in any detail, its a bug, dependancies being called that do not exist or have not been updated.
Or, alternatively, use DISPLAY=:0 gksudo gedit. Gedit Gtk-warning Cannot Open Display 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. 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 http://askubuntu.com/questions/163384/i-cannot-start-graphical-apps-as-root Assembler for CPU Why were pre-election polls and forecast models so wrong about Donald Trump?
thank you for your time and suggestion. Xhost: Unable To Open Display ":0" Having a problem logging in? 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: Offline #2 2011-04-05 15:06:57 SS4 Member From: !Rochford, Essex Registered: 2010-12-05 Posts: 699 Re: Can't run X applications in root - "cannot open display" Use gksu or kdesu as userpacman -S
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in. I'm using Debian Jessie and to start gedit as root this line was then finally working: sudo -H gedit share|improve this answer edited Jun 21 at 15:05 amc 3,33442141 answered Jun Gedit Cannot Open Display Ubuntu Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us. Gedit Cannot Open Display Putty Sources: http://www.nikhef.nl/~mjg/xhost_plus.html https://forums.opensuse.org/showthread.php/405624-sudo-doesnt-open-X-programs https://wiki.ubuntu.com/CustomXSession share|improve this answer edited May 4 '15 at 22:56 answered Apr 26 '15 at 23:08 Mark Paskal 2,19211426 1 This does work indeed.
Browse other questions tagged gui sudo root gksu or ask your own question. weblink Why is the 'You talking to me' speech from the movie 'Taxi Driver' so famous? 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 I've this weird problems on my ubuntu 12.04.2 machine with gnome-shell 3.4, gnome3 PPA and some backports from quantal: gksudo doesn't work anymore and it just says "cannot open display" when Gtk-warning Cannot Open Display Ubuntu
How to reply? Gtk Warning Cannot Open Display Raspberry Pi I'm using Ubuntu Precise 12.04 64-bit. Browse other questions tagged ssh display xorg gtk or ask your own question.
Please visit this page to clear all LQ-related cookies. 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 Tango Icons © Tango Desktop Project. Gtk Warning Cannot Open Display Linux 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
nor uninstall them!! Find More Posts by acid_kewpie 05-12-2010, 04:32 PM #3 toxine LQ Newbie Registered: May 2010 Posts: 9 Original Poster Rep: thanks for the fast reply, so how can i 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 his comment is here There are other reasons for this, but this, especially when asked on a forum is 99% this.
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? Can proliferate be applied to loyalty counters? I can't reproduce your problem on 14.04, but this has worked for me in the past when sudo / gksu threw this error. Can anyone help me?
Desperate was I but you saved my day!!! –reexmonkey Sep 17 at 9:29 | show 1 more comment Your Answer draft saved draft discarded Sign up or log in Sign I haved checked this: .Xauthority and .ICEauthority have my user as owner and also read/write permissions As both files are binary, I cannot understand them and check if they are corrupted Not the answer you're looking for? use: gksudo synaptic it may even be gksudo synaptic_installer if you use kde please use kdesudo in the place of gksudo.
Yes, 'root' is the supreme God of your system and is omni potent. Actually, the resolution of "localhost" wasn't! gparted uses polkit to get elevated privileges. –muru Apr 26 '15 at 16:59 @muru when I run gparted without gksu I get Root privileges are required for running gparted. It's$ echo $DISPLAY :0for my first X server and$ echo $DISPLAY :1for the other one I'm running.How exactly do you start X?
If you need to reset your password, click here. 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