Skip to content

Instantly share code, notes, and snippets.

@saranjsr
Created July 31, 2019 09:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save saranjsr/264e0cf9dca20da345db547e176e224b to your computer and use it in GitHub Desktop.
Save saranjsr/264e0cf9dca20da345db547e176e224b to your computer and use it in GitHub Desktop.
ubuntu 18.04 login loop issue in virtual box 6
# it was due to .Xauthority file has bad permissions or missing. In my case, .Xauthority file was missing.
Ctl + ALT + F3 to switch to command line
touch ~/.Xauthority
xauth add ${HOST}:0 . $(xxd -l 16 -p /dev/urandom)
xauth list
sudo init 6
fixed this issue. :)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment