Joined: 19 Nov 2014
|Posted: Thu Jun 27, 2019 2:08 pm Post subject: non root X use in gentoo prefix [SOLVED]
I am running gentoo prefix on a debian buster install using an amd64 kaveri box.
With help from the gentoo alt community and Fabian Grobian I have emerged xorg server plus drivers and video card and libinput libraries etc.
But when I tried running the startx command I ended up with a problem.
/usr/lib/xorg/Xorg.wrap: Only console users are allowed to run the X server
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
Couldn't get a file descriptor referring to the console
There is a web page in gentoo on this general subject:
I notice though there is a warning on it saying it might be a bit out of date....
I am going to study it and try out some of the options it suggests and see how I get on.
If anyone has any suggestions on good strategies here I would appreciate some input.
The following discussion thread on gentoo alt could help explain what I have been doing so far here:
PS I have a found a way out of this problem. It turns out that with a bit of persuasion, chromium (which I have also compiled with gentoo prefix) will run
on xorg-server of the parentOS debian - so I don't need to run X within gentoo prefix itself after all. I had assumed this was the
case and that was why I was trying to get it to run as a non root user etc. Many thanks to Fabian Grobian.