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

View captcha on Linux over SSH fails #265

Open
kriation opened this issue Jul 14, 2022 · 0 comments · May be fixed by #266
Open

View captcha on Linux over SSH fails #265

kriation opened this issue Jul 14, 2022 · 0 comments · May be fixed by #266

Comments

@kriation
Copy link
Contributor

Recently, I noticed that when connected remotely to a Linux host via SSH where I run aws-google-auth, when Image.open(f).show() is called, an infinite loop is entered where xdg-open is called repeatedly. This is caused when a proper file handler for the captcha PNG is not configured (or not available as DISPLAY is not set).

The error captured during this loop is the following:
/usr/bin/xdg-open /tmp/lynxXXXX87c10H/L4113285-3805TMP.png lynx: Start file could not be found or is not text/html or text/plain Exiting... /usr/bin/xdg-open: line 881: w3m: command not found xdg-open: no method available for opening '/tmp/tmpnlg39suq.PNG'

@kriation kriation linked a pull request Jul 14, 2022 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant