Skip to content

Accounts

Retro PC has two kinds of account, matching its two layers.

Retro PC account Messenger account
Used to Log on to a machine at the Welcome screen Sign in to Retro Messenger and Retro Mail
Identified by A user name, unique on its machine An address, unique everywhere
Lives on One machine The network
Made by An administrator’s invitation A logged-on Retro PC user, inside Messenger
Table windows_accounts users
  1. A person logs on to a machine with their Retro PC account. This makes a session: the desktop, their files and their settings.
  2. Inside that session they sign in to Messenger with a Messenger account. The session now carries both.
  3. A Retro PC account can remember one Messenger account, so Messenger signs in by itself next time. It can make as many Messenger accounts as it likes.

Logging off the desktop signs Messenger out. Signing out of Messenger leaves the desktop logged on.

A Retro PC account is admin or limited. Administrators manage User Accounts: they invite people, change types and send reset links. The server never lets a machine lose its last administrator.

  • A session is a random token in an httpOnly cookie, stored in Redis. Only retro-core writes sessions; the Node server reads them.
  • Several devices can be logged on at once. Messenger is online on one of them: starting it on another device signs it out on the first, like the original client.
  • A browser shows one desktop at a time, across all its tabs.
  • When a session ends elsewhere (a password change, a device logged off), the desktop locks in place instead of closing, so unsaved work survives.

Security has the password, two-step and passkey rules.