Jump to content

CRJ-200 in Ubuntu 12.04


captainslow
 Share

Recommended Posts

Hello developers of this beautiful product!

Yesterday I decided to buy your CRJ-200 and unfortunately I haven't been able to use it yet due to the plugin not being able to load. I have already tried many different things and yesterday I have used Google for hours and unfortunately there was no solution there. The aircraft loads perfectly fine and switches are movable, but part of the left FMC is missing (attached a screenshot of it) and when I put the battery to on nothing happens. Looking at the plugins it does show the CRJ plugin but it isn't enabled and I'm unable to enable it by clicking on it. So here we go.

I followed the steps you described in one of the above topics. Currently I am still running XP 9 so installed a clean XP 10 demo and installed your CRJ in it. Unfortunately no success yet, also removing all the plugins from XP9 didn't solve the problem. My Ubuntu installation is 64bit and I have tried both the 32bit and 64bit versions of your CRJ. No matter what configuration I used (with or without plugins, XP9 or XP10) the output of the log.txt regarding the CRJ is always the same. I have attached the log.txt of XP9 with plugins.

Found some topics regarding problems with the CRJ in Linux and followed the steps there. The output of "ldd lin.xpl" was that GLIBC_2.15 couldn't be found, but manually creating a symbolic link in the liblinux folder to the correct libc solved this error. After renaming the liblinux folder to something different and doing another "ldd lin.xpl" the output was that libglew couldn't be found. I followed your instructions on the x-plane.org forum and manually installed the required 32bits libraries. All erros found with ldd are now gone but the one error in the log.txt remains. I figured it would probably have something to do with port 18387 not being open so I tried opening it using ufw but still the problem remains. I'm not planning on using the remote CDU anyway so that shouldn't be the problem right? I am getting desperate now on how to solve this, so could you guys please help me out?

Log.txt

post-8070-0-04508800-1337076582_thumb.pn

Link to comment
Share on other sites

My Ubuntu installation is 64bit and I have tried both the 32bit and 64bit versions of your CRJ?

How that? The CRJ only comes in a 32bit variant. Because X-Plane is 32bit only for now. So if there was a 64bit CRJ, it wouldn't load in X-Plane.

Make sure you have local IPv6 connectivity.

Your problem is the plugin is getting a timeout on opening the listening socket for the CDU server, and before it receives the timeout, XPLM decides the plugin stalled and kills the enabling process (this is why you see the plugin as loaded, but not enabled).

Philipp

Edited by philipp
Link to comment
Share on other sites

Thank you very much for your reply Philipp!

Sounds pretty clear, but I'm not really sure on how to do this in Ubuntu 12.04. Since I'm dual-booting I have now installed the CRJ in Windows 7 and it worked out of the box there. At least I'm now able to fly it, but I prefer to fly it in Ubuntu. I know my question is more related to Ubuntu than it is to your product, but could please help me out with how I have to set things up in 12.04?

Link to comment
Share on other sites

Thank you that did the trick! IPv6 is set up and working correctly now, however one of the errors remains and the plugin still fails to load.

[CRJ] Can't create webserver for CDU, neither IPv6 nor IPv4, giving up. bind: Address already in use

Edited by captainslow
Link to comment
Share on other sites

Thank you that did the trick! IPv6 is set up and working correctly now, however one of the errors remains and the plugin still fails to load.

[CRJ] Can't create webserver for CDU, neither IPv6 nor IPv4, giving up. bind: Address already in use

Hello !

Inside your Ubuntu Network Manager, you need to set IPV6 at least to "Link-Local".

983053networkmanageripv6.png

If it's disabled or set to "Ignore" it will not work. More help here:

http://manpages.ubun...8/miredo.8.html

Happy flying !

Edited by MdMax
Link to comment
Share on other sites

  • 6 months later...

Hi philipp,
 
It seems I've got very similar problem with CRJ-200, but can not solve it. Running X-Plane 10 beta 7 on fresh install of Ubuntu x64 (only installed 32libs and nvidia driver), CRJ-200 loaded, switches can move, but nothing happens and plane is actually "dead". CRJAvionics plugin can not be started.
 
Part of log.txt:

Loaded: /home/vlado/X-Plane 10/Resources/plugins/PluginAdmin/32/lin.xpl.

.. and then

Loaded: /home/vlado/X-Plane 10/Aircraft/X-Aviation/CRJ-200/plugins/CRJAvionics/lin.xpl.

.. and finally

[CRJ] Can't create webserver for CDU, neither IPv6 nor IPv4, giving up. bind: Address already in use

I followed your instructions to previous poster:

sudo apt-get install miredo

and enabled iPv6, and can ping my own IPV6 and IPV4 addresses:

ping 192.168.1.252ping6 -I eth1 fe80::64b:80ff:fe80:8004

but still CRJ-200 is dead.

 

ldd linux.xpl gives:

ldd lin.xpl	linux-gate.so.1 =>  (0xf76e4000)	libfreetype.so.6 => /usr/lib/i386-linux-gnu/libfreetype.so.6 (0xf72b0000)	libGLEW.so.1.5 => /home/vlado/X-Plane 10/Aircraft/X-Aviation/CRJ-200/plugins/CRJAvionics/./liblinux/libGLEW.so.1.5 (0xf7264000)	libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf7248000)	libQtGui.so.4 => /usr/lib/i386-linux-gnu/libQtGui.so.4 (0xf6775000)	libQtCore.so.4 => /usr/lib/i386-linux-gnu/libQtCore.so.4 (0xf6498000)	libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xf63b3000)	libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf6387000)	libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf6368000)	libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf61be000)	/lib/ld-linux.so.2 (0xf76e5000)	libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xf61a8000)	libXmu.so.6 => /usr/lib/i386-linux-gnu/libXmu.so.6 (0xf618f000)	libXi.so.6 => /usr/lib/i386-linux-gnu/libXi.so.6 (0xf617f000)	libGLU.so.1 => /usr/lib/i386-linux-gnu/libGLU.so.1 (0xf6109000)	libGL.so.1 => /usr/lib32/nvidia-current/libGL.so.1 (0xf6031000)	libXext.so.6 => /usr/lib/i386-linux-gnu/libXext.so.6 (0xf601f000)	libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0xf5eeb000)	libfontconfig.so.1 => /usr/lib/i386-linux-gnu/libfontconfig.so.1 (0xf5eb7000)	libaudio.so.2 => /usr/lib/i386-linux-gnu/libaudio.so.2 (0xf5e9d000)	libglib-2.0.so.0 => /lib/i386-linux-gnu/libglib-2.0.so.0 (0xf5da4000)	libpng12.so.0 => /lib/i386-linux-gnu/libpng12.so.0 (0xf5d7a000)	libgobject-2.0.so.0 => /usr/lib/i386-linux-gnu/libgobject-2.0.so.0 (0xf5d2b000)	libSM.so.6 => /usr/lib/i386-linux-gnu/libSM.so.6 (0xf5d22000)	libICE.so.6 => /usr/lib/i386-linux-gnu/libICE.so.6 (0xf5d07000)	libXrender.so.1 => /usr/lib/i386-linux-gnu/libXrender.so.1 (0xf5cfd000)	libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf5cf8000)	librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xf5cef000)	libXt.so.6 => /usr/lib/i386-linux-gnu/libXt.so.6 (0xf5c93000)	libnvidia-tls.so.295.40 => /usr/lib32/nvidia-current/tls/libnvidia-tls.so.295.40 (0xf5c8e000)	libnvidia-glcore.so.295.40 => /usr/lib32/nvidia-current/libnvidia-glcore.so.295.40 (0xf4058000)	libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0xf4037000)	libexpat.so.1 => /lib/i386-linux-gnu/libexpat.so.1 (0xf400d000)	libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0xf4009000)	libpcre.so.3 => /lib/i386-linux-gnu/libpcre.so.3 (0xf3fcc000)	libffi.so.6 => /usr/lib/i386-linux-gnu/libffi.so.6 (0xf3fc5000)	libuuid.so.1 => /lib/i386-linux-gnu/libuuid.so.1 (0xf3fbf000)	libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (0xf3fb8000)vlado@vlado-linux:~/X-Plane 10/Aircraft/X-Aviation/CRJ-200/plugins/CRJAvionics$  

 

Any advice ?

Edited by vbugarsk
Link to comment
Share on other sites

Perhaps the server is blocked from opening the port by the firewall. I can't give much advice regarding Ubuntu, as I'm using SuSe.

 

Philipp, thanks for reply. Actually, I don't need remote CDU, I would just like to get CRJ-200 working. I'm still unsure if CRJ-200 is supposed to work OK on x64 linux (of course still with x32 X-Plane) ?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...