winapps icon indicating copy to clipboard operation
winapps copied to clipboard

[READ ME] Removal of MULTIMON

Open santisteban opened this issue 6 months ago • 6 comments

Hello,

This is an awesome project that I've been using for very little, so I haven't encountered a lot of issues (which is great!) and this is more of a plead than an issue itself for me.

Right now the way to add/remove apps (according to the documentation), is to reinstall winapps. The following commit caused an issue when I did that today.

https://github.com/winapps-org/winapps/commit/7d8f1e440db5dc4f104d8aa5a8f4952945cc6f5d#diff-ec20d888f493c25fc4981cb8435d9af165f537c697ecf1e49fa722360c837172R517-L526

This is because I was using the older config which didn't had "+home-drive" in the RDP_FLAGS variable, and therefore, the tsclient network was empty, which made the installer fail with error 14.

It also broke the multi monitor support since now the variable from the config is ignored - so this changes should be communicated somehow, maybe adding the latest changes when you run the install script again.

I'd love to propose ideas on how to fix this, but right now I'm busy with finals.

You guys are doing a great job, thank you for everything.

santisteban avatar Jun 22 '25 02:06 santisteban

Thanks for reporting this.

For anyone coming across this, add +home-drive to your RDP_FLAGS.
If you were using MULTIMON before, also add /multimon.

If you're having issues on non-multimon setups, try adding +span.

oskardotglobal avatar Jun 22 '25 10:06 oskardotglobal

Referencing my issue #589

When I installled winapps; it already had that flag.

Per the issue; I added: /span

# [MOUNTING REMOVABLE PATHS FOR FILES]
# NOTES:
# - By default, `udisks` (which you most likely have installed) uses /run/media for mounting removable devices.
#   This improves compatibility with most desktop environments (DEs).
# ATTENTION: The Filesystem Hierarchy Standard (FHS) recommends /media instead. Verify your system's configuration.
# - To manually mount devices, you may optionally use /mnt.
# REFERRENCE: https://wiki.archlinux.org/title/Udisks#Mount_to_/media
REMOVABLE_MEDIA="/mnt"

# [ADDITIONAL FREERDP FLAGS & ARGUMENTS]
# NOTES:
# - You can try adding /network:lan to these flags in order to increase performance, however, some users have faced issues with this.
# DEFAULT VALUE: '/cert:tofu /sound /microphone +home-drive'
# VALID VALUES: See https://github.com/awakecoding/FreeRDP-Manuals/blob/master/User/FreeRDP-User-Manual.markdown
RDP_FLAGS="/cert:tofu /sound /microphone +home-drive +span"

Uninstalled and re-installed winapps, yet faced the same issue.

I do not use multimon. But I added it just in case, and that is what finally allowed it to work.

Not sure why. Leaving this note here for anyone else who might come across it.

Update: It is still hit or miss. Some files work, some don't.

crxssrazr93 avatar Jul 01 '25 11:07 crxssrazr93

Too bad I didn't see this issue before I understood by myself I had to change my config file ! :-/

For anyone coming across this, add +home-drive to your RDP_FLAGS. If you were using MULTIMON before, also add /multimon. If you're having issues on non-multimon setups, try adding +span.

I just wanted to report that on my setup not having +span make apps unusable. They open on on my second screen and moving them to my primary screen make they don't register any input. (For instance in excel I can move to another cell even using keyboard)

Yet adding +span cause a lot of problems with Windows RDP. I don't know why but It make it opens in fullscreen and when toggling it there is no way to resize to fit my screen. Adding "/monitors:0" still make it open in fullscreen but when toggling then the windows can be resized. Yet I suspect "/monitors" seems to disable "+span" and so other apps revert to previous behavior. T_T

Matth7878 avatar Aug 11 '25 09:08 Matth7878

That's FreeRDP for ya, but just to be safe make sure you're running the latest version of it.

oskardotglobal avatar Aug 11 '25 09:08 oskardotglobal

Thanks for reporting this.

For anyone coming across this, add +home-drive to your RDP_FLAGS. If you were using MULTIMON before, also add /multimon.

If you're having issues on non-multimon setups, try adding +span.

hello, thanks for this comment, but could you clarify the procedure to do? i have this exact two issues, with mutlimonitor and also with the access to the files. i understand that adding this flags is simply addind to the file of the configuration, but which (i followed the installation from the git)? and then once added should i do something else? such as run again the setup.sh? or something else? thanks in advance.

otaolafranc avatar Sep 01 '25 05:09 otaolafranc

I have a multimonitor setup, but /multimon did nothing for me, +span made it work for some reason.

FlyingWaffleDev avatar Sep 01 '25 18:09 FlyingWaffleDev