Forrest logo
back to the dm-tool tool


dm-tool: Add a dynamic seat from within a running LightDM session.
$ dm-tool add-seat ${xlocal} ${name}=${value}
try on your machine

This command is used to add a seat to the current session using the dm-tool utility. Here is the breakdown of the command:

  • dm-tool: This is the command-line utility for managing Display Managers (DMs) in Linux.
  • add-seat: This is an option or sub-command of dm-tool which specifies that we want to add a new seat.
  • ${xlocal}: This is a variable (denoted by the use of $ and {}) that represents the seat type. The value of this variable is expected to be the name of the seat type, such as "seat0" or "seat1".
  • ${name}=${value}: This is another variable representing a seat property. It follows the format name=value, where name is the name of the property and value is its corresponding value.

In summary, this command adds a new seat to the current session, with the seat type specified by the ${xlocal} variable, and sets a property of the seat using the ${name}=${value} variable. The actual values assigned to ${xlocal}, ${name}, and ${value} will define the exact behavior and configuration of the seat being added.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the dm-tool tool