From owner-freebsd-questions@FreeBSD.ORG Tue Nov 25 00:48:23 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9DCEF7CD for ; Tue, 25 Nov 2014 00:48:23 +0000 (UTC) Received: from mail-la0-x232.google.com (mail-la0-x232.google.com [IPv6:2a00:1450:4010:c03::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1CFC5D27 for ; Tue, 25 Nov 2014 00:48:23 +0000 (UTC) Received: by mail-la0-f50.google.com with SMTP id pv20so8704778lab.9 for ; Mon, 24 Nov 2014 16:48:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=7pXGA5B7vseptlyimD4mVvXdmxfPfhuvjvQUA/uZ7QA=; b=gp1IzWvQxSS+HktTeTHpotFHx5EGA6CbHRpKOwagOttDW3w7W3IGgAN0k0G/zL4xA2 LXmiXBW1KRp3L1U2OFsflPkmkDgQ6b0f7UEcFGldn5UbWrOmcYySH3Fs3ZvS3iggHaLV eI1k0xwfZQ2XVVQJEA1KwDpw3EHQAs4q4C3/4VB+oDNRUo/4DvgpQUjQ3cbQTnY0j5kw rgZFpCn+Z2q1ZhFLNTOFePI5TX3YegZL/B6NsW1mnhRsMvhyEV/5fGQ4ErtFa34noYEw foIaHmYwX2ThOfNDTaj3ZqS+Mx3O98zgLhCGiFqy9KGheLgbfAkghsKGrRJns8V1QHBT HT3Q== MIME-Version: 1.0 X-Received: by 10.112.167.130 with SMTP id zo2mr23312198lbb.4.1416876500942; Mon, 24 Nov 2014 16:48:20 -0800 (PST) Received: by 10.25.168.136 with HTTP; Mon, 24 Nov 2014 16:48:20 -0800 (PST) In-Reply-To: References: Date: Mon, 24 Nov 2014 22:48:20 -0200 Message-ID: Subject: =?UTF-8?Q?Re=3A_FreeBSD_10=2E1_=2D_Xt_error=3A_Can=C2=B4t_open_display_=3A0?= From: Luciano Rottava da Silva To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 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: Tue, 25 Nov 2014 00:48:23 -0000 Hello, Anyone? I am still unable to launch any program from X running olvwm. Message in the console (vt0 for instance) is always the same: "xterm: Xt error: Can`t open display .0" But if I switch to vt1 and run: "xterm -display localhost:0", then a xterm window pop up in the X/olvwm, allowing me to launch everything else from this shell. But of course, would like to be able to do it using the menu I am building in the "openwin-menu". #cat /etc/hosts ... 127.0.0.1 localhost localhost.mydomain 127.0.0.1 desktop desktop.rottava.home ... #echo $DISPLAY localhost:0 What possibily could be wrong? Regards, Luciano. On 24 November 2014 at 09:53, Luciano Rottava da Silva wrote: > Hello, > > I am facing a problem with X in FreeBSD 10.1. Don=C2=B4t seem to be compl= icated > but can=C2=B4t figure out what=C2=B4s wrong. > > I=C2=B4ve managed to install the binary for olvwm, compiled inside a jail > running 10.1 i386. Host is running 10.1 amd64. > > X is started from 'startx', and .xinitrc has a simply call to olvwm. > > # cat .xinitrc > olvwm > > X is launched successfully but, I unable to open a xterm terminal or any > other client. > > Switching to the console (ctrl + alt + f1) I see a message which says "Xt > error: Can=C2=B4t open display :0" > > Then I logged in to console 2 (ctrl + alt + f2) and run a "xterm -display > :0". Coming back o X session (ctrl + alt + f*), my xterm was there, I was > able to launch all necessary programs. > > Important to hightlight this is done in the localhost, no X11 forwarding, > nothing, console only since this is my desktop machine. > > Advise are most welcome. > > Thanks, > Luciano. >