Skip to content

Instantly share code, notes, and snippets.

@tyagiakhilesh
Last active June 16, 2017 07:54
Show Gist options
  • Save tyagiakhilesh/140f6f65d8e7d3c0d3d0fc513c7aaa4e to your computer and use it in GitHub Desktop.
Save tyagiakhilesh/140f6f65d8e7d3c0d3d0fc513c7aaa4e to your computer and use it in GitHub Desktop.
Cent OS converting a head less machine to full GUI machine

You shall need sudo access for all of these.

You might want to create a new user do as following

useradd <username>
passwd <username>
usermod -aG wheel <username>

Install GUI

// Update the machine first ? I like to do that often. You can skip it.
yum update
// See available install groups
yum group list
yum group install -y "GNOME Desktop" "Graphical Administration Tools"
// Enabling GUI on startup
ln -sf /lib/systemd/system/runlevel5.target /etc/systemd/system/default.target
//Reboot
reboot
// Configure GUI on startup by connecting to machine.

Install VNC server next (my machine is on Virtualization platform so I need this.)

  • yum install vnc-server
  • Edit this file /lib/systemd/system/vncserver@.service and follow the instructions on the top of file.
  • Follow the link...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment