nmilosev / crouton-fedora-wayland

Crouton Fedora with no old X server, native Wayland
http://getfedora.org
BSD 3-Clause "New" or "Revised" License
51 stars 6 forks source link

Running XWayland app #3

Open andmalc opened 7 years ago

andmalc commented 7 years ago

Wayland support is built in directly. If you only want CLI you have to modify the installation files or use the old version. Search for "# Wayland support:" comment!

Hi Nemanja. I searched the repo but didn't find the instructions on running XWayland apps under a CLI install. I have Fedora 26 Alpha installed and updated. Running gvim returns 'cannot open display'.

Also: wayland runs but weston-terminal does not:

weston-terminal: clients/window.c:5118: window_create_internal: Assertion `custom || display->xdg_shell || display->ivi_application' failed. Aborted (core dumped)

Thanks

nmilosev commented 7 years ago

wayland is just an alias for fullscreen Weston check it out in ~/.bash_profile.

To run apps with XWayland, I usually just open weston with wayland, open up a terminal there (upper right corner) and then run an old app. Try for example with leafpad. Weston will detect a non-compatible app and run XWayland automatically. :)

nmilosev commented 7 years ago

There should be a way to run XWayland directly without weston, I have to check it out.

andmalc commented 7 years ago

Leafpad runs within fullscreen Weston but gvim still returns 'cannot open display'.

Yes, running XWayland apps directly like with xiwi under standard Crouton would be great.

boydkelly commented 7 years ago

I also noted the problem with both gvim and emacs under Weston returns 'cannot open display'. Seems like some x stuff works (like xeyes) but other stuff not. Any ideas?