SHIFT

--- Sjoerd Hooft's InFormation Technology ---

User Tools

Site Tools


Sidebar

Recently Changed Pages:

View All Pages


View All Tags


LinkedIn




WIKI Disclaimer: As with most other things on the Internet, the content on this wiki is not supported. It was contributed by me and is published “as is”. It has worked for me, and might work for you.
Also note that any view or statement expressed anywhere on this site are strictly mine and not the opinions or views of my employer.


Pages with comments

View All Comments

redhatstartx

Red Hat: Startx and Stopx

Using the /etc/inittab file you can modify the default runlevel for your Red Hat box. I usually keep “3” as default. This is an overview of the runlevels in Red Hat:

# Default runlevel. The runlevels used are:
#   0 - halt (Do NOT set initdefault to this)
#   1 - Single user mode
#   2 - Multiuser, without NFS (The same as 3, if you do not have networking)
#   3 - Full multiuser mode
#   4 - unused
#   5 - X11
#   6 - reboot (Do NOT set initdefault to this)

The default is set in the only used line in the file:

id:3:initdefault:

Note that “3” and “5” are the most used runlevels, three being used for console based servers/administrators and five for X11 (graphical) based servers/administrators.

StartX

As sais, 3 is my default but sometimes I need to so something in the graphical enviroment. Using the command startx will start the graphical environment.

StopX

Unfortunetely there is no stopx command in Red Hat. If you have full control of the console you can stop the graphical environment using the key combination: CTRL-ALT-BACKSPACE. This will immediately shut down the graphical environment.

Another option is to simply logout. This will not log the user off, but will stop the graphical environment.

You could leave a comment if you were logged in.
redhatstartx.txt · Last modified: 2021/09/24 00:25 (external edit)