How do I fix this? Last edited by Matt Harrison; October 12th, 2010 at 04:16 PM. For full information, consult the pam_xauth man page, of course. As a monk, can I use Deflect Missiles to protect my ally? have a peek here
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 Did some more research, especially this answer http://askubuntu.com/a/137584/163331 and realised I had to add more options to the visudo file. I should clarify that this is not via ssh. tethysgods View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by tethysgods 08-11-2005, 11:06 AM #7 tethysgods Member Registered: May 2004 Posts: 166
Thus the need for giving allowance with xhost.
The xclock shows gently up and and ./RUN_setup.sh brings the promising dialog box for my Java application.
xhost Additionally you'll need to grant users access to your display.
Link anil kumar November 6, 2014, 10:56 am i am trying to connect the IBM P740 system via xmanager , for oracle installation .
Can I sell a stock immediately What is the common, normally open, normally closed?
update-notifier: Depends: gksu but it is not going to be installed. If this helped you, please take the time to rate the value of this post: http://rate.affero.net/andrewthomas/ Adv Reply October 12th, 2010 #9 lechien73 View Profile View Forum Posts Private Message share|improve this answer edited Jul 13 '11 at 23:04 answered Jul 13 '11 at 18:54 DerfK 55949 That was it. Gtk Warning Cannot Open Display Ubuntu User contributions on this site are licensed under the Creative Commons Attribution Share Alike 4.0 International License.
Bug? The following packages have unmet dependencies: ubuntu-desktop: Depends: software-properties-gtk but it is not going to be installed. share|improve this answer answered Jun 29 '12 at 20:44 spinup 28426 This worked for me. gdebi: Depends: gksu (>= 2.0.0-1ubuntu3) but it is not going to be installed.
But if I ssh -Y into my Ubuntu 11.04 machine, gedit .bashrc works. Gedit Cannot Open Display Ssh via ssh) that no graphical interface provides. –A.B. Reply With Quote 24-Jan-2011,04:42 #6 hcvv View Profile View Forum Posts View Blog Entries View Articles Global Moderator Join Date Jun 2008 Location Netherlands Posts 19,942 Re: Using gedit as root: Any help guys.
Gedit Gtk-warning Cannot Open Display
After setting it to true, it works just fine. You need to add the xhost command to the .xinitrc file for the user so it runs when you start the session. –Mark Paskal May 4 '15 at 22:50 Gedit Cannot Open Display Ubuntu Here is what I found online : If you use ssh -X remotemachine the remote machine is treated as an untrusted client. Gedit Cannot Open Display Putty Find the "unwrapped size" of a list Is calling a function with local side-effects twice in the same expression undefined behavior?
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 navigate here root) open windows on your screen. What Could Cause Flash Over / Arcing to Reappear on New Plugs? glib? Xhost: Unable To Open Display ":0"
At least on the new install of 10.04 that I did this morning X11Forwarding was enabled by default. Now everything should run just fine with sudo. Ubuntu Ubuntu Insights Planet Ubuntu Activity Page Please read before SSO login Advanced Search Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Installation & Upgrades [SOLVED] Upgrade to 10.10 root Check This Out asked 1 year ago viewed 42727 times active 1 year ago Linked 3 Unable to open any graphical app with “sudo” 0 X11 errors over SSH Related 2Gtk-warning cannot open display8getting
Prefer xauth  or other mechanisms. Ubuntu Sudo Gedit Browse other questions tagged xorg x11 su or ask your own question. share|improve this answer edited Feb 3 '14 at 9:14 answered Feb 3 '14 at 9:09 karel 23.6k95771 1 +1 for the nano editor.
This last option can open security problems.
But there is one guy which explain clearly how to activate video hardware acceleration and audio when calling Firefox via sudo. Related 8x11 looks ugly while opening a remote window from ssh. asked 5 years ago viewed 374234 times active 5 months ago Linked 1 error: XDG_RUNTIME_DIR not set in the environment. Gedit No Protocol Specified trickykid View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by trickykid 08-11-2005, 10:40 AM #3 tethysgods Member Registered: May 2004 Posts: 166
share|improve this answer answered Jul 15 '14 at 15:13 David Ramirez 12 add a comment| up vote 0 down vote I also had this problem with Solaris 10 and found that Polyglot Anagrams Robbers' Thread Find the rate of change at a point on a polynomial How can I save a file to a new location from inside Vim? Browse other questions tagged debian x11 kde gui or ask your own question. this contact form Then it says xhost [email protected] being added to access control list. –sashoalm Jan 11 '14 at 10:10 1 Oh, found something.
How to handle a common misconception when writing a Master's thesis? Just add export XAUTHORITY=~/.Xauthority to your .bashrc or explicitly say XAUTHORITY=~/.Xauthority sudo ... no protocol specified & cannot open display) My solution was to simply add the user foo to the list of authorised access to the X server. If $DISPLAY and $XAUTHORITY is set for your user, sudo will set them for the new shell, too, and everything should work fine.
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. 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 This site is not affiliated with Linus Torvalds or The Open Group in any way. After unpacking 631kB will be freed.
computer-janitor-gtk: Depends: gksu but it is not going to be installed. up vote 13 down vote favorite 9 I installed debian onto my machine last night. Browse other questions tagged xorg sudo gtk gksu pkexec or ask your own question.