Login as ROOT in the X-Window Using init

In the X-windows, basically we can not directly enter as the root, but we can make that can be logged in as root on the X-Window.
Follow these steps:

1. Change the mode to tty, by pressing (Ctrl+Alt+F1..6)
2. Login as root
3. Change the init:

[root@mopheat ~]#init 1

4. Run mode X-Window

[root@mopheat ~]#startx

Now you enter the X-Window as the root

Comments