Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Nov 2014 22:48:20 -0200
From:      Luciano Rottava da Silva <rottava@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   =?UTF-8?Q?Re=3A_FreeBSD_10=2E1_=2D_Xt_error=3A_Can=C2=B4t_open_display_=3A0?=
Message-ID:  <CAGROAxXmgfB4-RyEJXmzO%2B9aMjjb6aWHHUqPFDcvWv=3D5MDjQ@mail.gmail.com>
In-Reply-To: <CAGROAxWuGGW7tAUbQjw-Y1vAR33naNGs6TPxMheL=0fO6KKogA@mail.gmail.com>
References:  <CAGROAxWuGGW7tAUbQjw-Y1vAR33naNGs6TPxMheL=0fO6KKogA@mail.gmail.com>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGROAxXmgfB4-RyEJXmzO%2B9aMjjb6aWHHUqPFDcvWv=3D5MDjQ>