Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ RedHat command line and graphical interface switching     - Let OS X support NTFS write file (Linux)

- How to improve the performance of Ruby On Rails (Linux)

- Ubuntu install Geary (Linux)

- Android main thread message system (Handler Looper) (Linux)

- Linux file and directory management - ls, cp, mv (Linux)

- Linux Detailed instructions alias settings (Linux)

- installation and configuration of the PHP environment (Apache2) under Linux (Server)

- Install Java JDK 8 in CentOS 7 / 6.5 / 6.4 (Linux)

- Intrusion prevention network server security maintenance tips (Linux)

- IBM Data Studio to use ---- window displays all rows (Database)

- Ubuntu upgrade to Linux Kernel 4.2.3 Kernel (Linux)

- Linux_Logo - output color ANSI Linux distributions logo command-line tool (Linux)

- Caffe install under Ubuntu 14.04 64bit (Linux)

- PostgreSQL Source Customization: Online global read only (Database)

- Linux Thread Synchronization (Programming)

- MySQL & NoSQL - Memcached widget (Database)

- How to Create a file can not be changed under Linux (Linux)

- Examples of safety testing system notes for RedHat Linux (Linux)

- Cacti installation deployment under CentOS 6.6 (Server)

- Android project using the command to create and install the package (Programming)

 
         
  RedHat command line and graphical interface switching
     
  Add Date : 2016-04-17      
         
         
         
  1, Linux graphical interface and command interface switching
Inside the virtual machine installed RedHat Linux system. To enter the graphical interface.
Switching from the graphical interface to the Linux command interface you can press Ctrl + Alt + Fn (n = 1,2,3,4,5,6), but the Ctrl + Alt has been occupied inside the virtual machine, the virtual machine that is switched cursor . So we need to press Ctrl + Shift + Alt + Fn (n = 1,2,3,4,5,6). (Horse of God? I installed the default startup is a graphical interface, and then press Ctrl + Alt + Fn (2,3,4,5,6) into the command line, press Ctrl + Alt + F1 back to the graphical interface)
Interface command to switch from Linux graphical interface you can press Alt + F7 (You can also type the command startx into the graphical interface).
If you want to enter the boot command interface, then you can modify the configuration file. Specific command is as follows (in the command interface, of course, must be root or have root privileges can modify the user name):
(1) vi / etc / inittab - with the vi editor to edit the / etc / inittab file
(2) Press i - to switch to INSERT mode, that is, to modify the mode
(3) found inside the file init: 5: initdefault line, into the 5 3 - 5 below and say what represent 3
(4) Press the Esc key - exit INSERT mode
(5) by: (colon) - lock the cursor to the last row
(6) wq (save and exit)
If you do not want to modify, then q! (Exit without saving)
Restart to enter the default command interface.
2, Linux run levels
Linux has 7 runlevels: init [0123456]
0: Shutdown
1: Single User
2: Multi-user state no network service
3: multi-user internet service status
4: The system does not use the reserved user
5: the graphical interface
6: Restart
Commonly run level 3 and 5, to modify the run level in the file / etc / inittab inside modify, change the default method, see 1 into the interface.
Here is set to 1 if the boot that will shut down, it will be set to 6 has been restarted.
3, modify the method to resolve a misconfigured
If you accidentally set it to run level 1 or 6 can not normally enter Linux, then we can solve the following methods. (Of course, it is not in the GRUB password)
(1) when the system is started several seconds Press "e" to enter the GRUB boot screen
(2) highlight the second line, enter "e" into the
(3) Enter "1" [single-user level], because the single-user level to start not read / etc / inittab file after entering
(4) Carriage Return GRUB interface
(5) Press "b" will enter the single mode
(6) In the single player mode which modify / etc / inittab file which can be in accordance with 1
Because Linux inside to change the password without entering the old password, so if you forget the password to be entered so single-mode changes.
     
         
         
         
  More:      
 
- 22 Port weak passwords and SSH connection program of the Linux server (Linux)
- MySQL to manage multiple instances of method (Database)
- The AWK use Cygwin tools mysql binlog log viewer (Database)
- Linux system - The understanding cpu load (Linux)
- Create and modify Oracle temporary table space (Database)
- How to install Linux Kernel 4.4 on Ubuntu (Linux)
- Linux NFS FTP use (Server)
- Linux file time Comments ctime mtime atime (Linux)
- In Debian 4.3 compiler under Linux-2.6.28 kernel Summary (Programming)
- Python object-oriented programming (Programming)
- C # asynchronous delegates (Programming)
- Gentoo: startx appeared Failed to load module Problem Solving (Linux)
- PHP 7.0 Upgrade Notes (Linux)
- How to use the process on the desktop xkill end Linux (Linux)
- Oracle database physical file backup / restore (Database)
- Linux shell script to adjust the Task Scheduler (Linux)
- CentOS x86 64bit upgrade to 2.7 Python2.6 (Linux)
- Ubuntu install code editor Sublime Text 3 (Linux)
- Linux basic articles of the boot process (Linux)
- 10 easy to use Linux utilities Recommended (Linux)
     
           
     
  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.