Ubuntu – XDG_RUNTIME_DIR is not owned by us (uid 0)


XDG_RUNTIME_DIR is not owned by us (uid 0), but by uid 999!(This could eg happen if you try to connect to a non-root PulseAudio as a root user, over the native protocol. Don't do that.)
I am trying to install Ubuntu 20.4 as Dual Boot with Windows 10 on my Dell G3 gaming PC. After hitting 'Install Now', the system hangs at 'searching filesystems' at the error message in bold shown at the beginning of this post – about the XDG_RUNTIME_DIR. In another Ubuntu forum question, the suggested fix was switching off 'fast startup' in Power Options>Control Panel in Windows 10. Did that, but no help at all.
Guys please help me out.
Thanks in advance:).

Best Answer

For me this worked:

When booting from USB Press "try Ubuntu" Open a terminal window

$ sudo nano /etc/default/grub 

Change the following line: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset noacpi"

Close the terminal window and press the install Ubuntu on the desktop