screen

Updated: April 19, 2023

Start Screen services

Syntax:

screen -c filename
       [ -u username[,sgid]*] |
            uid:gid[,sgid]*]]
    

Runs on:

QNX Neutrino

Options:

-c filename

Specify filename as the absolute pathname to the configuration file that Screen will use. For example:

$ screen -c /usr/lib/graphics/platform/graphics.conf
                

where platform is the name of your target's platform (e.g., imx6x).

Note:

You must specify this -c option. Otherwise, screen won't run.

On your target, all libraries that you specify in the khronos section of your configuration file should reside in the same directory as the configuration file itself.

-u username[,sgid]*] | uid:gid[,sgid]*]
Switch to the specified user after initialization where:
username
a string representing a user where its associated uid and gid are applied when switching users
gid
an integer that represents a group id
sgid
an integer that represents a supplementary group id
uid
an integer that represents a user id

This option makes screen switch from running as root to the specified general user. Running as a general user provides a more secure runtime environment. If there are any unpredictable applications on the system, they won't be able to leverage screen to run undesirable code as a privileged user.

Description:

Run the screen binary from command line to start Screen services. To run screen on your target, run screen from a shell.

Examples:

To start screen with configuration specific for NXP i.MX6 SABRE Smart target:
screen -c /usr/lib/graphics/iMX6/graphics.conf
To start screen as root, but switch to a general user, joe, after initialization:
screen -u joe