command_name Verified current stable Not installed? Containers

Command Name / Start X Application On New Screen

Start X Application On New Screen

Starts an X application on a new display screen with X11.

$
Terminal
DISPLAY=:2 <command_name>

When To Use

When isolating X applications to avoid interference with the primary display.

Pro Tip

Ensure that the specified DISPLAY variable does not conflict with existing sessions.

Command Builder

Tune the command before you copy it

Back to syntax
$
Generated Command
DISPLAY=:2 <command_name>

Anatomy of Output

Understanding the result

Launching application on display ID :2 Application Launch

Indicates the application is starting on the specified display.

Application started successfully on :2 Startup Confirmation

Shows successful initiation of the X application.

Error: cannot connect to X server :1 Connection Error

Indicates failure to connect to the intended X display.

Troubleshooting

Common pitfalls

No display specified

Solution: Ensure DISPLAY variable is set correctly before execution.

xterm: unable to open display :2

Solution: Check that display :2 is active and accessible.

Cannot connect to X server

Solution: Verify that the X server is running and reachable.

Command Breakdown

What each part is doing

DISPLAY=:2
Base Command
The executable that performs this operation. Here it runs Command Name before the shell applies any redirect operators.
<command_name>
command name
The value supplied for command name.

Alternative Approaches

Comparable commands in other tools

Alternative containers tools for the same job.