cage icon indicating copy to clipboard operation
cage copied to clipboard

Add support for virtual pointer protocol

Open fbertux opened this issue 6 years ago • 3 comments

Hi @Hjdskes!

I'm trying to run wayvnc in a device that is running cage and I'm getting this error:

ERROR: Virtual Pointer protocol not supported by compositor.
ERROR: Failed to initialise wayland

Seems like the virtual pointer protocol isn't implemented in cage.

Is there some implementation of virtual pointer protocol over there? If not, can you point me how to add this?

I saw this commit in sway, maybe it's a good point to start.

fbertux avatar Mar 18 '20 18:03 fbertux

Indeed, this protocol isn't yet implemented in Cage, but I am interested in having it! I have nothing in a branch over here, if that's what you're asking.

If not, can you point me how to add this? ... I saw this commit in sway, maybe it's a good point to start.

Starting there and adapting that to Cage would be my recommendation.

Hjdskes avatar Mar 18 '20 19:03 Hjdskes

I just found out about this as well and would be interested too; it probably just needs virtual pointer and virtual keyboard that should be fairly straightforward to implement through wlroots' helpers.

Given how old the issue is I'll assume nobody's doing it so I'll take a stab tomorrow

martinetd avatar May 17 '21 10:05 martinetd

Thanks @martinetd ! Looking forward to the PR :)

Hjdskes avatar May 17 '21 10:05 Hjdskes

Has this issue been resolved since last year? I am doing the same for a work project (Cage + WayVNC) and I'm running into error 1001: Failed to initialize wayland

I'll keep digging just in case there is an answer somewhere. Thank you in advance.

mike-yamazaki avatar Oct 06 '22 08:10 mike-yamazaki

@mike-yamazaki I did it in https://github.com/Hjdskes/cage/pull/189 but it hasn't been merged.

Looks like others are using it, so it probably works. I'm not using it myself.

martinetd avatar Oct 06 '22 10:10 martinetd

@martinetd I think I may have found the solution to this problem, but in its place, a new one has come up.

Simply running wayvnc in a Foot session under Sway seems to eliminate the initializer failure. However, now it seems to be a networking issue which I've inquired about in a separate forum.

Thank you so much for your help :)

mike-yamazaki avatar Oct 07 '22 09:10 mike-yamazaki