Home > Open Display > Ubuntu Server Gtk-warning Cannot Open Display

Ubuntu Server Gtk-warning Cannot Open Display

Contents

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. If this is your first visit, be sure to check out the FAQ. 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. share|improve this answer answered Jun 29 '12 at 20:44 spinup 28426 This worked for me. Check This Out

C# TBB updating metadata value What is a satisfactory result of penetration testing assessment? 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 asked 1 year ago viewed 42725 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 or just ForwardX11 in /etc/ssh/ssh_config, then run $ ssh [email protected] -Y, to enable trusted X11 forwarding, don't know the exact cause but I'm guessing with -X some features expire after some http://askubuntu.com/questions/614387/gksu-gtk-warning-cannot-open-display-0

Gtk-warning Cannot Open Display Ssh

I want to: I'm not trying anything fancy, all I want to do is open a write-protected file with gedit as root, like so: Code: # sudo gedit /usr/bin/deadbeef ..but every Find the rate of change at a point on a polynomial Does an Eldritch Knight's war magic allow Extra Attacks? Also I have noticed that it is only happening for one of my two users on the system, not the other.

So does that mean its an access control restriction? Top TrevorH Forum Moderator Posts: 17097 Joined: 2009/09/24 10:40:56 Location: Brighton, UK Re: Cannot open display - gedit - from SSH login Quote Postby TrevorH » 2015/09/24 18:11:38 Do you have Right, but the desktop file should have two entries, not one. (Or two desktop files? Gtk Warning * * Cannot Open Display Git You are currently viewing LQ as a guest.

You have a multi user system where many users can login, either local or remote, in a GUI session. Gtk Warning Cannot Open Display Linux share|improve this answer answered Oct 22 '12 at 7:59 Joril 1,39611726 1 This helped me out on my minimal debian installation, thank you very much! –binOr Jan 16 '13 at Top Narain Posts: 4 Joined: 2015/09/24 16:51:59 Re: Cannot open display - gedit - from SSH login Quote Postby Narain » 2015/10/01 11:44:08 Hi all,I still have no success on resolving https://bbs.archlinux.org/viewtopic.php?id=191251 To verify this is happening, try sudo echo $DISPLAY and verify it is blank.

Lab colleague uses cracked software. Xhost: Unable To Open Display ":0" Like a Ubuntu or similar Distro with virtualization hosting built in?0can x11vnc be used on cloud servers without a “real” display7gksu: Gtk-WARNING **: cannot open display: :00Getting error “No protocol specified. Any suggestions/help much appreciated? Click Here to receive this Complete Guide absolutely free.

Gtk Warning Cannot Open Display Linux

This lets all users on your system (i.e. http://www.linuxquestions.org/questions/debian-26/gtk-warning-**-cannot-open-display-0-0-a-807450/ Does Intel sell CPUs in ribbons? Gtk-warning Cannot Open Display Ssh What do I do? Gtk Warning Cannot Open Display Gedit Can I use GTK themes?2How to set remote computer to allow running Matlab through ssh and x11 forwarding0OS X 10.7 with XQuartz can't X11Forward to remote Ubuntu 10.048X11 forwarding stops working

I connected by SSH and couldn't launch Gtk programs (plain X11, like "xeyes", worked however). http://bovbjerg.net/open-display/ubuntu-gnome-panel-gtk-warning-cannot-open-display.php 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. You will have to register before you can post in the forums. (Be aware the forums do not accept user names with a dash "-") Also, logging in lets you avoid I've been stuck by that problem for some time... Gtk Warning Cannot Open Display Raspberry Pi

  • vBulletin 2000 - 2016, Jelsoft Enterprises Ltd.
  • OBDII across the world?
  • Success!
  • do i log on vnc as user, run "xhost +localhost" in terminal as user then run gparted as a root?

now i can use my new 2tb toxine View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by toxine 12-09-2011, 11:13 PM #9 Not the answer you're looking for? Find More Posts by anticapitalista 11-05-2012, 01:34 PM #14 masuch Member Registered: Sep 2011 Location: /dev/null Distribution: ubuntu 64bits Posts: 135 Rep: Hi, thanks for this hints. this contact form Any idea why localhost wasn't working? –Alex Sep 24 '13 at 4:47 1 BINGO!

Limit computation technology in a futuristic society How do I make an alien technology feel alien? Gtk Warning * * Cannot Open Display Centos Furthermore you can check the options ForwardX11 and ForwardX11Trusted in your /etc/ssh/ssh_config. I worried that this would make my user account unable to run any X commands without sudoing (since root now owns X), but apparently not.

toxine View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by toxine 05-12-2010, 06:57 PM #7 fruttenboel Member Registered: Jul 2008 Location: Tilburg

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 Can you dispel a magic effect you can't perceive? I have no idea why this is necessary, it's stupidly inconvenient to say the least This has been happening since I first installed openSUSE, so I haven't screwed up anywhere in Gtk Cannot Open Display Chrome I actually tried the xhost solution before posting but didn't work , i just wanted to confirm that im doing it correctly.

The problem is caused by user 'you' owning the display and then user 'root' wanting to get away with it. But if you use ssh -Y remotemachine the remote machine is treated as trusted client. This has to do with access control to your X server. http://bovbjerg.net/open-display/ubuntu-gnome-session-warning-cannot-open-display.php Or root can take it, because it can access your files: 'export AUTHORITY=/home/greg/.Xauthority'.

Thats an interesting link and some great options. Gtk-WARNING **: cannot open display: 1 How to open wcm Commander in os x? 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 share|improve this answer edited Jul 13 '11 at 23:04 answered Jul 13 '11 at 18:54 DerfK 55949 That was it.

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 Besides, sometimes when I switch on the comp, I see just two dots on the top part of the screen..and I have to restart to bring everything back to normal.. When logging in remotely through SSH (ssh -y [email protected]), and typing in gedit, throws the following error:It's supposed to be ssh -Y (or ssh -X). So if you started the X server under your own account (greg) then any other user (like root) doesn't have access to it.