this post was submitted on 25 Feb 2025
5 points (100.0% liked)

Linux 101 stuff. Questions are encouraged, noobs are welcome!

1146 readers
1 users here now

Linux introductions, tips and tutorials. Questions are encouraged. Any distro, any platform! Explicitly noob-friendly.

founded 2 years ago
MODERATORS
 

When using the " xfreerdp3 /u:"Your Windows Username" /p:"Your Windows Password" /v:192.168.122.2 /cert:tofu " command I can remote desktop with the viewer. The install fails because it can't do what that command does? Using Libvirt KVM, Cachyos Arch, not sure if i'm better off trying this again with the docker method? Could using the github

config##################################

WINAPPS CONFIGURATION FILE

##################################

INSTRUCTIONS

- Leading and trailing whitespace are ignored.

- Empty lines are ignored.

- Lines starting with '#' are ignored.

- All characters following a '#' are ignored.

[WINDOWS USERNAME]

RDP_USER="user"

[WINDOWS PASSWORD]

NOTES:

- If using FreeRDP v3.9.0 or greater, you have to set a password

RDP_PASS="pass"

[WINDOWS DOMAIN]

DEFAULT VALUE: '' (BLANK)

RDP_DOMAIN=""

[WINDOWS IPV4 ADDRESS]

NOTES:

- If using 'libvirt', 'RDP_IP' will be determined by WinApps at runtime if left unspecified.

DEFAULT VALUE:

- 'docker': '127.0.0.1'

- 'podman': '127.0.0.1'

- 'libvirt': '' (BLANK)

RDP_IP=""

[WINAPPS BACKEND]

DEFAULT VALUE: 'docker'

VALID VALUES:

- 'docker'

- 'podman'

- 'libvirt'

- 'manual'

WAFLAVOR="libvirt"

[DISPLAY SCALING FACTOR]

NOTES:

- If an unsupported value is specified, a warning will be displayed.

- If an unsupported value is specified, WinApps will use the closest supported value.

DEFAULT VALUE: '100'

VALID VALUES:

- '100'

- '140'

- '180'

RDP_SCALE="100"

[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'

VALID VALUES: See https://github.com/awakecoding/FreeRDP-Manuals/blob/master/User/FreeRDP-User-Manual.markdown

RDP_FLAGS="/cert:tofu /sound /microphone"

[MULTIPLE MONITORS]

NOTES:

- If enabled, a FreeRDP bug might produce a black screen.

DEFAULT VALUE: 'false'

VALID VALUES:

- 'true'

- 'false'

MULTIMON="false"

[DEBUG WINAPPS]

NOTES:

- Creates and appends to ~/.local/share/winapps/winapps.log when running WinApps.

DEFAULT VALUE: 'true'

VALID VALUES:

- 'true'

- 'false'

DEBUG="true"

[AUTOMATICALLY PAUSE WINDOWS]

NOTES:

- This is currently INCOMPATIBLE with 'docker' and 'manual'.

- See https://github.com/dockur/windows/issues/674

DEFAULT VALUE: 'off'

VALID VALUES:

- 'on'

- 'off'

AUTOPAUSE="off"

[AUTOMATICALLY PAUSE WINDOWS TIMEOUT]

NOTES:

- This setting determines the duration of inactivity to tolerate before Windows is automatically paused.

- This setting is ignored if 'AUTOPAUSE' is set to 'off'.

- The value must be specified in seconds (to the nearest 10 seconds e.g., '30', '40', '50', etc.).

- For RemoteApp RDP sessions, there is a mandatory 20-second delay, so the minimum value that can be specified here is '20'.

- Source: https://techcommunity.microsoft.com/t5/security-compliance-and-identity/terminal-services-remoteapp-8482-session-termination-logic/ba-p/246566

DEFAULT VALUE: '300'

VALID VALUES: >=20

AUTOPAUSE_TIME="300"

[FREERDP COMMAND]

NOTES:

- WinApps will attempt to automatically detect the correct command to use for your system.

DEFAULT VALUE: '' (BLANK)

VALID VALUES: The command required to run FreeRDPv3 on your system (e.g., 'xfreerdp', 'xfreerdp3', etc.).

FREERDP_COMMAND="xfreerdp3"

top 10 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 3 days ago

This isnt reddit so I doubt any future searchers will see this, but winapps is very finnicky for gpu shit and even if it does work your linux side doesnt work while using it, the vm takes over the gpu? At least in my case, it made it pretty useless, works well for ms office and other cpu stuff to have them look like they run natively in windows, dont need that tho, needed gpu based stuff, prob just gonna stop using houdini til I can justify buying it (prob never) and swap to embergen/blender, houdini is just so much better than geo nodes tho, cant even get the official free linux version to work tho. Now im okay with pewdiepie liking linux, we need more ppl here, more software support.

[–] anamethatisnt 2 points 1 week ago (1 children)

Is the machine you're trying to connect to using 192.168.122.2 or 192.168.122.124?
If it is 192.168.122.2 then what happens if you enter that as the RDP_IP in the configuration?

[–] [email protected] 1 points 1 week ago (1 children)

I used the same exact ip for connecting and got the same error

[–] anamethatisnt 1 points 1 week ago (3 children)

Can I take that to mean that you can connect to the machine by running "xfreerdp3 /u:“Your Windows Username” /p:“Your Windows Password” /v:192.168.122.2 /cert:tofu" but when you edit the winapps config to RDP_IP="192.168.122.2" you still get an error that you cannot connect to 192.168.122.124?

[–] [email protected] 1 points 1 week ago

Im not the only one with this issue but no one has gotten replies, I saw a post with the same issue posted a few days ago on reddit

[–] [email protected] 1 points 1 week ago (1 children)
[–] anamethatisnt 2 points 6 days ago (2 children)

If you're running arch-based then testing another netcat might help as mentioned here:
https://github.com/winapps-org/winapps/issues/270

Someone else had trouble with the vm returning multiple ips and solved it here:
https://github.com/winapps-org/winapps/issues/432

And finally you could try commenting out the port check as mentioned here:
https://github.com/winapps-org/winapps/issues/260

[–] [email protected] 2 points 6 days ago

It was netcat, thank you! They tell you to install the wrong one for arch in the steps.

[–] [email protected] 2 points 6 days ago

ill try those thanks

[–] [email protected] 1 points 1 week ago

I tried it a few ways, blank initially to autodetect, and them with the ip from the computer, xrdp3 works, im able to use it to rdp in but the install fails