Graphical Linux app on FreeBSD

cpet cpet at sdf.org
Thu Feb 19 20:13:50 UTC 2015


On 2015-02-19 12:52, Toomas Aas wrote:
> 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 at 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 at 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

Are people scared to specify the name of the app? the sys requirements 
for said app? all this is useless basically.


More information about the freebsd-questions mailing list