Advice - X11 not functioning


 
Thread Tools Search this Thread
Operating Systems AIX Advice - X11 not functioning
# 1  
Old 04-29-2010
Bug Advice - X11 not functioning

Hello Folks

We have following software installed on our AIX box

X11.vfb - Virtual Frame Buffer Software

We also see its process running
Code:
root 528406 1 0 06:27:18 - 0:00 /usr/bin/X11/X -force -vfb -x abx -x dbe -x GLX :1

Following is the o/p of 'lslpp'
Code:
X11.vfb 5.3.0.50 /usr/lpp/gai/vfb/loadddx
/usr/lib/drivers/rcm_stub
/usr/lpp/gai
/usr/lpp/gai/vfb
/usr/lib/methods/load_rcm_stub_ext
/usr/lpp/gai/vfb/loadAbx

We get following error in logs:
Code:
[4/27/10 7:11:58:739 EDT] 00000037 WebApp E SRVE0026E: [Servlet Error]-[action]: java.lang.NoClassDefFoundError: sun/awt/X11GraphicsEnvironment

We are hitting a web app from browser and it tries to render a report which is to be opened/saved in MS-Excel.Every time we hit this functionality we get above error.

Any ideas/suggestions pls.

Regards
Abhi

Last edited by zaxxon; 04-29-2010 at 11:02 AM.. Reason: use code tags please, ty
# 2  
Old 04-29-2010
Where is your $DISPLAY pointing at?
# 3  
Old 04-29-2010
Bug

we tried setting it as:

Code:
export DISPLAY=localhost:0.0

but the error is same....

where should we set DISPLAY variable ? i had it set in my user's .profile.
# 4  
Old 04-30-2010
You use :1 as display for your X VFB. You set your $DISPLAY to *:0.0 where the 1st zero tells which X server and the second the display. Maybe you got a mismatch there.
My guess is, that the correct place to export the $DISPLAY will be most probably the environment where you start your webserver, where the JAVA app runs in that uses the VFB, ie. when you start it make sure the correct $DISPLAY is exported.

To check if your VFB is running correct etc., check out this:
IBM - The X Virtual Frame Buffer

Else there is a lot of posts in other forums etc. relating to the error message you get and most point to the thing described up there.
# 5  
Old 05-10-2010
Bug

Issue resolved....!!!

We just had to set DISPLAY variable at the right place ; and our sys admin folks forgot to reboot the server once after installing VFB.

We bounced the server once and there it was....it started working fine.

Sorry for responding late and thanks for responding to my thread.

Regards
Abhi
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Infrastructure Monitoring

Failed to read from eventlog: 31: A device attached to the system is not functioning.

Hello Team, I am getting below error on nagios to monitor windows Server 2012. Failed to read from eventlog: 31: A device attached to the system is not functioning. basically we are monitoring Eventlog file for server reboot or unexpected shutdown. Could you please help here. What could be... (0 Replies)
Discussion started by: ghpradeep
0 Replies

2. Red Hat

Functioning of 'cat' command

I need to display file, given on the command line to 'stdout' in Linux( not in red-hat )..Just like how 'cat' command is working! Basically I need to develop that command's coding part! Can somebody suggest some algorithm? (2 Replies)
Discussion started by: Mathew Antony
2 Replies

3. Shell Programming and Scripting

Expect not functioning

Hello, I plan on building an expect script and a ksh script to acquire some information and pass to the expect script. I'm very new with expect and figured I would start off slow. However, I use the spawn telnet command, run the script, and it prints out "spawn telnet" rather than doing... (3 Replies)
Discussion started by: Neqtor
3 Replies

4. Shell Programming and Scripting

cp command not functioning regularly

I have written a korn shell script . I copy a file from one mounted directory to other using cp command. This script runs daily at a time. But sporidally it fails to copy the files. So I have missing files at the destination directory for some days. Is my method a good one or is there some... (5 Replies)
Discussion started by: Golden Egg
5 Replies

5. UNIX for Advanced & Expert Users

[Solved] putty+x11:How do I pass X11 display rights to "su"?

I can log into a unix system with Putty. I've set the "X11 forwarding" checkbox, and I've verified that I can display an X11 window back on my laptop. What I need to be able to do is "su" to another uid after logging in and then run something which display a window back on my laptop, with the... (2 Replies)
Discussion started by: dkarr
2 Replies

6. Linux

Pacman not functioning in Arch

Currently in a fresh install of arch linux and I have been trying to install some stuff with pacman. Every operation returns multiple errors such as no address record when using -Sy and unable to retrieve file when trying to install something. I have tried so many different configurations of... (5 Replies)
Discussion started by: a sandwhich
5 Replies

7. UNIX for Dummies Questions & Answers

Naked x11

X :0 & export DISPLAY=:0 xterm & Can I do this with multiple displays, :1, :2, etc.? (3 Replies)
Discussion started by: uiop44
3 Replies

8. Windows & DOS: Issues & Discussions

cygwin-x/can't install xorg-x11-f100 & xorg-x11-fnts

Hello All. Really a newbie to Linux/Unix. Trying to get into Linux. Using XP PE currently. Installed cygwin and trying to intall cygwin-x. Everything else is setup nice but i can't seem to install these two packages (without whom xwin won't start) 1. xorg-x11-f100 2. xorg-x11-fnts Tried the... (1 Reply)
Discussion started by: binodbdrchand
1 Replies

9. OS X (Apple)

x11

Tried to install x11 on my powerbook with tiger (apple support can't help me) I want x11 so I can install open office I don't know anything about mac ' (3 Replies)
Discussion started by: Josiah Olson
3 Replies
Login or Register to Ask a Question