Wayland on FreeBSD

Grzegorz Junka list1 at gjunka.com
Wed Apr 29 07:50:52 UTC 2020


On 29/04/2020 01:31, Jan Beich wrote:
> Grzegorz Junka <list1 at 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



More information about the freebsd-x11 mailing list