Setting up Wayland on FreeBSD
lonnie at outstep.com
Thu Jul 23 15:52:34 UTC 2020
I wanted to ask you a question on this.
I am thinking about doing a new fresh FreeBSD (12.1) install that comes
without a GUI (no Xserver installed) and was wondering if these steps are
for Pure Wayland which I am guessing is using the DRM backend?
I would then think that you did something like this from a fresh install:
pkg install wayland
pkg install haikari
and then the steps that you outlined to startup the compositor and bring up
the GUI environment from the console.
Would this be about correct?
On Thu, Jul 23, 2020 at 9:13 AM Lonnie Cumberland <lonnie at outstep.com>
> Thanks so very much for this insight as it will be very helpful.
> Cheers and have a great day,
> On Thu, Jul 23, 2020 at 5:22 AM Ashish SHUKLA <ashish at freebsd.org> wrote:
>> On 7/23/20 5:16 AM, Lonnie Cumberland wrote:
>> > Well, I am making good progress with my new experiences in the FreeBSD
>> > world and now it's time to get back on my project a bit.
>> Following information is what I referred to when I setup Wayland on mine:
>> And I use following script (analogous to startx of X11 world) to launch
>> a Wayland desktop session:
>> export MOZ_ENABLE_WAYLAND=1
>> export XDG_SESSION_TYPE=wayland
>> export XDG_RUNTIME_DIR=/tmp/$USER/.xdg
>> export CLUTTER_BACKEND=wayland
>> export SDL_VIDEODRIVER=wayland
>> export LIBGL_DRI3_ENABLE=1
>> export XKB_DEFAULT_RULES=evdev
>> export QT_QPA_PLATFORM=wayland-egl
>> export QT_WAYLAND_DISABLE_WINDOWDECORATION=1
>> export BEMENU_BACKEND=wayland
>> export WLR_DRM_NO_ATOMIC=1
>> [ -d $XDG_RUNTIME_DIR ] || mkdir -m 700 -p $XDG_RUNTIME_DIR
>> exec $WM >$HOME/.xsession-errors 2>&1
>> Important part, make sure /tmp is not a ZFS mountpoint. I've it on tmpfs
>> Ashish SHUKLA | GPG: F682CDCC39DC0FEAE11620B6C746CFA9E74FA4B0
>> “There is no reason anyone would want a computer in their home.” (Ken
>> Olson, founder of DEC, 1977)
More information about the freebsd-questions