Skip to content
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

Run on Raspberry Pi failing #65

Open
getgray opened this issue Oct 25, 2020 · 1 comment
Open

Run on Raspberry Pi failing #65

getgray opened this issue Oct 25, 2020 · 1 comment

Comments

@getgray
Copy link

getgray commented Oct 25, 2020

I'm trying to use mouse to capture the mouse position. Need something to capture the mouse events without X running.

I have installed via sudo pip install mouse

I tried:

import mouse
print mouse.version

that works, reports 0.7.1

But if I try

import mouse
print mouse.get_position()

I get:
PuTTY X11 proxy: Unsupported authorisation protocol

Does X have to be running to use "mouse"?

@Perzan
Copy link

Perzan commented Jan 29, 2021

@getgray Are you running in sudo?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants