on 06-29-2010 9:43 PM
Hi,
Can anybody tell me the command to install and configure Xvfb for Z/os on SAP.
Actually we are trying to develop some java application for which Xvfb need to be installed on Linux box and we have Z/Os linux mainfram.
I have already downloaded the RPM and extraced under /usr/bin
now whn i say "install Xvfb" it gives error like cannot execute binary file.
Can anybody give me details, how can i go for this ???
Regards
> I have already downloaded the RPM and extraced under /usr/bin
> now whn i say "install Xvfb" it gives error like cannot execute binary file.
rpm files are usually installed using "rpm -i <filename>.rpm".
Markus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
> Then I downloaded it from site, unziped and got Xvfb. As per the nites I need to type command like ./extract -C Xvfb but it says no file or folder ./extract then I tried to install Xvfb or simple Xvfb it says unable to ececute binary
are you sure you downloaded the binary for the correct platform?
What's the output of
file `which Xvfb`
Markus
> /usr/X11R6/bin # file which Xvfb
> which: cannot open `which' (No such file or directory)
> Xvfb: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), for GNU/Linux 2.2.5, not stripped
This explains the problem clearly.
You're trying to execute an Intel 32bit binary on a zLinux (S390x) host. This can't work.
The RPM must be build for the platform that you see when you execute
uname -i
Markus
Plz chk this -
:/usr/X11R6/bin # file Xvfb
Xvfb: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), for GNU/Linux 2.2.5, not stripped
:/usr/X11R6/bin # ls -l
total 3475
-rwxrwxrwx 1 root root 3507872 Jan 20 2002 Xvfb
lrwxrwxrwx 1 root root 7 Aug 14 2009 sux -> /bin/su
-rwxr-xr-x 1 root root 41784 Apr 22 2008 xauth
/usr/X11R6/bin # echo $shell
:/usr/X11R6/bin # id
uid=0(root) gid=0(root) groups=0(root),1000(sapinst)
/usr/X11R6/bin # uname -a
Linux sp1as1 2.6.16.60-0.21-default #1 SMP Tue May 6 12:41:02 UTC 2008 s390x s390x s390x GNU/Linu
You see the difference between:
Xvfb: ELF 32-bit LSB executable, Intel 80386
and
Linux sp1as1 2.6.16.60-0.21-default #1 SMP Tue May 6 12:41:02 UTC 2008 *s390x s390x s390x* GNU/Linux
?
You need to download Xvfb for the proper architecture/processor which is in your case s390x - not for Intel.
Markus
can i download it frm this site -
Im trying onthis site -
is it right or is ther any other site fr this ???
plz guide
its giving belwo result -
YaST @ sp1as1 Press F1 for Help
[Filterv] [Actionsv] [Informationv] [Etc.v]
┌───────────────────────────────────────────────────────────────────────────────────────────────┐
│ │Name │Summary│Kind│Version │
│ │No patches available │
│ │
│ │
│ │
│ │
│ │
│ │
└───────────────────────────────────────────────────────────────────────────────────────────────┘
Filter: Installable Patches Total Download Size: 0 B
┌───────────────────────────────────────────────────────────────────────────────────────────────┐
│ │
│ │
│ │
│ │
│ │
│ │
└───────────────────────────────────────────────────────────────────────────────────────────────┘
[Help] [Cancel] [OK]
> Is there any other site where i can download it from and install without any problem ???
According to what I found on the Novell site, the Xvfb is part of the Xfree/Xorg package and is available on the first installation DVD.
(For SLES 10 SP2 it's https://secure-www.novell.com/products/linuxpackages/server10/sp2/s390x/xorg-x11-xvfb.html, you seem to run SLES11.)
Check your DVDs.
Markus
> lsb-xvfb-1.2.0-2
You seem to have
- install an ancient version (lsb-xvfb is from 2005) on a brand new operating system (SuSE SLES 11 for z/OS)
--> it's clear that it doesn't work
I can just again suggest to check the source DVDs from where you installed, the file you need is there on the DVDs - or contact Novell if you don't find it.
Avoid installing random packages that are found by google. They are not going to work.
Markus
Hi Markus,
Right after installation it worked but after restart its not working. whereas X11 is still running.
ps -ef | grep X11
root 1959 1 0 Jul03 ? 00:00:00 /usr/X11R6/bin/xdm
Edited by: basis basis on Jul 7, 2010 4:14 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We are trying to run on java application which should generated pop up window on clincking submit button.
but its generating folowing error-
java.lang.NoClassDefFoundError: sun/awt/X11GraphicsEnvironment
we already set the parameter -
java.awt.headless=true
but it was not working. then we installed X11 pacakage from installation DVD (as suggested by you)and it got working also but after restart it again throwing same error. where as X11 is still running.
Thanks
User | Count |
---|---|
75 | |
9 | |
8 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.