Fmstrat / winapps

Run Windows apps such as Microsoft Office/Adobe in Linux (Ubuntu/Fedora) and GNOME/KDE as if they were a part of the native OS, including Nautilus integration.
8.58k stars 403 forks source link

winapps check not working on Wayland #245

Open hhaustreis opened 3 years ago

hhaustreis commented 3 years ago

I realise this was written with Xorg in mind, but after changing xfreerdp command to wlfreerdp commands i can properly do bin/winapps windows, but when attempting to run bin/winapps check i am given a full-sized black window until it disconnects and throws an error message stating an administration tool on the server initiated my disconnection.

VM is running Win10 21H1 Enterprise Edition attempting to connect to a local user account. VM was created following the guide in the README. Linux enviroment is Arch linux, running Wayland server. (Sway)

`╰─λ bin/winapps check

[19:44:02:074] [35995:35995] [INFO][com.freerdp.core] - freerdp_connect:freerdp_set_last_error_ex resetting error state [19:44:02:075] [35995:35995] [INFO][com.freerdp.client.common.cmdline] - loading channelEx rdpdr [19:44:02:075] [35995:35995] [INFO][com.freerdp.client.common.cmdline] - loading channelEx rdpsnd [19:44:02:075] [35995:35995] [INFO][com.freerdp.client.common.cmdline] - loading channelEx cliprdr [19:44:02:075] [35995:35995] [INFO][com.freerdp.client.common.cmdline] - loading channelEx rail [19:44:02:075] [35995:35995] [INFO][com.freerdp.client.common.cmdline] - loading channelEx drdynvc [19:44:02:382] [35995:35995] [INFO][com.freerdp.primitives] - primitives autodetect, using optimized [19:44:02:384] [35995:35995] [INFO][com.freerdp.core] - freerdp_tcp_is_hostname_resolvable:freerdp_set_last_error_ex resetting error state [19:44:02:384] [35995:35995] [INFO][com.freerdp.core] - freerdp_tcp_connect:freerdp_set_last_error_ex resetting error state [19:44:02:462] [35995:35995] [WARN][com.freerdp.crypto] - Certificate verification failure 'self signed certificate (18)' at stack position 0 [19:44:02:462] [35995:35995] [WARN][com.freerdp.crypto] - CN = RDPWindows [19:44:04:065] [35995:35995] [INFO][com.freerdp.gdi] - Local framebuffer format PIXEL_FORMAT_BGRA32 [19:44:04:065] [35995:35995] [INFO][com.freerdp.gdi] - Remote framebuffer format PIXEL_FORMAT_BGRA32 [19:44:04:069] [35995:35995] [INFO][com.winpr.clipboard] - initialized POSIX local file subsystem [19:44:04:080] [35995:35995] [INFO][com.freerdp.channels.rdpsnd.client] - [static] Loaded fake backend for rdpsnd [19:44:04:080] [35995:36013] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service drive [home] (static) [19:44:04:080] [35995:35995] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel rdpgfx [19:44:04:080] [35995:35995] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel disp [19:44:06:008] [35995:35995] [INFO][com.freerdp.client.wayland.cliprdr] - client announces mime TEXT [19:44:06:008] [35995:35995] [INFO][com.freerdp.client.wayland.cliprdr] - client announces mime text/plain [19:44:06:008] [35995:35995] [INFO][com.freerdp.client.wayland.cliprdr] - client announces mime text/plain;charset=utf-8 [19:44:06:008] [35995:35995] [INFO][com.freerdp.client.wayland.cliprdr] - client announces mime STRING [19:44:06:008] [35995:35995] [INFO][com.freerdp.client.wayland.cliprdr] - client announces mime UTF8_STRING [19:44:09:444] [35995:35995] [INFO][com.freerdp.core] - rdp_set_error_info:freerdp_set_last_error_ex resetting error state [19:44:10:302] [35995:36013] [INFO][com.freerdp.channels.rdpdr.client] - registered device #1: home (type=8 id=1) [19:44:14:253] [35995:35995] [INFO][com.freerdp.core] - ERRINFO_RPC_INITIATED_DISCONNECT_BY_USER (0x0000000B):The disconnection was initiated by an administrative tool on the server running in the user's session. [19:44:14:253] [35995:35995] [ERROR][com.freerdp.core] - rdp_set_error_info:freerdp_set_last_error_ex ERRINFO_RPC_INITIATED_DISCONNECT_BY_USER [0x0001000B]`

jjgalvez commented 3 years ago

just wanted to chime in that I am seeing the same error on arch kde with wayland

nda-cunh commented 2 years ago

me too it bothers me that this project is not functional under wayland while Xorg is really dying,

and i love wayland 😅😅 i have too bug with xorg11

Fant0mic commented 2 years ago

Did you manage to make it work and could you please explain how you did it

ghost commented 1 year ago

https://github.com/FreeRDP/FreeRDP/issues/6573 wlfreerdp not support /app because wayland not support rails

ghost commented 1 year ago

You can use wlfreerdp on Full session, use xfreerdp on App session.