SHIFT

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

User Tools

Site Tools


Sidebar

Sponsor:

Would you like to sponsor this site?
Or buy me a beer?:


Recently Changed Pages:

View All Pages
View All Q Pages


View All Tags


Sign up for Q to post comments.





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.


Terms And Conditions for Q users


Pages with comments

PageDateDiscussionTags
2019/06/22 10:36 1 Comment
2019/03/15 16:02 1 Comment
2019/03/15 16:02 1 Comment
2019/03/15 16:02 3 Comments
2017/04/20 15:28 1 Comment
2017/04/20 15:23 1 Comment
2017/04/19 14:44 1 Comment
2017/04/17 20:10 1 Comment
2017/04/17 20:07 1 Comment
2017/04/17 19:58 1 Comment
2017/04/17 19:52 1 Comment

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: 2014/05/22 13:28 by sjoerd