From owner-freebsd-questions@FreeBSD.ORG Fri Feb 20 02:33:58 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A03C035C for ; Fri, 20 Feb 2015 02:33:58 +0000 (UTC) Received: from mail-qg0-x232.google.com (mail-qg0-x232.google.com [IPv6:2607:f8b0:400d:c04::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 536C5CFA for ; Fri, 20 Feb 2015 02:33:58 +0000 (UTC) Received: by mail-qg0-f50.google.com with SMTP id e89so11377948qgf.9 for ; Thu, 19 Feb 2015 18:33:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=Y664uNTHOK/iZaFS8WZmRwS2i74qQ+6AFYGRITGqhbc=; b=dd0w8Jx7LpKMBkz0m8v+GbRPBANnlc/SA8EiNQ1d5HZlW6hrA7H5TqHtCk2TT5ckpF xrbkYTFA8W+jLJ0stzLpzteWy6/BqqDGo1J4jlikiIX3P6gjtmow88kzuB7WqAqpDOCk UuTh1ioRACZW3w3SPqP3CiQXWhnb0t90ypiL1GeMAqRtnGhXkmu6EBcDDmOFz7Vpf+0z 5OIYSikSib08jvML/8pRwH6oSKLEVkOn0xScHg3UcKRSbhz/5ZfTwUT/r5G4brXgi1V9 FDuTlvzPyzYbyDiGb08MwemrtUyxMQTGCxfeApGX802t7YFgKFIQgdbR0oBee2xX4477 FezA== X-Received: by 10.229.114.74 with SMTP id d10mr20071411qcq.5.1424399637454; Thu, 19 Feb 2015 18:33:57 -0800 (PST) Received: from smaug.zep.net (pool-173-73-139-83.washdc.fios.verizon.net. [173.73.139.83]) by mx.google.com with ESMTPSA id k17sm15254260qab.1.2015.02.19.18.33.56 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Feb 2015 18:33:57 -0800 (PST) Message-ID: <54E69D13.7000200@gmail.com> Date: Thu, 19 Feb 2015 21:33:55 -0500 From: zep User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Graphical Linux app on FreeBSD References: <20150219205247.17861nw45qwx2t6s@webmail.raad.tartu.ee> In-Reply-To: <20150219205247.17861nw45qwx2t6s@webmail.raad.tartu.ee> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Feb 2015 02:33:58 -0000 On 02/19/2015 01:52 PM, 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 I'd suggest getting strace (or truss, or whatever the right system call tracing utility should be used) on the binary and see what/where it's actually failing. > Abort (core dumped) > $ su > Password: > root@mypc:/home/toomas/tmp # ./the_linux_binary > No protocol specified > Can't open display: :0.0 clearly this is a display problem; you could do something like setup ssh keys to allow root (or live more dangerously and login directly as root) and use ssh -X to have the display set [or dig into what you'd need to do to open up your xwindow security - e.g. xhost + before su] I dunno about the rest of what you're trying show, just a couple suggestions for finding more places to dig in/work around your existing woes. --=20 public gpg key id: AE60F64C