Re: New user getting started questions

Thomas Leonard
2021-01-20T13:04:58Z

On Thu, 14 Jan 2021 at 12:51, Alyssa Ross <hi@alyssa.is> wrote:
[...]
> Oh, whoops, I missed your reply about having worked this out already!

Yeah, disk and networking is OK now.

I also managed to fix the fonts, by using `export FONTCONFIG_FILE
/etc/fonts/fonts.conf`. By default, it didn't have a monospace font
available, which was pretty hard to read in the terminal.

I want to get wayland forwarding working next. For now, I'm using `ssh
-Y` to my VM to forward X. It works, but it's a little slow.

I set `export WAYLAND_DEBUG 1`, and tried weston-terminal again. That produced:

[...]
[446067.157] -> wl_region@21.destroy()
[446067.481] -> wl_surface@16.set_input_region(wl_region@22)
[446068.036] -> wl_region@22.destroy()
[446068.412] -> wl_surface@16.attach(wl_buffer@24, 0, 0)
[446069.190] -> wl_surface@16.damage(0, 0, 806, 539)
[446070.141] -> wl_surface@16.commit()
[446070.531] wl_keyboard@20.keymap(1, fd 8, 48869)
[ 1.796076] sommelier[88]: segfault at 30 ip 00007fa5376062c0 sp
00007ffe128592c8 error 4 in
libwayland-client.so.0.3.0[7fa537604000+6000]
[ 1.798026] Code: ff ff ff 5d 41 5c c3 0f 1f 00 48 8d b7 d0 00 00
00 e9 e4 df ff ff 0f 1f 40 00 48 89 77 30 c3 66 66 2e 0f 1f 84 00 00
00 00 00 <48> 8b 47 30 c3 66 66 2e 0f 1f 84 00 00 00 00 00 8b 47 40 c3
66 66

Looking at the crash, I think it's actually the `set_input_region`
getting `null`, but not sure why yet. I'm currently reading the Nix
manual to get a better understanding of how this is all built, and the
wayland docs to find out how that's supposed to work...

--
talex5 (GitHub/Twitter) http://roscidus.com/blog/
GPG: 5DD5 8D70 899C 454A 966D 6A51 7513 3C8F 94F6 E0CC