{"id":17552602,"url":"https://github.com/iloveitaly/remote-logout","last_synced_at":"2026-05-19T03:33:15.270Z","repository":{"id":228633560,"uuid":"774529737","full_name":"iloveitaly/remote-logout","owner":"iloveitaly","description":"Create a server that logs out of the current user to address MacOS's remote login issues","archived":false,"fork":false,"pushed_at":"2024-03-20T11:40:43.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-03T21:54:49.551Z","etag":null,"topics":["macos"],"latest_commit_sha":null,"homepage":"https://github.com/iloveitaly/remote-logout","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iloveitaly.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-19T17:52:51.000Z","updated_at":"2024-03-20T11:41:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"8c19aa3c-f503-4f45-8fb0-d14da707591e","html_url":"https://github.com/iloveitaly/remote-logout","commit_stats":null,"previous_names":["iloveitaly/remote-logout"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iloveitaly%2Fremote-logout","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iloveitaly%2Fremote-logout/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iloveitaly%2Fremote-logout/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iloveitaly%2Fremote-logout/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iloveitaly","download_url":"https://codeload.github.com/iloveitaly/remote-logout/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246156416,"owners_count":20732397,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["macos"],"created_at":"2024-10-21T05:43:18.837Z","updated_at":"2026-05-19T03:33:10.234Z","avatar_url":"https://github.com/iloveitaly.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Logout of a macOS User Remotely\n\nMac OS allows you to set up another user on your computer which can be logged in remotely. Combine this with the amazing\npowers of Tailscale and it enables you to securely access your computer remotely regardless of where you are.\n\nHowever, this functionality in MacOS is a little buggy. The user can get into a strange state where it's impossible to\nlog in and you get stuck on the login screen without a password input.\n\nThis little tool enables you to create a server with a single entry point which logs out of the user that this tool is executed under.\n\n## Installation\n\n1. Make the script executable\n2. Use `.command` for the execution, which opens up a terminal window and runs the script.\n3. Add it to your login items\n\n[install.sh](./install.sh) does this for you:\n\n```shell\ngit clone https://github.com/iloveitaly/remote-logout\ncd remote-logout\n./install.sh\n```\n\n## When Screensharing Breaks Your Window Manager\n\nJust getting beeping when attempting to use a window manager like Raycast or Rectangle?\n\nTODO detail attempts to fix this, WindowManager, boot via launchctl, etc.\n\n## Inspiration\n\n* https://superuser.com/questions/229773/run-command-on-startup-login-mac-os-x\n* https://apple.stackexchange.com/questions/126761/way-to-logout-a-user-from-the-command-line-in-os-x-10-9\n\n## TODO\n\n- [ ] the `.command` approach works fine for my needs, but launchctl file probably is a better approach","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Filoveitaly%2Fremote-logout","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Filoveitaly%2Fremote-logout","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Filoveitaly%2Fremote-logout/lists"}