-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wayland support #15
Labels
enhancement
New feature or request
Comments
I've made waypipe work. It appears to function just as I assumed it would. |
The idea of using something like Waypipe for Wayland support (as additional, keeping current implementation as the main one) sounds good. However, I'm concerned about Waypipe implementation itself. The quality of code is quite below my expectations. |
2 tasks
balsoft
added a commit
to balsoft/appvm
that referenced
this issue
Jan 31, 2020
Waypipe implementation in this PR might be insecure, review with care. Resolves jollheef#15 BTC{1AYoK2TScSpD5bhf67mv9AxHDJ2RidRvjD}
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently appvm uses X11/Xorg. This issue is for experimentation with Wayland, with eventual goal being to have optional Wayland support without Xorg on the guest, and maybe to pass windows to the host more directly with waypipe.
Possible approaches
cage
(or other simple wayland compositor)Cage is a simple compositor that starts a single application full-screen and quits as soon as that application quits.
Problems: no support for automatic resizing or other features of SPICE. It's a deal-breaker, as the almost-native experience that we thrive for is ruined by the need to capture pointer and keyboard, and the window does not resize correctly.
Possible solution: write a daemon that reacts to SPICE events.
Things done
mingetty
autologins user,cage
starts fromloginShellInit
Problems: not very fast, feels bodgy
cage
replaces getty, logs in via a PAM module (as suggested upstream)cage
understandSPICE
(either by patchingcage
or by writing a shim`GNOME3
Gnome3 supports SPICE natively or maybe not, see the following
Potential problems: SPICE not working, very heavy, not sure if it can run a single full-screen app without all the fuss (see https://help.gnome.org/admin/system-admin-guide/stable/lockdown-single-app-mode.html.en, not sure if this is for wayland or for X)
Things done:
Problems: really heavy, might be buggy
dbus-launch gnome-session
fromloginShellInit
Problems: might not support SPICE or whatever
waypipe
without compositorIt might be possible to run
waypipe
on a guest without having a compositor at all. This would solve most of our problems with SPICE, since all of the window management now happens on the host. I have not looked intowaypipe
, so maybe I'm wrong, but this looks like the most elegant and "correct" solution of them all.Problems: might not actually run without a compositor, might be slow, requires networking between guest and host, might be insecure
Investigation process:
waypipe
can run without a compositor (tested withwaypipe ssh headless-server konsole
, whereheadless-server
only has waypipe and konsole installed)waypipe server
talk with host'swaypipe client
(using-s
argument andsocat
)Things done:
waypipe
and the application installed, then runwaypipe ssh user@guest application
from the host (we have to figure out credentials)waypipe client
on a host, run guest withwaypipe server CMD
, make them communicate (I like this solution the most of them all)The text was updated successfully, but these errors were encountered: