Technical article 109069

Scologin fails with "Fatal server error" message

OpenServer 5.0.0

Written · Last revised

Problem

When attempting to start my X server, I get the error:

Fatal server error: The X Server must be run as root or setuid root

The message may scroll several times, and scologin(XC) fails to start.

Cause

The owner and group settings on /usr/bin/X11/X are incorrect
and/or the owner and group settings on /usr/bin/X11/Xsco are
incorrect.  The permissions must also have the suid bit set.

Solution

Through Scoadmin(ADM) Software Manager (Custom), select
Software==>Verify Software==>Normal System State (Thorough) to
check for and fix incorrect permissions on the system.  Note
that the "Quick" check will not find and correct this problem.

Or, do the following to fix the permissions manually:

cd /usr/bin/X11
chown root X
chgrp bin X
chmod 4755 X
chown root Xsco
chgrp bin Xsco
chmod 4755 Xsco

Whether you change the permissions through Scoadmin or manually, you should now be able to stop and restart the X server:

scologin stop
scologin start

From the Xinuos technical article database, record 109069. Reproduced with permission. The original is at www.sco.com/ta/109069, which is reachable but blocked from search engines. Xinuos marks this article against a retired product line. That refers to the product’s lifecycle, not to whether the advice still works — plenty of it still applies to running systems.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.