New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permission denied on /dev/uinput in qubes.InputMouse #1613

Closed
rootkovska opened this Issue Jan 13, 2016 · 15 comments

Comments

Projects
None yet
2 participants
@rootkovska
Member

rootkovska commented Jan 13, 2016

The command specified in /etc/qubes-rpc/qubes.InputMouse should start with a sudo or else the forwarded mouse won't work (despite the policy specifying user=root, there is /dev/uinput permission problem). Possible the same problem applies to qubes.InputKeyboard (not tested).

@rootkovska rootkovska added this to the Release 3.1 milestone Jan 13, 2016

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Jan 13, 2016

Member

No, it isn't missing /dev/uinput should have permissions set to work also from user.
https://github.com/QubesOS/qubes-app-linux-input-proxy/blob/master/qubes-rpc/qubes-uinput.rules

It works on my system, and also on freshly installed R3.1-rc2. I think there was a bug somewhere there previously, ensure you have the latest version.

Member

marmarek commented Jan 13, 2016

No, it isn't missing /dev/uinput should have permissions set to work also from user.
https://github.com/QubesOS/qubes-app-linux-input-proxy/blob/master/qubes-rpc/qubes-uinput.rules

It works on my system, and also on freshly installed R3.1-rc2. I think there was a bug somewhere there previously, ensure you have the latest version.

@rootkovska

This comment has been minimized.

Show comment
Hide comment
@rootkovska

rootkovska Jan 13, 2016

Member

On Wed, Jan 13, 2016 at 05:33:06AM -0800, Marek Marczykowski-Górecki wrote:

No, it isn't missing /dev/uinput should have permissions set to work also from user.
https://github.com/QubesOS/qubes-app-linux-input-proxy/blob/master/qubes-rpc/qubes-uinput.rules

It works on my system, and also on freshly installed R3.1-rc2. I think there was a bug somewhere there previously, ensure you have the latest version.

I just tested it on a freshly installed 3.1-rc2... It didn't work, I had to add
sudo, and now it works.

Member

rootkovska commented Jan 13, 2016

On Wed, Jan 13, 2016 at 05:33:06AM -0800, Marek Marczykowski-Górecki wrote:

No, it isn't missing /dev/uinput should have permissions set to work also from user.
https://github.com/QubesOS/qubes-app-linux-input-proxy/blob/master/qubes-rpc/qubes-uinput.rules

It works on my system, and also on freshly installed R3.1-rc2. I think there was a bug somewhere there previously, ensure you have the latest version.

I just tested it on a freshly installed 3.1-rc2... It didn't work, I had to add
sudo, and now it works.

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Jan 13, 2016

Member

Ah, I see. Known issues:

USB mouse (in case of USB VM) does not work at first system startup (just after completing firstboot). Workaround: restart the system.

Member

marmarek commented Jan 13, 2016

Ah, I see. Known issues:

USB mouse (in case of USB VM) does not work at first system startup (just after completing firstboot). Workaround: restart the system.

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Jan 13, 2016

Member

Also - check permissions on /dev/uinput. Maybe just sudo udevadm trigger would be enough to fix it (without system restart)?

Member

marmarek commented Jan 13, 2016

Also - check permissions on /dev/uinput. Maybe just sudo udevadm trigger would be enough to fix it (without system restart)?

@rootkovska

This comment has been minimized.

Show comment
Hide comment
@rootkovska

rootkovska Jan 13, 2016

Member

On Wed, Jan 13, 2016 at 05:57:02AM -0800, Marek Marczykowski-Górecki wrote:

Ah, I see. Known issues:

USB mouse (in case of USB VM) does not work at first system startup (just after completing firstboot). Workaround: restart the system.

Nope, it didn't help. I tried connecting the mouse after the 1st reboot.

Member

rootkovska commented Jan 13, 2016

On Wed, Jan 13, 2016 at 05:57:02AM -0800, Marek Marczykowski-Górecki wrote:

Ah, I see. Known issues:

USB mouse (in case of USB VM) does not work at first system startup (just after completing firstboot). Workaround: restart the system.

Nope, it didn't help. I tried connecting the mouse after the 1st reboot.

@rootkovska

This comment has been minimized.

Show comment
Hide comment
@rootkovska

rootkovska Feb 12, 2016

Member

With the latest updates on 3.1 this seems to be working without sudo now :)

Member

rootkovska commented Feb 12, 2016

With the latest updates on 3.1 this seems to be working without sudo now :)

@rootkovska rootkovska closed this Feb 12, 2016

@marmarek marmarek changed the title from Missing 'sudo' in qubes.InputMouse to Permission denied on /dev/uinput in qubes.InputMouse May 1, 2016

@marmarek marmarek reopened this May 1, 2016

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek May 1, 2016

Member

Apparently this problem still happens. It looks like without uinput module loaded /dev/uinput is present anyway, but with wrong permissions. Loading uinput module fixes the problem.

Member

marmarek commented May 1, 2016

