You can log in to command line environment by switching to a text console. When the graphical login screen shows up, press CTRL+ALT+F1 (usually F1 through F6 are text consoles) and you should see a text login (note: when typing password, nothing is printed on screen, i.e. no asterisks). Once in, make sure that the permissions on the mentioned files are all right (for example the ICEAuthority should be owned by you and have permissions 'rw' for you, nothing for others). You can list them using for example
ls -l /home/jq/.ICEAuthority
Make sure that their owner is you, i.e. "jq" in this case (I take it that your username is "jq"). If you are fine with being owner of all the files inside your home directory (usually this is the case), you can recursively change the owner of all those files using
chown -R jq /home/jq
provided that "jq" is your username. If there are files not owned by you, you probably need root privileges (or whoever owns the files, but root would be handy here) to do this. On Ubuntu, use
sudo chown -R jq /home/jq
and when prompted, type in your (user) password. Then hit CTRL+ALT+F7 and see if it helped. If you need to change read/write/execute permissions, use chmod (but WITH CARE), for example
chmod u+rw $HOME/.ICEAuthority
to make sure you yourself have read and write permissions on the file, or
chmod go-rwx $HOME/.ICEAuthority
to remove all permissions (read, write, execute) from others (g for group, o for other users).
You may also try to remove (you should rename the files rather than remove directly, so you can revert if it does not work) the file(s) and see if they are recreated as they should. But try to change the permissions first..
Remember to be careful with the commands, especially with move (mv) and remove (rm) commands because it's very easy to do damage with them with a small typo or unintentional hitting of "Enter". Especially if you use wildcards.