Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Apr 2020 08:50:44 +0100
From:      Grzegorz Junka <list1@gjunka.com>
To:        Jan Beich <jbeich@FreeBSD.org>, greg@unrelenting.technology
Cc:        freebsd-x11@freebsd.org
Subject:   Re: Wayland on FreeBSD
Message-ID:  <d08d0409-89a3-efe0-b467-c93b166cedb7@gjunka.com>
In-Reply-To: <368n-f7yo-wny@FreeBSD.org>
References:  <CAFYkXjmfyLZAi1HZe-RE3wLxa6GRNP6GkmtZG-4T2puRDOz0JA@mail.gmail.com> <9a914a03-d431-7d99-abb8-6f949e562f14@gjunka.com> <y2qg-z956-wny@FreeBSD.org> <0ec67eef-ac5d-2ec9-e1be-35304bb49af9@gjunka.com> <368n-f7yo-wny@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 29/04/2020 01:31, Jan Beich wrote:
> Grzegorz Junka <list1@gjunka.com> writes:
>
>> After the above env variables have been removed glxgears no longer starts:
>>
>> % glxgears
>> Error: couldn't open display (null)
> Make sure you haven't accidentally unset DISPLAY after it was set by
> Sway and make sure DISPLAY was inherited by terminal emulator, shell and
> whatever invokes those (e.g., tmux/screen, wofi/dmenu-wayland).


OK, maybe it has something to do how I am starting sway and the 
applications. Please let me know what's the correct and accepted way and 
I will try with that.

Currently I simply boot into the command line, login as root, load the 
graphics kernel modules, then login as user, then "sway&" eventually 
"sway -d &> out.txt". Then I login over ssh from another computer and 
start a particular application.

As I mentioned, gtk3-demo can be opened this way, the mouse and keyboard 
works fine and I can use the application. Firefox briefly opens a window 
then dumps core, any other application I tried either can't find DISPLAY 
(kwrite) and exits or seems to be working but doesn't display anything 
(xclock, uxrvt).

Please let me know what's the supported way of starting sway and I will 
check mpv and alacritty.

Thanks

GrzegorzJ




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d08d0409-89a3-efe0-b467-c93b166cedb7>