We need to fork the process and drop the privileges to increase security. Enter needs to be run as root so we can switch user later on.
This is the only step that needs root privileges as X can be started as a normal user.
We need to fork the process and drop privileges in the thread that starts X and presents the GUI.
Log in to post a comment.