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 Single word for the act of being susceptible? I was seeing these error on the command line when X would not start. Adv Reply March 1st, 2012 #7 oldos2er View Profile View Forum Posts Private Message Happy Thanksgiving! navigate here
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 X11 uses the Xauth protocol to authenticate connecting clients. How can I claim compensation? 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
My focus is to write articles that will either teach you or help you resolve a problem. The list of cookies in your ~/.Xauthority file can be displayed using xauth list: $ xauth list localhost:1012 MIT-MAGIC-COOKIE-1 bd988401cbf8xxxxxxxxxxxxxxxxxxxx some.host.example.com/unix:1012 MIT-MAGIC-COOKIE-1 bd988401cbf8xxxxxxxxxxxxxxxxxxxx If you change your host name, the X11 DISPLAY was correct. Start a coup online without the government intervening What Could Cause Flash Over / Arcing to Reappear on New Plugs?
Is it possible to sheathe a katana as a free action? Not the answer you're looking for? How can the US electoral college vote be so different to the popular vote? Gedit Cannot Open Display Ssh Symmetric group action on Young Tableaux How to handle a common misconception when writing a Master's thesis?
Try rebooting and it should auto-generate the file I think.OK well there wasn't an .Xauthority file for the root user, but there was for my normal user, which I deleted, i Mimsy were the Borogoves - why is "mimsy" an adjective? 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 Nano is very easy to use.
All rights reserved | Terms of Service current community chat Stack Overflow Meta Stack Overflow your communities Sign up or log in to customize your list. Gedit No Protocol Specified Does anyone have any idea what is going on? Link anil kumar November 6, 2014, 10:56 am i am trying to connect the IBM P740 system via xmanager , for oracle installation . But if you use ssh -Y remotemachine the remote machine is treated as trusted client.
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. Thanks for your help though. –Bill Cheatham Nov 15 '12 at 11:08 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Gedit Cannot Open Display Ubuntu 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 Gedit Gtk-warning Cannot Open Display When does TNG take place in relation to DS9?
Sharepoint 2013: Rest API - does header need to include X-RequestDigest? http://rinfix.com/cannot-open/ubuntu-cannot-open-tun-tap-dev.html Is there a way to block an elected President from entering office? share|improve this answer edited Jul 13 '11 at 23:04 answered Jul 13 '11 at 18:54 DerfK 55949 That was it. How do I deal with my current employer not respecting my decision to leave? Gtk Warning Cannot Open Display Ubuntu
Because other graphical (X11) client could sniff data from the remote machine (make screenshots, do keylogging and other nasty stuff) and it is even possible to alter those data. But, I am not sure this is the real issue ... –jml Dec 16 '13 at 13:24 ya i added like this 192.168.1.44 master.192.168.1.44 in hosts using gedit –Hari Isn't AES-NI useless because now the key length need to be longer? http://rinfix.com/cannot-open/ubuntu-gedit-gtk-warning-cannot-open-display.html 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.
That file is read by X11 clients and the cookies available there are used to authenticate the connections. Gtk Warning Cannot Open Display Mac I am seen in darkness and in light, What am I? I'm unsure what is causing the error - I had assumed DISPLAY was unset but testing this gives me a different error. –chronitis Nov 13 '12 at 13:30 And
Nano text editor is included in the default Ubuntu installation. Made /etc/hosts readable by all, and it worked fine. –Daniel Mar 6 at 2:00 add a comment| up vote 6 down vote I had this problem with my CentOS KVM server, Now, I don't understand why I can't run GUI apps from a terminal when running as root. Gtk Warning Cannot Open Display Centos Maybe it helps.Edit: and one more:Run visudoAdd env_keep+="DISPLAY XAUTHORITY"to the Defaults line so it may look like:Defaults !lecture,tty_tickets,!fqdn,env_keep+="DISPLAY XAUTHORITY"Then sudo and gksudo won't mess up with 'Gtk-WARNING **: cannot open display:'
Sharepoint 2013: Rest API - does header need to include X-RequestDigest? Then Try Gedit the file you want to edit. Previous examples of large scale protests after Presidential elections in US? weblink If you make 1 change without making the other, you will get an error.
GO OUT AND VOTE Is it possible to hand start modern planes? Enable X11 forwarding While doing ssh use the option -X to enable X11 forwarding. $ ssh [email protected] -X Enable trusted X11 forwarding, by using the -Y option, $ ssh [email protected] -Y Departing from airport before visa is valid, but arriving when it is why does this error keep popping out?