{"action":"created","issue":{"url":"https://api.github.com/repos/mate-desktop/mate-screensaver/issues/155","repository_url":"https://api.github.com/repos/mate-desktop/mate-screensaver","labels_url":"https://api.github.com/repos/mate-desktop/mate-screensaver/issues/155/labels{/name}","comments_url":"https://api.github.com/repos/mate-desktop/mate-screensaver/issues/155/comments","events_url":"https://api.github.com/repos/mate-desktop/mate-screensaver/issues/155/events","html_url":"https://github.com/mate-desktop/mate-screensaver/issues/155","id":319321909,"node_id":"MDU6SXNzdWUzMTkzMjE5MDk=","number":155,"title":"mate-screensaver screen lock can be bypassed by power cycling monitor [$110]","user":{"login":"fizzfaldt","id":2748321,"node_id":"MDQ6VXNlcjI3NDgzMjE=","avatar_url":"https://avatars0.githubusercontent.com/u/2748321?v=4","gravatar_id":"","url":"https://api.github.com/users/fizzfaldt","html_url":"https://github.com/fizzfaldt","followers_url":"https://api.github.com/users/fizzfaldt/followers","following_url":"https://api.github.com/users/fizzfaldt/following{/other_user}","gists_url":"https://api.github.com/users/fizzfaldt/gists{/gist_id}","starred_url":"https://api.github.com/users/fizzfaldt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fizzfaldt/subscriptions","organizations_url":"https://api.github.com/users/fizzfaldt/orgs","repos_url":"https://api.github.com/users/fizzfaldt/repos","events_url":"https://api.github.com/users/fizzfaldt/events{/privacy}","received_events_url":"https://api.github.com/users/fizzfaldt/received_events","type":"User","site_admin":false},"labels":[{"id":506340446,"node_id":"MDU6TGFiZWw1MDYzNDA0NDY=","url":"https://api.github.com/repos/mate-desktop/mate-screensaver/labels/bounty","name":"bounty","color":"129e5e","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":18,"created_at":"2018-05-01T20:44:51Z","updated_at":"2018-08-17T16:48:03Z","closed_at":null,"author_association":"NONE","body":"#### Expected behaviour\r\nLock Screen\r\nTurn off monitor (either by power management putting it to sleep, or by pressing power button)\r\nTurn monitor on\r\nStart typing\r\nExpect to see lock screen on monitor\r\n\r\n#### Actual behaviour\r\nLock Screen\r\nTurn off monitor\r\nTurn monitor on\r\nStart typing\r\nExpect to see lock screen on monitor\r\n\r\n\r\n\r\n#### Steps to reproduce the behaviour\r\n\r\n```\r\nadddate() {\r\n   while IFS= read -r line; do\r\n      echo \"$(date) $line\"\r\n   done\r\n}\r\nkillall mate-screensaver\r\nmate-screensaver --no-daemon --debug 2>&1 \\\r\n  | adddate  > screen.log\r\n```\r\nWait 60 seconds\r\nLock screen (I used Window manager shortcut)\r\nWait 60 seconds\r\nPower off monitor (soft off)\r\nWait 60 seconds\r\nPower on monitor\r\nWait 9 seconds (that's how long it takes monitor to boot)\r\nCan see and use screen/type/etc; it is (effectively) unlocked.\r\n\r\nNotes/logs:\r\n`mate-screensaver-command -q` reports:\r\n\r\n- after `killall mate-screensaver`:\r\n   - `Screensaver is not running!`\r\n- After re-running mate-screensaver:\r\n   - `The screensaver is inactive`\r\n   - `The screensaver is not inhibited`\r\n- After locking (stays this way forever even while using the computer)\r\n   - `The screensaver is active`\r\n   - `The screensaver is not inhibited`\r\n\r\nSame as above, annotated with logs: (attached for ease of reading)\r\n`mate-screensaver --no-daemon --debug`\r\n[mate-screensaver-1.txt](https://github.com/mate-desktop/mate-screensaver/files/1965111/mate-screensaver-1.txt)\r\n\r\nWait 60 seconds\r\nLock screen (I used Window manager shortcut)\r\n[mate-screensaver-2.txt](https://github.com/mate-desktop/mate-screensaver/files/1965114/mate-screensaver-2.txt)\r\n\r\n\r\nWait 60 seconds\r\nPower off monitor (soft off)\r\n[mate-screensaver-3.txt](https://github.com/mate-desktop/mate-screensaver/files/1965117/mate-screensaver-3.txt)\r\n[dmesg-3.txt](https://github.com/mate-desktop/mate-screensaver/files/1965118/dmesg-3.txt)\r\n\r\n\r\nWait 60 seconds\r\nPower on monitor\r\n[mate-screensaver-4.txt](https://github.com/mate-desktop/mate-screensaver/files/1965121/mate-screensaver-4.txt)\r\n[dmesg-4.txt](https://github.com/mate-desktop/mate-screensaver/files/1965125/dmesg-4.txt)\r\n\r\n\r\nWait 9 seconds (that's how long it takes monitor to boot)\r\nCan see and use screen/type/etc; it is (effectively) unlocked.\r\n[dmesg-5.txt](https://github.com/mate-desktop/mate-screensaver/files/1965126/dmesg-5.txt)\r\n\r\n\r\n(there is no dmesg-1.txt or dmesg-2.txt or mate-screensaver-5.txt (blank during that time))\r\n\r\n\r\n#### Troubleshooting ####\r\nThis occurred on two machines.\r\n\r\n- Home Machine\r\n   - Problem occurred on Ubuntu 16.04 (do not have logs unfortunately)\r\n   - Unsure what version of mate it was at the time\r\n   - If relevant\r\n      - monitor was 2560x1600\r\n      - Uses nvidia drivers   \r\n   - ~Upgrading to Ubuntu 18.04 (which upgraded mate to 1.20.0) fixed the problem on home machine.~\r\n     - Upgrading to Ubuntu 18.04 on home machine merely made the problem stop when I manually power off the monitor, but if it powers off due to inactivity the problem still occurs.\r\n- Work Machine\r\n   - Problem occurred on Ubuntu 17.10 (mate 1.18) (do not have logs unfortunately)\r\n   - Upgrading to Ubuntu 18.04 (mate 1.20.0) did NOT fix the problem.\r\n   - If relevant\r\n     - monitor is 3840x2160\r\n     - Problem still occurs if I switch to different resolution\r\n     - Has no dedicated video card/using intel onboard graphics\r\n     - monitor is a USB hub.. problem still reproduces if I disconnect the usb cable and have the keyboard connected some other way.\r\n\r\nPlease let me know what other logs/steps may be useful.\r\n\r\n#### MATE general version\r\n1.20.0\r\n\r\n#### Package version\r\nmate-screensaver                              1.20.0-1\r\nSee attached \r\n[mate-packages.txt](https://github.com/mate-desktop/mate-screensaver/files/1964967/mate-packages.txt)\r\nfor full list of all mate-related package versions\r\n\r\n\r\n#### Linux Distribution\r\nUbuntu 18.04\r\n\r\n#### Downstream bug link\r\nhttps://bugs.launchpad.net/ubuntu/+source/mate-screensaver/+bug/1768352"},"comment":{"url":"https://api.github.com/repos/mate-desktop/mate-screensaver/issues/comments/413924447","html_url":"https://github.com/mate-desktop/mate-screensaver/issues/155#issuecomment-413924447","issue_url":"https://api.github.com/repos/mate-desktop/mate-screensaver/issues/155","id":413924447,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMzkyNDQ0Nw==","user":{"login":"lukefromdc","id":14036792,"node_id":"MDQ6VXNlcjE0MDM2Nzky","avatar_url":"https://avatars1.githubusercontent.com/u/14036792?v=4","gravatar_id":"","url":"https://api.github.com/users/lukefromdc","html_url":"https://github.com/lukefromdc","followers_url":"https://api.github.com/users/lukefromdc/followers","following_url":"https://api.github.com/users/lukefromdc/following{/other_user}","gists_url":"https://api.github.com/users/lukefromdc/gists{/gist_id}","starred_url":"https://api.github.com/users/lukefromdc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukefromdc/subscriptions","organizations_url":"https://api.github.com/users/lukefromdc/orgs","repos_url":"https://api.github.com/users/lukefromdc/repos","events_url":"https://api.github.com/users/lukefromdc/events{/privacy}","received_events_url":"https://api.github.com/users/lukefromdc/received_events","type":"User","site_admin":false},"created_at":"2018-08-17T16:48:03Z","updated_at":"2018-08-17T16:48:03Z","author_association":"MEMBER","body":"According to https://github.com/mate-desktop/mate-screensaver/issues/145#issuecomment-401382756\r\nsome lockers use a vt switch to avoid the mess of having to draw over everything else and thus close some of the worst X screenlocker holes."}}
{"actor":{"display_login":"lukefromdc"}}