Thanks.
I have tried the commands which you have suggested but, unfortunately they did not work for me. I just reinstalled the server.
Regards Hersh
On 7 July 2016 at 10:31, Venkata Balaji N nag1010@gmail.com wrote:
On Thu, Jul 7, 2016 at 2:00 PM, Hersh parikhh1@gmail.com wrote:
Hi Venkata,
Can you please let me know the steps which you have followed for re-installing the GNOME? I am having a similar problem on one of our system.
To my understanding, when you install centos-7 with options ServerGUI or GNOME Desktop and leave the system for long time locked, you will notice that CentOS slips into textual interface mode and you will not be able to get GUI which means, you can login to the system and cannot see GUI screen.
I have found the following steps on google, which helped me get through this problem
systemctl disable gdm.service systemctl enable lightdm.service systemctl set-default graphical.target
First command was successful, second one error'd out. Not sure what to do, i reverted back the first command and executed the third command and rebooted. All worked fine !
Below is the log -
[root@buildhost ~]# systemctl disable gdm.service Removed symlink /etc/systemd/system/display-manager.service.
[root@buildhost ~]# systemctl enable lightdm.service Failed to execute operation: Access denied
[root@buildhost ~]# systemctl disable gdm.service
[root@buildhost ~]# systemctl enable gdm.service Created symlink from /etc/systemd/system/display-manager.service to /usr/lib/systemd/system/gdm.service.
[root@buildhost ~]# systemctl set-default graphical.target Removed symlink /etc/systemd/system/default.target.
I think, the last command made sense to me.
Regards, VB _______________________________________________ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos