ChanServ changed the topic of #wayland to: https://wayland.freedesktop.org | Discussion about the Wayland protocol and its implementations, plus libinput | register your nick to speak
<idkrn[m]> <idkrn[m]> "Still can't get my program to..." <- Has anyone here ever attempted this? I can't figure out what I'm doing wrong
dcz_ has quit [Ping timeout: 480 seconds]
Dami_Lu has joined #wayland
smallville7123 has joined #wayland
Hypfer has quit [Ping timeout: 480 seconds]
Hypfer has joined #wayland
sav10 has joined #wayland
sav10 has quit []
Leopold_ has quit [Remote host closed the connection]
Leopold_ has joined #wayland
co1umbarius has joined #wayland
columbarius has quit [Ping timeout: 480 seconds]
sav10 has joined #wayland
julio7359 has quit [Remote host closed the connection]
julio7359 has joined #wayland
sav10 has quit []
Brainium has quit [Quit: Konversation terminated!]
DonRichie has quit []
DonRichie has joined #wayland
Company has quit [Quit: Leaving]
eroc1990 has quit [Quit: The Lounge - https://thelounge.chat]
eroc1990 has joined #wayland
smallville7123 has quit [Quit: Konversation terminated!]
molinari has quit [Remote host closed the connection]
molinari has joined #wayland
julio7359 has quit [Ping timeout: 480 seconds]
nerdopolis has quit [Ping timeout: 480 seconds]
smallville7123 has joined #wayland
<hays> undefined reference to symbol 'wl_data_device_interface'
<hays> ^^getting this linker error.. having trouble figuring out where this comes from
<hays> maybe supposed to be in libwayland-client.so.0 ?
smallville7123 has quit [Ping timeout: 480 seconds]
jgrulich has joined #wayland
<hays> this is so weird. this wl_data_device_interface shows up in sample code and in generated code when building wayland.. but apparently its not linked in?
kts has joined #wayland
jgrulich has quit [Remote host closed the connection]
jgrulich has joined #wayland
sozuba has quit [Quit: sozuba]
tzimmermann has joined #wayland
danvet has joined #wayland
hardening has joined #wayland
dcz_ has joined #wayland
Fxzxmic has joined #wayland
floof58 is now known as Guest121
floof58 has joined #wayland
Guest121 has quit [Ping timeout: 480 seconds]
mvlad has joined #wayland
flibit has joined #wayland
rasterman has joined #wayland
flibitijibibo has quit [Ping timeout: 480 seconds]
<wlb> weston Merge request !1084 closed (gitlab-ci.yml: Don't run CI pipeline on every push)
___nick___ has joined #wayland
ChengAnXu has joined #wayland
<wlb> weston Merge request !1091 merged \o/ (Update and fix up man and README https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/1091)
rgallaispou has joined #wayland
devilhorns has joined #wayland
MajorBiscuit has joined #wayland
<wlb> wayland/main: Fergus Dall * scanner: Fix undefined behavior around qsort https://gitlab.freedesktop.org/wayland/wayland/commit/41aed7a38a92 src/scanner.c
<wlb> wayland Merge request !271 merged \o/ (scanner: Fix undefined behavior around qsort https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/271)
ChengAnXu has quit []
cool110 has quit [Quit: ZNC 1.8.2+deb2build6 - https://znc.in]
cool110 has joined #wayland
Szadek has joined #wayland
Lucretia has quit [Read error: Connection reset by peer]
Lucretia-backup has joined #wayland
kts has quit [Quit: Leaving]
systwi has quit [Ping timeout: 480 seconds]
systwi has joined #wayland
eroc1990 has quit [Quit: The Lounge - https://thelounge.chat]
eroc1990 has joined #wayland
___nick___ has quit []
nerdopolis has joined #wayland
___nick___ has joined #wayland
___nick___ has quit []
___nick___ has joined #wayland
sozuba has joined #wayland
agd5f_ has joined #wayland
agd5f_ has quit [Remote host closed the connection]
agd5f_ has joined #wayland
agd5f_ has quit [Remote host closed the connection]
agd5f_ has joined #wayland
agd5f_ has quit [Remote host closed the connection]
agd5f_ has joined #wayland
agd5f_ has quit [Remote host closed the connection]
agd5f_ has joined #wayland
agd5f has quit [Ping timeout: 480 seconds]
Guest1098 has quit [Ping timeout: 480 seconds]
floof58 is now known as Guest145
floof58 has joined #wayland
rv1sr has joined #wayland
Guest145 has quit [Ping timeout: 480 seconds]
BPCZd has quit [Ping timeout: 480 seconds]
gspbirel5662 has joined #wayland
MajorBiscuit has quit [Quit: WeeChat 3.6]
MajorBiscuit has joined #wayland
MajorBiscuit has quit []
Fxzxmic has quit []
sozuba has quit [Quit: sozuba]
julio7359 has joined #wayland
ybogdano has joined #wayland
tzimmermann has quit [Quit: Leaving]
junaid has joined #wayland
ybogdano has quit [Quit: The Lounge - https://thelounge.chat]
Lumpio- has quit [Ping timeout: 480 seconds]
ybogdano has joined #wayland
jgrulich has quit [Ping timeout: 480 seconds]
rgallaispou has quit [Read error: Connection reset by peer]
devilhorns has quit []
ybogdano has quit [Ping timeout: 480 seconds]
cool110 has quit [Remote host closed the connection]
cool110 has joined #wayland
junaid has quit [Ping timeout: 480 seconds]
cool110 has quit [Remote host closed the connection]
cool110 has joined #wayland
<mjt> what's needed these days to start wayland session on a tty?
<mjt> logging in from a getty@tty1 as normal user. pam-systemd is here, loginctl shows the session, loginctl show-seat seat0 says CanGraphical=yes
<mjt> startx works
<mjt> but sway/weston/cage are getting permission denied errors
<mjt> cage is trying to open /dev/tty0, O_RDWR and is getting EACCES
<emersion> mjt: have you compiled these libseat with logind support?
<mjt> this is debian packages. i guess it's compiled with libseat
<mjt> 00:00:00.003 [ERROR] [libseat] [seatd/seat.c:61] Could not open tty0 to update VT: Permission denied
<mjt> (and a ton of other messages)
<emersion> this is weird, the error message comes from the "direct" libseat launcher, not the logind one
<emersion> can you upload the messages on a pastebin?
<mjt> http://paste.debian.net/1266043/ -- this is when I start cage (and it sits there until I pkill -9 it from another tty)
manuel1985 has joined #wayland
<mjt> does it need some "seatd" thing to be runing?
<mjt> ok. installed seatd. now cage complains it can't access /run/seatd.sock (permission denied)
<kennylevinsen> Need to be in the right group
<mjt> is seatd necessary when stuff is built with libseat?
<kennylevinsen> no, logind is fine. Your problem is that logind is saying no, giving you permission denied.
<kennylevinsen> Are you trying directly on the physical machine, on a plain VT you logged in normally to? No ssh or other alternate login mechanism?
<mjt> logging in from getty@tty1
<kennylevinsen> polkit installed?
<mjt> from the console, from regular moniror
<mjt> no polkit, should it be installed?
<kennylevinsen> systemd in general works poorly without polkit, try to install
<idkrn[m]> <mjt> "but sway/weston/cage are getting..." <- chmod -R 777 /
<idkrn[m]> Ok sorry that was unnecessary
julio7359 has quit [Remote host closed the connection]
<kennylevinsen> idkrn[m]: no don't do that
<mjt> had no issues before without polkitd. Now installed polkitd, things started working
<idkrn[m]> kennylevinsen: Don't joke?
<mjt> unfortunately for logind chmod'ing everything to 777 wont help
<mjt> so.. it is either polkitd or seatd with group=video :)
<kennylevinsen> idkrn[m]: I have seen people actually do that, so I'm a little cautious there
<kennylevinsen> mjt: unless you added yourself to the seatd group that would be polkitd
<mjt> kennylevinsen: I think idkrn[m] knows a bit about me and is sure I wont fall into this 0777 trap :)
<idkrn[m]> kennylevinsen: 😨
<kennylevinsen> Makes sense as you had permission denied issues, and polkit is used to grant access to things
<mjt> seatd..
<mjt> there's no such group here
<mjt> is there some "big picture" about all this stuff?
<mjt> the architecture, where we're going to
<kennylevinsen> seatd's group is whatever is passed to it as the -g parameter when started, likely seat, seatd or _seatd
<mjt> started as seatd -g video here
<mjt> I see
<kennylevinsen> then the video group, just controls what the ownership of the socket becomes
<mjt> yeah
<mjt> why things now ask logind for the permission to start wayland?
<mjt> or seatd, or.. ?
<mjt> 00:00:00.003 [ERROR] [libseat] [libseat/backend/logind.c:317] Could not activate session: Rejected send message, 1 matched rules; type="method_call", sender=":1.45" (uid=0 pid=2279 comm="/lib/systemd/systemd-logind") interface="org.freedesktop.PolicyKit1.Authority" member="CheckAuthorization" error name="(unset)" requested_reply="0" destination="org.freedesktop.PolicyKit1" (uid=997 pid=2045
<mjt> comm="/usr/lib/polkit-1/polkitd --no-debug")
<kennylevinsen> logind needing polkit is unrelated to Wayland, seatd, libseat, etc.
<mjt> (this is after I installed polkitd and removed it)
<mjt> I see. I asked this in #systemd first :)
<mjt> well. this thing works now. It feels too fragile still, as it breaks with every release
<mjt> new and new layers are needed just to run a trivial gui app
<kennylevinsen> This requirement isn't new though. Maybe you used an old systemd before?
<kennylevinsen> logind is overcomplicated in my opinion, that's one of the reasons I made seatd - simple, standalone, just needs to run and have right file permissions
<mjt> it was debian bullseye. there, as it truned out, xwayland had issues with damage handling. I asked here, the suggestion was to upgrade xwayland. So I upgraded to bookworm, and now it doesn't start
<mjt> (I didn't want to backport wayland stuff as bullseye is about to be replaced with bookworm anyway)
<kennylevinsen> Maybe you lost polkit in the upgrade? I vaguely remember debian doing something slightly different there
<mjt> initially I just wanted to run freerdp client on a small terminal hw. I've been trying this for over 2 months now, and it looks like a carrot before the donkey: each time being very very close but always failing
ybogdano has joined #wayland
<mjt> it's a new install, and yes, polkitd was installed before as a dependency of sway
<mjt> the whole thing should just autologin and run cage wlfreerdp ....
<mjt> there are layers and layers and layers to achieve this now, it seems :))
<mjt> guess dropping systemd wont work either, as something will refuse to work just because there's no systemd around :)
<mjt> kennylevinsen: thank you very much for the seatd suggestion.. and for *writing* it to begin with! :)
Narrat has joined #wayland
<wlb> weston Merge request !1097 opened by Loïc Molinari (molinari) gl-renderer: Minimize state changes https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/1097
ybogdano has quit [Ping timeout: 480 seconds]
<mjt> is there a way to configure cage for two monitors? (to configure which is on left and which is on right)
<mjt> it's probaly wrong place to ask :)
tzimmermann has joined #wayland
<emersion> mjt: maybe via kanshi
<emersion> or just wlr-randr
<mjt> wlr-randr? hm.. yet another tool (tm) :))
ybogdano has joined #wayland
ybogdano has quit [Ping timeout: 480 seconds]
<mjt> emersion: wlr-randr: compositor doesn't support wlr-output-management-unstable-v1 :)
<emersion> with cage?
<emersion> i thought it did
Lumpio- has joined #wayland
<mjt> cage 0.1.4-4 (debian bookworm build)
<mjt> well, it seems to be a cage question really
<mjt> (it's almost impossible to do searching for anything cage, as google finds tons of irrelevant info)
rv1sr has quit []
BPCZ has joined #wayland
___nick___ has quit [Ping timeout: 480 seconds]
<mjt> emersion: so, sway works with wlr-randr and with swaymsg. thank you for the wlr-randr hint!
<emersion> sway has a config file where you can setup outputs
<mjt> well, yes, that too
<mjt> I hoped to avoid more advanced stuff than cage, as the only thing I need is to run kiosk-mode single-app thing without even tty switching
<mjt> how wayland apps usually find cursors?
ybogdano has joined #wayland
<emersion> libwayland-cursor
<mjt> so it has quite some built-in cursors.. I wonder why it (swat) displays no mouse cursor and complains about being unable to find cursor theme..
<mjt> s/swat/sway/
mvlad has quit [Remote host closed the connection]
Narrat has quit []
dcz_ has quit [Ping timeout: 480 seconds]
eroux has quit [Ping timeout: 480 seconds]
cvmn has joined #wayland
manuel1985 has quit [Ping timeout: 480 seconds]
hardening has quit [Ping timeout: 480 seconds]
sozuba has joined #wayland
Brainium has joined #wayland
caveman has quit [Remote host closed the connection]
caveman has joined #wayland
sozuba has quit [Quit: sozuba]