Switch between GUI and CUI on CentOS6.

operation

Command (for CUI)

#Switch to privileged user
su -
#Check the execution mode of the current OS. (3:CUI, 5:GUI)
runlevel
# CUI/Switch GUI. (3:CUI, 5:GUI)
telinit 5
#Reconfirm the execution mode of the current OS.
runlevel
#Return to original user
exit

Additional investigation

Details of the current OS execution mode (runlevel)

Switching in CentOS 7

reference

Remarks

This article is a migration article from the blog "Technical Notes for Chores Engineers". The previous blog will be deleted.

Recommended Posts

Switch between GUI and CUI on CentOS6.
Difference between CUI and GUI
Switch between JDK 7 and JDK 8
Install and switch between multiple Javas on Ubuntu
Enable Openjdk10 and maven on CentOS
Install Java 9 on windows 10 and CentOS 7
Upgrade and switch Ruby versions on Windows 10
Change JDK and Tomcat versions on CentOS
Installing and configuring ClipBucket and Nginx on CentOS 7
switch and EnumMap
OpenVPN on CentOS 8
Switch between multiple versions of Java on Mac
Steps to set up Postfix and Dovecot on CentOS 8.3
I installed CentOS 8 on Windows 10 using VirtualBox and Vagrant
Maven on CentOS 7 tutorial
Docker installation on CentOS 6
Use perltidy on CentOS 8
Install Golang on CentOS 8
Try OpenLiteSpeed on CentOS8
Tomcat v8 on CentOS7
Install Vertica 10.0 on CentOS 6.10
Zabbix 5 installation on CentOS 8
Use mod_auth_cas on CentOS 8
Install PostgreSQL 12 on Centos8
Install nginx on centOS7
Install Python 3 on CentOS 7
Install kuromoji on CentOS7
Use bat on Centos.
OpenJDK installation on CentOS 7
Install Mattermost on CentOS 7
Install PostGIS 2.5.5 on CentOS7
Install jpndistrict on CentOS 7
Difference between vh and%
Install Redmine 4.1.1 on CentOS 7
Difference between i ++ and ++ i
Smokeping Install on CentOS7
Install rsync on CentOS8 (version check) and file backup (synchronization)
How to dynamically switch between FIN and RST in Netty