LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-10-2012, 04:12 PM   #1
arun1234
LQ Newbie
 
Registered: Oct 2012
Location: Germany
Posts: 2

Rep: Reputation: Disabled
Error: Unable to initialize GTK+ Is Display set properly?


Hello,

I am using putty through my windows machine to access a linux server and when I try to execute a script I am getting the error "Error: Unable to initialize GTK+ Is Display set properly?" I tried exporting the display varialbe but still getting same error. I have enabled the "X11Forwarding yes" in sshd_config file as well.
 
Old 10-10-2012, 04:25 PM   #2
silendo
Member
 
Registered: Jun 2012
Location: Italy
Distribution: Slackware 13.37
Posts: 45

Rep: Reputation: Disabled
You have tried with

Code:
export DISPLAY=127.0.0.1:0.0 

and 

xhost +127.0.0.1
 
Old 10-10-2012, 04:30 PM   #3
arun1234
LQ Newbie
 
Registered: Oct 2012
Location: Germany
Posts: 2

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by silendo View Post
You have tried with

Code:
export DISPLAY=127.0.0.1:0.0 

and 

xhost +127.0.0.1
I had used export DISPLAY=127.0.0.1:0.0 and tried executing the script but again the same error. I am not able to use "xhost +127.0.0.1" I get
xhost: unable to open display "127.0.0.1:0.0".
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error: Unable to initialize gtk, is DISPLAY set properly? Sharath Ravi Linux - Newbie 5 09-26-2012 06:58 AM
Orta-Gtk theme doesn't display properly in Scientific Linux 6 neruson Linux - Desktop 1 10-04-2011 10:20 PM
unable to properly set up all monitors on ubuntu 9.04 K-Kariya Linux - Hardware 0 04-20-2010 03:10 PM
Error: Unable to initialize punkbuster Bong-Master Linux - Server 3 12-03-2007 05:11 AM
System won't boot properly knoppix doesn't initialize properly rodewan Linux - Software 0 01-23-2005 03:35 PM


All times are GMT -5. The time now is 04:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration