Oracle Linux: startx command not found error

Oracle Linux: startx command not found error

Issue

After starting the Oracle Linux and login with root user, I type "startx" command to start the GUI mode. But I get error "starx command not found".

Investigation Done

I found that I missed installing the Desktop and X Windows packages. On further investigation I found that unlike Oracle Linux 5.x, the Desktop and X Windows packages doesn't get automatically installed for Oracle Linux 6.x (unless you specifically choose them at the time of installation).

Resolution

1. Login as root and open a new terminal.

2. Install the Desktop and X Windows packages using the following commands on the terminal.

yum groupinstall "X window system"

 

yum groupinstall "Desktop"

3. After its installalled, type startx and it will not throw any error, and GUI will come up.

Environment

Oracle Linux 6.x

While Saving Location - FRM-40735: ON-INSERT trigg...
How to find Oracle Linux Distribution and Release ...