Fmstrat / Fmstrat/winapps

Fedora 35: virsh cannot detect RDPWindows

Open
#312 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
10.3k
Forks
452
PR merge metrics
No merged PRs in 30d

Description

After installing the VM and configuring it, I tried running the `bin/winapps` command to test it, and I get this:
```
RDPWindows is not running, run:
virsh start RDPWindows
```
After running the afformentioned command:
```
error: failed to get domain 'RDPWindows'
```
I tried forcing it with `sudo` and it worked, so I tried running the installer.sh script (also with sudo), again with success, but now none of the apps will launch with this method.

Given that the instructions mentioned nothing of adding `sudo`, there must be a way to get `virsh` to detect the VM without `sudo`. I tried adding my account to the `kvm` and `libvirt` groups but to no avail.

Any help would be very much appreciated.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the reported behavior as a non-root user with bin/winapps and virsh, then inspect how installer.sh configures the VM and how bin/winapps invokes virsh. Compare the user and sudo execution contexts; done means RDPWindows is detected and applications launch without sudo on Fedora 35.

Written by the indexing model from the issue text.

Assessment

Tech stack
fedora, linux, shell
Domain
cli, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.