Skip to content

Instantly share code, notes, and snippets.

@alepez
Created November 25, 2016 13:59
Show Gist options
  • Select an option

  • Save alepez/6273dc5220c1c5ec5f3f126e739d58bf to your computer and use it in GitHub Desktop.

Select an option

Save alepez/6273dc5220c1c5ec5f3f126e739d58bf to your computer and use it in GitHub Desktop.
Ubuntu 16.04 (EE) xf86OpenConsole: Cannot open virtual console 2 (Permission denied)
sudo apt-get install xserver-xorg-legacy

Edit /etc/X11/Xwrapper.config

allowed_users=anybody
needs_root_rights=yes

ghost commented Nov 8, 2020

Copy link
Copy Markdown

I had this problem but bizarrely,it was caused by a couple of entries in /etc/fstab which pointed to NFS mounts that didn't exist. Even though the "noauto" was set, it still stopped me logging in to the desktop.

@cagnulein

Copy link
Copy Markdown

On 18.04.

Don't know why but surprised that the needs_root_rights=yes line is actually needed, but its true :P

i confirm it too!

@nhuongmh

Copy link
Copy Markdown

Thank you, you saved me after hour of googling

@milind-brahme

Copy link
Copy Markdown

Right on the money. You are doing god's service.

@vovabob

vovabob commented Sep 15, 2022

Copy link
Copy Markdown

Six years later running Void, I've ended up here too. For some reason 'needs_root_rights=auto' does not work. Xwrapper insists on 'yes'. Could not find the answer.

@vlachoudis

Copy link
Copy Markdown

Many thanks!!!

@ellismichaelc

Copy link
Copy Markdown

Worked for me. Absolutely incredible this is not in the KlipperScreen docs.

@Spagett1

Spagett1 commented Jul 2, 2023

Copy link
Copy Markdown

Had to add this to get xorg running on my 2011 travelmate on alpine, thanks a ton!

@v4lerdon

Copy link
Copy Markdown

thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment