Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Feb 2015 20:52:47 +0200
From:      Toomas Aas <toomas.aas@raad.tartu.ee>
To:        questions@freebsd.org
Subject:   Graphical Linux app on FreeBSD
Message-ID:  <20150219205247.17861nw45qwx2t6s@webmail.raad.tartu.ee>

next in thread | raw e-mail | index | archive | help
Hello!

I am trying to run a Linux binary on my FreeBSD system using the Linux  
compatibility layer. This is a GUI application. I tried to run it as  
regular user and as root, but each time I encounter different error  
message:

$ ./the_linux_binary
XOpenIM() failed
Abort (core dumped)
$ su
Password:
root@mypc:/home/toomas/tmp # ./the_linux_binary
No protocol specified
Can't open display: :0.0

Is there any hope to get such application running?

Relevant system info follows.

$ grep COMPAT MYKERNEL
options         COMPAT_LINUX32
options         COMPAT_43
options         COMPAT_FREEBSD32

$ uname -a
FreeBSD mypc.lan 9.3-STABLE FreeBSD 9.3-STABLE #0 r278030: Sun Feb  1  
21:19:50 EET 2015     toomas@mypc.lan:/usr/obj/usr/src/sys/MYKERNEL   
amd64

$ sysctl compat.linux.osrelease
compat.linux.osrelease: 2.6.18

$ pkg info -a | grep linux
linux-c6-expat-2.0.1_1
linux-c6-fontconfig-2.8.0_1
linux-c6-xorg-libs-7.4_1
linux_base-c6-6.6

$ file the_linux_binary
the_linux_binary: ELF 32-bit LSB executable, Intel 80386, version 1  
(GNU/Linux), statically linked, stripped

-- 
Toomas Aas




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150219205247.17861nw45qwx2t6s>