Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Feb 2015 14:13:40 -0600
From:      cpet <cpet@sdf.org>
To:        Toomas Aas <toomas.aas@raad.tartu.ee>
Cc:        questions@freebsd.org, owner-freebsd-questions@freebsd.org
Subject:   Re: Graphical Linux app on FreeBSD
Message-ID:  <c73c182699ee62a5c534b564318518ce@sdf.org>
In-Reply-To: <20150219205247.17861nw45qwx2t6s@webmail.raad.tartu.ee>
References:  <20150219205247.17861nw45qwx2t6s@webmail.raad.tartu.ee>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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

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



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