sources: what is the difference between ssh -Y and ssh -X cygwin/X warning: could not open X display share|improve this answer edited Oct 17 '14 at 10:41 answered Oct 17 '14 help because what you wrote _should_ just work tell us more about _your_ situation: - operating system and version in use - desktop environment (if applicable) in use - VM (if the server and client share a secret "cookie"(xauth list to see yours)…. The time now is 17:20. © 2015 SUSE, All Rights Reserved. weblink
Why were pre-election polls and forecast models so wrong about Donald Trump? 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 Hehe, glistwan was quicker, but I have more explanation. 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?
Isn't AES-NI useless because now the key length need to be longer? GO OUT AND VOTE What episode of Star Trek is this creature on? share|improve this answer answered Jun 29 '12 at 20:44 spinup 28426 This worked for me.
That file is read by X11 clients and the cookies available there are used to authenticate the connections. 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 How do unlimited vacation days work? Gedit Cannot Open Display Ssh YMMV with this instuctions, I still have a permission denied with audio, but video is fine. (tested on Fedora 22 with SELinux ON) share|improve this answer edited Aug 19 '15 at
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 Gedit Cannot Open Display Putty How do I deal with my current employer not respecting my decision to leave? 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 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
Anyway, try gksu gedit --display=:0 /var/lib/dpkg/status –Oli♦ Nov 15 '12 at 0:58 Hmm.. Gedit No Protocol Specified Regardless of the merits of following random instructions from the internet, /var/lib/dpkg/status is a file which I should be able to edit with gedit, but currently cannot. A temporary file is just a pipe with an attitude and a will to live. Is there a way to block an elected President from entering office?
Edit: I used nano to edit that file, but the error is still there. editing /etc/hostname) or by using a tool? –jml Dec 16 '13 at 13:18 i change host name using this command sudo hostname master.192.168.1.44 –Hari Haran Dec 16 '13 at Gedit Cannot Open Display Ubuntu From this question Cannot connect to X Server when running app with sudo and especially this question Error when trying to run an app with sudo or gksudo. Gedit Gtk-warning Cannot Open Display Browse other questions tagged sudo gedit or ask your own question.
Bug? have a peek at these guys Nano text editor is included in the default Ubuntu installation. 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 For example: sudo -i glxgears Generates the following output: No protocol specified Error: couldn't open display :0 But when I first open the terminal I can run glxgears from the user Gtk Warning Cannot Open Display Ubuntu
User contributions on this site are licensed under the Creative Commons Attribution Share Alike 4.0 International License. Gtk-WARNING **: cannot open display:0X11 Forwarding Error:0ssh X11 forwarding not working, Can't open display: localhost:11.0 Hot Network Questions How do I make an alien technology feel alien? I believe this is an error coming from gedit itself. –Bill Cheatham Nov 14 '12 at 17:58 @BillCheatham That doesn't tally with the situation. check over here When I run gedit .bashrc (for example), I get: (gedit:9510): Gtk-WARNING **: cannot open display: set | grep DISPLAY returns nothing.
This last option can open security problems. Gtk Warning Cannot Open Display Mac xhost si:localuser:foo And that was it, I was then able to launch Firefox (and other X application) using sudo and the user foo. share|improve this answer answered Feb 25 '15 at 10:15 Anuruddha lanka Liyanarachchi 348216 That is not sufficient to fix the problem - editing the .Xauthority file does the trick,
Press the keyboard combination Ctrl+O and after that press Enter to save the file being edited. 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 Offline #5 2011-04-05 15:40:39 bergqvistjl Member Registered: 2011-01-05 Posts: 50 Re: Can't run X applications in root - "cannot open display" Inxsible wrote:your ~/.Xauthority file might have been deleted. this content The 127.0.0.1 entry pointing to the actual hostname is necessary; in fact the order seems to be also relevant (put last & it won't work...) [[email protected] /etc]$ cat hosts # Do
In Debian $XAUTHORITY is usually not set explicitly. However I managed to fix it with the following commands su (enter password) cd /etc gedit hosts From there I simply removed the reference to the old computer name and replaced Code: sudo nautilus No protocol specified cannot open display: Run 'nautilus --help' to see a full list of available command line options. I just added the line Defaults env_keep+="DISPLAY" to the end of the visudo file at /etc/sudoers.
In my case I ran command below: sudo visudo In the file that opens I deleted the last line (env=http...) and I saved the file. The listener was not set to listen. You can also simply drop me a line to say hello!. I don't need to fix it anymore.
It was working fine before I installed KDE. How can I open the next/previous file alphabetically? 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: