GentooThis forum is for the discussion of Gentoo Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
New install, gentoo newbie. X isn't working and searching for the solution isn't working out.
Code:
dbus-core: error connecting to system bus: org.freedesktop.DBus.Error.FileNotFound (Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory)
parse_vt_settings: Cannot open /dev/tty0 (Permission denied)
When you need help with X trouble, it's important to provide some data points about your GPU and display(s), and X's log. Pastebin /var/log/Xorg.0.log, and paste here output from inxi -GSa using code tags.
This is ambiguous output from a broken old inxi version. inxi has -U switch to upgrade itself. Please use it to upgrade to current upstream version, then post inxi -Ga output here again.
The log suggests you should try simply starting X as root user, just to see if it's an authorization issue that needs correction. If it starts, exit. We're only looking for proof X can run.
Most users use a display manager that provides a GUI login greeter, as its safer and preferred. Installing and using a DM should solve this. Examples include GDM, LightDM, SDDM & XDM.
Inxi output suggests X is fully working, but failure to run again suggests authorization to use it is not. An Xorg.0.log from that root attempt further enlighten. I don't know how to fix this, other than possibly as I already wrote, to install a DM and start X from it instead of from a shell prompt. I don't have a current Gentoo installation with AMD video, but Xorg 21.1.3 and older are all working OK here with my HD 8570.
There's clearly something wrong with the xorg install, it loaded 4 different drivers, and failed to unload any of them after the initial load sequence, which is what it's supposed to do, so it's not surprising that xorg crashed.
I would politely suggest that you try a different distro that is more readily debugged, gentoo isn't really for newbies in general, I've actually never seen an xorg exhibit this behavior and I wouldn't even begin to try to guess what the cause is, beyond noting it's not normal behavior, but I wouldn't try to guess at what it is since it can be so many various things.
Modern xorg if left basically to itself 'just works', as long as it has the right xorg drivers installed. Nouveau might give issues on latest nvidia cards, and amdgpu on latest amd cards, but otherwise, it tends to just work, assuming the package is reasonably well built.
The log file indicates clearly the cause of the crash, but I personally would not even try to guess at what was done wrong to generate that cause. Xorg doesn't like being started as root, for one thing, if I remember right, that behavior has changed significantly, so that is a warning already, but like I said, I'm not personally going to try to guess at this, I'd put it in the you break it, you fix it camp, lol, which is how you learn.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.