Were you trying to edit the files as root?
either use sudo and your user password
or use su with the root password you set during install
su -c "vi the_file"
That being said, there is a reason root GUI logins are disabled by default, and they are good reasons.
It dramatically reduces the security of your system, and increases the risk of accidental "operator errors", and it is generally accepted as being a bad idea.