Fast user switching is a feature of amulti-useroperating system which allows users to switch betweenuser accounts without quitting applications and logging out.
The Linux kernel's VT subsystem dates back to 1993 and does not understand the concept of multiple "seats", meaning that of up to 63 VTs, only one VT can be active at any given time. Despite this kernel limitation,multi-seat is supported onLinux. The feature of "fast user switching" has less severe necessities than multi-seat does because the multiple users are not working simultaneously.[1]
The most straight forward solution to elegant multi-seat arekmscon/systemd-consoled in combination withsystemd-logind. The availabledesktop environments such asGNOME orKDE Software Compilation adapt their graphical login and session manager (e.g.GDM,SDDM,LightDM, etc.) to the underneath solution and have to be configured to implement fast user switching that way.
For installations with older environments, the functionality must be enabled in the appropriate configuration files then ahot key sequence such asCTRL-ALT-F8 is pressed. A separate login window will now appear and the second user can log in (or even the first user again). Alternatively, in the default install, new X sessions can be started at will by using differentdisplay parameters to have them run in different virtual terminals (e.g. "startx -- :1" or "X :1 -query localhost"). Again, hot key sequences allow the user switching to take place.
Fast user switching may potentially introduce various security-related complications,[citation needed] and is handled differently among operating systems, each having its advantages and disadvantages. One possibility, simple and secure, is that only the first user gets ownership of resources. A second option is to grant ownership of resources to each new user. The last one to log in takes ownership. A third is to allow all users access to shared resources. This is easier and more intuitive, but allows (for example) one user to record another user's conversation. In Windows, shared resources, such as sound, are available to all sessions. InRed Hat Linux, the default behavior is to give ownership of "console resources" to the first connected session, but it can share resources among groups of console users or be configured to manage console ownership differently.
This sectionneeds expansion. You can help byadding missing information.(July 2024) |
Fast user switching was introduced in 2003 withMac OS X Panther.[2]
Fast user switching in Windows is based onRemote Desktop Services technology.[3] In Windows XP,GINA which is a component ofWinlogon, and with which fast user switching interacts, can be programmatically called to automate a fast user switch.[4] APowerToy known asSuper fast user switcher was offered in 2002 by Microsoft. It allowed fast user switching using a keyboard hotkey (Win+Q) (similar toAlt-Tab) without even going to theWelcome screen.[5] It was later made unavailable when the original set of PowerToys was replaced by updated versions, but still works with Windows XP SP3 (32-bit) when running as administrator.
In Windows Vista, GINA is replaced byCredential Providers; however, they do not support programmatic initiation of fast user switching.[6]
In Windows XP, fast user switching was unavailable if the computer is on aWindows Server domain network or ifOffline Files was enabled.Windows Vista and later no longer have these restrictions.[7] Fast user switching is also not available on Windows XP if SerialKeys (an accessibility option that allows users to use speech augmentation devices) or Client Services forNetWare are installed.