Oracle Linux 5.7 GUI login error: (gnome-session:3327): Gtk-WARNING **: cannot open display:
Hi,
The following error raised only l login across GUI(gonme or KDE).
I could not login using GUI due to this error. But I can login in single-user mode.
errors:
Your session only lasted less than 10 seconds. If you have not logged out yourself, this could mean that there is some installation problem or that you may be out of diskspace. Try logging in with one of the failsafe sessions to see if you can fix this problem.
Click the details:
---------------------
/etc/gdm/PreSession/Default: Registering your session with utmp
/etc/gdm/PreSession/Default: running: /usr/bin/sessreg -a -u /var/run/utmp -x "/var/gdm/:0.Xservers" -h "" -l ":0" "root"