Apparently this problem still happens. It looks like without uinput module loaded /dev/uinput is present anyway, but with wrong permissions. Loading uinput module fixes the problem.

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek May 2, 2016

Member

Automated announcement from builder-github

The package qubes-input-proxy-1.0.4-1.fc21 has been pushed to the r3.1 testing repository for the Fedora fc21 template.
To test this update, please install it with the following command:

sudo yum update --enablerepo=qubes-vm-r3.1-current-testing

Changes included in this update

Member

marmarek commented May 2, 2016

Automated announcement from builder-github

The package qubes-input-proxy-1.0.4-1.fc21 has been pushed to the r3.1 testing repository for the Fedora fc21 template.
To test this update, please install it with the following command:

sudo yum update --enablerepo=qubes-vm-r3.1-current-testing

Changes included in this update

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek May 2, 2016

Member

Automated announcement from builder-github

The package qubes-input-proxy-1.0.4-1.fc22 has been pushed to the r3.1 testing repository for the Fedora fc22 template.
To test this update, please install it with the following command:

sudo yum update --enablerepo=qubes-vm-r3.1-current-testing

Changes included in this update

Member

marmarek commented May 2, 2016

Automated announcement from builder-github

The package qubes-input-proxy-1.0.4-1.fc22 has been pushed to the r3.1 testing repository for the Fedora fc22 template.
To test this update, please install it with the following command:

sudo yum update --enablerepo=qubes-vm-r3.1-current-testing

Changes included in this update

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek May 2, 2016

Member

Automated announcement from builder-github

The package qubes-input-proxy-1.0.4-1.fc23 has been pushed to the r3.1 testing repository for the Fedora fc23 template.
To test this update, please install it with the following command:

sudo yum update --enablerepo=qubes-vm-r3.1-current-testing

Changes included in this update

Member

marmarek commented May 2, 2016

Automated announcement from builder-github

The package qubes-input-proxy-1.0.4-1.fc23 has been pushed to the r3.1 testing repository for the Fedora fc23 template.
To test this update, please install it with the following command:

sudo yum update --enablerepo=qubes-vm-r3.1-current-testing

Changes included in this update

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek May 2, 2016

Member

Automated announcement from builder-github

The package qubes-input-proxy-1.0.4-1.fc20 has been pushed to the r3.1 testing repository for dom0.
To test this update, please install it with the following command:

sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing

Changes included in this update

Member

marmarek commented May 2, 2016

Automated announcement from builder-github

The package qubes-input-proxy-1.0.4-1.fc20 has been pushed to the r3.1 testing repository for dom0.
To test this update, please install it with the following command:

sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing

Changes included in this update

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Jun 9, 2016

Member

Automated announcement from builder-github

The package qubes-input-proxy-1.0.5-1.fc21 has been pushed to the r3.1 stable repository for the Fedora fc21 template.
To install this update, please use the standard update command:

sudo yum update

Changes included in this update

Member

marmarek commented Jun 9, 2016

Automated announcement from builder-github

The package qubes-input-proxy-1.0.5-1.fc21 has been pushed to the r3.1 stable repository for the Fedora fc21 template.
To install this update, please use the standard update command:

sudo yum update

Changes included in this update

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Jun 9, 2016

Member

Automated announcement from builder-github

The package qubes-input-proxy-1.0.5-1.fc22 has been pushed to the r3.1 stable repository for the Fedora fc22 template.
To install this update, please use the standard update command:

sudo yum update

Changes included in this update

Member

marmarek commented Jun 9, 2016

Automated announcement from builder-github

The package qubes-input-proxy-1.0.5-1.fc22 has been pushed to the r3.1 stable repository for the Fedora fc22 template.
To install this update, please use the standard update command:

sudo yum update

Changes included in this update

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Jun 9, 2016

Member

Automated announcement from builder-github

The package qubes-input-proxy-1.0.5-1.fc23 has been pushed to the r3.1 stable repository for the Fedora fc23 template.
To install this update, please use the standard update command:

sudo yum update

Changes included in this update

Member

marmarek commented Jun 9, 2016

Automated announcement from builder-github

The package qubes-input-proxy-1.0.5-1.fc23 has been pushed to the r3.1 stable repository for the Fedora fc23 template.
To install this update, please use the standard update command:

sudo yum update

Changes included in this update

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Jun 9, 2016

Member

Automated announcement from builder-github

The package qubes-input-proxy-1.0.5-1.fc20 has been pushed to the r3.1 stable repository for dom0.
To install this update, please use the standard update command:

sudo qubes-dom0-update

Or update dom0 via Qubes Manager.

Changes included in this update

Member

marmarek commented Jun 9, 2016

Automated announcement from builder-github

The package qubes-input-proxy-1.0.5-1.fc20 has been pushed to the r3.1 stable repository for dom0.
To install this update, please use the standard update command:

sudo qubes-dom0-update

Or update dom0 via Qubes Manager.

Changes included in this update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment