LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 07-02-2009, 02:37 AM   #1
ritesh_163
LQ Newbie
 
Registered: Jul 2009
Location: Kathmandu, Nepal.
Posts: 5

Rep: Reputation: 0
problem with Gtk-WARNING in RHEL 5 while running java?


hello everybody,

I am having problem while starting java application in RHEL 5 with 32bit. I have updated by linux machine from RHEL 4 to RHEL 5, but the same java application which run smoothly in RHEL 4 doesn't run on RHEL 5 through SSH Secure Client(remotely). Whenever I run the java application through SSH as a root, it displays error as below:
Code:
(.:4731): Gtk-WARNING **: cannot open display:
I have installed JDK 1.5. It works fine if I manually run the application in main server without remote access. It also doesn't work and display same error if it is run through crontab too.

Can anyone tell me what is the solution for this problem.
Thank You.
 
Old 07-02-2009, 04:37 AM   #2
John VV
Guru
 
Registered: Aug 2005
Location: Ann Arbor Mi.
Distribution: OpenSUSE 11.4 & Scientfic Linux 6.1
Posts: 6,733

Rep: Reputation: 623Reputation: 623Reputation: 623Reputation: 623Reputation: 623Reputation: 623
How did you do the "update" from rhel4 to rhel 5 .
Did you do the RECOMMENDED fresh install ?
a upgrade from 5.2 to 5.3 is fine and will work but a upgrade from 4 to 5.3 most likely will not.
 
Old 07-02-2009, 05:01 AM   #3
ritesh_163
LQ Newbie
 
Registered: Jul 2009
Location: Kathmandu, Nepal.
Posts: 5

Original Poster
Rep: Reputation: 0
New installation was done on new server with RHEL 5. Old server contain RHEL 4 and other java applications.
Thank You.
 
Old 07-03-2009, 04:28 AM   #4
ritesh_163
LQ Newbie
 
Registered: Jul 2009
Location: Kathmandu, Nepal.
Posts: 5

Original Poster
Rep: Reputation: 0
Now, it works through SSH remote client but when run the java application through crontab for automatic processing, it displays the error (Gtk-WARNING **: cannot open display. What sort of configuration is needed to work smoothly as in RHEL 4?

Last edited by ritesh_163; 07-03-2009 at 04:30 AM.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with running windows programs with wine under RHEL 4, x86_64 saak.stepi Linux - Software 1 12-21-2007 05:31 AM
libswt-gtk-3.2-java and libswt3.2-gtk-java conflict (etch) Lokathor Debian 8 12-20-2007 03:46 PM
Weird font problem with GTK applications running in KDE Jeshua Linux - Software 1 02-22-2006 09:16 AM
running problem of gtk application sonu1082 Linux - Software 0 11-03-2004 11:12 AM
problem when running gtk-gutella Basel Linux - Software 1 02-05-2004 03:12 AM


All times are GMT -5. The time now is 05:03 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration