I was sorting out security on my recently installed FC5 box, I enabled the firewall with all the appropriate ports added etc and decided to turn on SELINUX in enforce mode as well (not having used this before....should have known better I suppose). Now I can't get into my box either by ssh (it asks for username and password then closes the puttyssh viewer once you hit enter on the password) or locally (input username and password then get an error message saying "cannot start the session as there has been an internal error")
The next dialogue that appears tells me that as my session lasted less than 10 seconds etc..... but does give me a tick box to see the (-/.xsession-errors file with following content.
/etc/gdm/PreSession/Default: Registering your session with wtmp and utmp
/etc/gdm/PreSession/Default: running: usr/bin/sessreg -a -w /var/log/wtmp -u /var/run/utmp -x "/var/gdm/:0.Xservers" -h "" -l ":0" "server"
session_child_run: Could not exec /etc/X11/xinit/Xsession default
I've not tried using linux rescue or anything to try and get into the box yet, to be honest just being able to turn selinux off would be fine by me. Can anyone suggest a. Whats happened and b. a way to make it stop!
Any help greatly appreciated,