1829729 Members
1619 Online
109992 Solutions
New Discussion

Re: Xlib error

 
jane zhang
Regular Advisor

Xlib error

Hi all,

I just installed a third party software in a linux 9 workstion.

User tried to lauch the software via reflection x give the following error.

Xlib: extension "XFree86-Misc" missing on display "janez.:0.0".
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 118 (X_SetModifierMapping)
Value in failed request: 0x28
Serial number of failed request: 30
Current serial number in output stream: 30


Please let me know how to fix this in the linux machine.

Jane
7 REPLIES 7
Olivier Drouin
Trusted Contributor

Re: Xlib error

you have to set the DISPLAY env variable to
a value like this

DISPLAY=ip.ip.ip.ip:0.0
export DISPLAY
./run_command

where ip.ip.ip.ip is the ip address (duh!) of the workstation where the display of the application should be sent to.
Since it is a workstation I would say 127.0.0.1
jane zhang
Regular Advisor

Re: Xlib error

Hi,
Thanks for the reply.

The user is using reflection emulator to log into the linux workstation. I echoed the DISPLAY varable, it is set correctly to the user's PC.

I also login a sun workstation and rlogin the linux workstation ( where the software was installed). After setting the DISPLAY variable, there is no problem starting the software. ONLY with the reflection X software which is the only way the user can use the software as he does not have a unix or linux workstion to use.

Thanks.

Jane
Olivier Drouin
Trusted Contributor

Re: Xlib error

Is Reflection working for other graphical applications on this user's pc?
jane zhang
Regular Advisor

Re: Xlib error


Yes,

IT has not problem to start other software installed in either HP or other linux workstion.

I also tried on my PC, same thing.
Martin P.J. Zinser
Honored Contributor

Re: Xlib error

Hello Jane,

It is time again for the lovely X11 interchanges client and server game ;-)

The thing you need to keep in mind is that in X lingo the system hosting the application and sending the graphical screen to your PC with Reflection is the client and the PC with Reflection is providing the X11 Server. So what the error tells you is that the Reflection X11 server is missing a specific extension (XFree86-Misc).

To confirm this run xdpyinfo and check the list of extensions.

The application will work fine if you connect a graphical display directly to your linux system.

Ways to solve this:
* Get a Xemulation for your PCs that supports the XFree86-Misc extension. One place to look might be http://cygwin.com/xfree/
* Use another way to transport the graphical display from the Linux system to the PC like VNC

Good luck,

Martin
Elmar P. Kolkman
Honored Contributor

Re: Xlib error

This error means that the application could connect to your X-windows (in your case Reflection) but could not do a X_SetModifierMapping, which is part of the XFree86-Misc extension.

Thanks to all the extensions being implemented the compatibility between X-window environments is being compromised.

Solutions are: get a version of the software not using this extension, find the extension for Reflection, install another X-windows environment under Windows or find a free workstation and install Linux on it with XFree86...
Every problem has at least one solution. Only some solutions are harder to find.
jane zhang
Regular Advisor

Re: Xlib error

Hi all,

Thanks for you reply. I will different ways to see whether it works.

Jane