Error Unable To Initialize Gtk Is Display Set Properly Ssh
Contents |
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 answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring error unable to initialize gtk is display set properly pcsx2 developers or posting ads with us Ask Ubuntu Questions Tags Users Badges Unanswered Ask Question _ error unable to initialize gtk is display set properly logout process completed Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute: Sign up Here's how unable to initialize gtk is display set properly mac it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top GTK applications do not start up vote 3 down vote favorite 1 I have a fresh install of Ubuntu unable to initialize gtk is display set properly pgadmin3 10.04 Server on nodes of a computational cluster, and I access the nodes via ssh. I configured a X server, which I start with the command startx -- -ac. The server is running fine on port :0. Then, I set the environment variable DISPLAY to :0. Now, when I run a GTK application on the node, it fails with the following error: Error: Unable to initialize gtk, is DISPLAY set properly? Now, my question is, is there any runtime library that
Error Unable To Initialize Gtk Is Display Set Properly Ubuntu
I need for running GTK applications on top of a X server? I'm probably missing something obvious here, but I can't tell what :P 10.04 server gtk xorg share|improve this question asked Mar 1 '11 at 12:55 Greg 184129 add a comment| 1 Answer 1 active oldest votes up vote 4 down vote I found the solution by myself after searching for a while. There is apparently no need for a further package on top of the a proper X server, but you need to allow local connections to your X server by using the following commands: DISPLAY=:0 xhost +LOCAL: Then it works! share|improve this answer answered Mar 1 '11 at 13:46 Greg 184129 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a guest Name Email discard By posting your answer, you agree to the privacy policy and terms of service. Not the answer you're looking for? Browse other questions tagged 10.04 server gtk xorg or ask your own question. asked 5 years ago viewed 2587 times active 5 years ago Linked 2 How to set DISPLAY variable for a process? Related 6pgadmin3: Unable to initialize gtk, is DISPLAY set properly?5How to start mp3info-gtk2Why does my application hang in interruptible state?2gtk applications in kubuntu 11.101Forcing an application to use gtk 3 instea
#1 2012-01-16 16:52:26 sanjuchopra Member From: Gurgaon,INDIA Registered: 2010-08-01 Posts: 32 [Solved}Error: Unable to initialize gtk, is DISPLAY set properly? i am using aa software that require root access , but when
Filezilla Error Unable To Initialize Gtk Is Display Set Properly
i run it with root access is showsError: Unable to initialize gtk, is unable to initialize gtk, is display set properly? + linux DISPLAY set properly?I am using kde desktop , but when loginas root in kde and run that application it unable to initialize gtk could not open display virt-manager works fine.i have googled a lot on this but did not find any solution. Last edited by sanjuchopra (2012-01-19 10:59:39) Offline #2 2012-01-16 18:33:09 olorian Member Registered: 2011-12-16 Posts: 86 Re: http://askubuntu.com/questions/28563/gtk-applications-do-not-start [Solved}Error: Unable to initialize gtk, is DISPLAY set properly? You should NEVER login graphically as root. What software do you want to use? Is it REALLY necessary to give it root access=If you want to run it as root, you should do the following in a terminal:$ xhost + enable X access from terminals$ su login as root# /path/to/programnameOr https://bbs.archlinux.org/viewtopic.php?id=133667 better yet if you use sudo.Better yet if you start the program withgksu
Tutorials/Articles Search HCL Search Reviews Search ISOs Go to Page... LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie http://www.linuxquestions.org/questions/linux-newbie-8/error-unable-to-initialize-gtk-is-display-set-properly-4175431547/ Error: Unable to initialize GTK+ Is Display set properly? User Name Remember Me? Password Linux - Newbie This Linux forum is for members that are new to Linux. Just http://www.linuxforums.org/forum/red-hat-fedora-linux/186946-error-unable-initialize-gtk-display-set-properly.html starting out and have a question? If it is not in the man pages or the how-to's this is the place! Notices Welcome to LinuxQuestions.org, a friendly and active unable to Linux Community. You are currently viewing LQ as a guest. 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. Registration is quick, simple and absolutely free. Join our community today! Note that registered members see fewer ads, and ContentLink is unable to initialize completely disabled once you log in. Are you new to LinuxQuestions.org? 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 you need to reset your password, click here. Having a problem logging in? Please visit this page to clear all LQ-related cookies. Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter. For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try ou
Today's Posts Advanced Search Find the answer to your Linux question: Entire Site Articles Downloads Forums Linux Hosting Forum Your Distro Red Hat / Fedora Linux Error: Unable to initialize gtk, is DISPLAY set properly? If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. ** If you are logged in, most ads will not be displayed. ** Linuxforums now supports the Tapatalk app for your mobile device. Results 1 to 5 of 5 Thread: Error: Unable to initialize gtk, is DISPLAY set properly? Thread Tools Show Printable Version Email this Page… Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode Enjoy an ad free experience by logging in. Not a member yet? Register. 02-21-2012 #1 cytech View Profile View Forum Posts Private Message View Articles Just Joined! Join Date Feb 2012 Posts 3 Error: Unable to initialize gtk, is DISPLAY set properly? Hey Gurus, I am using Putty on a windows 7 machine trying to access my server, that part works fine. As soon as I try to access a program installed that has a GUI I receive the above error (Error: Unable to initialize gtk, is DISPLAY set properly?). After lots of google power I learned that the DISPLAY variable needs to be set to my windows machine (I believe, so my IP?), if I print display: Code: echo $DISPLAY It returns an empty line, so blank. I learned from this forum when using Putty you need to check of the X11 security enabled, which I have. Even with that checked if I go to the server and echo out DISPLAY it is still blank. Any advice on how to possibly debug this more? Reply With Quote 02-21-2012 #2 HROAdmin26 View Profile View Forum Posts Private Message View Articles Linux Guru Join Date Nov 2007 Posts 1,865 You have not done two things: 1) Enable X11 forwarding (setting in Putty) 2) Run a local X server on your Windows 7 system (in order to "display" the X11 data that will be sent from the Linux system) Xming is one example of a Windows X server application. * FYI, almost anything that needs to be done can be done via the command line. "Exporting" the GUI is only needed for GUI applications. Reply With Quote 02-22-2012 #3 cytech View Profile View Forum Posts Private Message View Articles Just Joined! Join Date Feb 2012 Posts 3 Hi HROAdmin26, Thank you very much for the reply and information! 1) I enabled X11 forwarding in the Putty Settings 2) I installed X