Thursday, December 8, 2016

X Windows: Configure the display manager load at start up

X Windows

Configure the display manager load at start up

Because the display manager is managed using an init script, you can
control whether or not the display manager is loaded when the system
boots using the chkconfig command.

For example, to configure the xdm
display manager to not load at boot, enter

 chkconfig xdm off.

You can verify that it is disabled by entering

chkconfig xdm –l

at the shell prompt. Here is an example:



ws1:/ # chkconfig xdm off

ws1:/ # chkconfig xdm –l

xdm                       0:off  1:off  2:off  3:off  4:off  5:off  6:off



Alternatively, to configure the display to automatically load at
system start, you would enter

chkconfig xdm on. 


Again, enter

chkconfig xdm –l 


to verify that the display manager is configured to start
automatically at runlevel 5, as shown here:




ws1:/ # chkconfig xdm on

ws1:/ # chkconfig xdm –l

xdm                       0:off  1:off  2:off  3:off  4:off  5:on   6:off







LX0-104 Exam Objectives (I)

No comments:

Post a Comment