winapps-org / winapps-org/winapps

Group check uses incorrect group (NixOS)

Open
#683 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
16k
Forks
508
Avg merge
13h 35m
Merged PRs (30d)
3

Description

Hi! The winapps-setup --user command fails for me on NixOS:

Checking whether the user 'marco' is part of the required groups... Failed!

ERROR: GROUP MEMBERSHIP CHECK ERROR.
The current user 'marco' is not part of group 'libvirt' and/or group 'kvm'.

This group is not called libvirt or kvm on my machine, it is libvirtd. And I am in that group. How can I bypass this check?

Config :

RDP_DOMAIN=""
RDP_IP=""
WAFLAVOR="libvirt"
RDP_SCALE="100"
REMOVABLE_MEDIA="/run/media"
RDP_FLAGS="/cert:tofu /sound /microphone +home-drive"
DEBUG="true"
AUTOPAUSE="off"
AUTOPAUSE_TIME="300"
FREERDP_COMMAND=""
PORT_TIMEOUT="5"
RDP_TIMEOUT="30"
BOOT_TIMEOUT="120"
RDP_USER="marco"
RDP_PASS="..."
VM_NAME="Win11"

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the winapps-setup --user entry point and locate the group-membership check that requires libvirt and kvm. Reproduce the check on NixOS, then determine how the configured libvirtd group should be handled or bypassed. Done means the command recognizes the valid group configuration without incorrectly reporting failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, shell
Domain
cli, operating-systems
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.