Updated: May 27, 2022

Start Screen services


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

Runs on:

QNX Neutrino


-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).


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:
a string representing a user where its associated uid and gid are applied when switching users
an integer that represents a group id
an integer that represents a supplementary group id
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.


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


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