LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Unable to start Xorg after building Plasma 5 (https://www.linuxquestions.org/questions/linux-from-scratch-13/unable-to-start-xorg-after-building-plasma-5-a-4175732715/)

dioxis 01-12-2024 04:58 PM

Unable to start Xorg after building Plasma 5
 
Hey. I'm unable to start graphical environment after building Plasma 5. I'm using VirtualBox 7.0.12, host Windows 11, guest Arch x64 KDE. PC Ryzen 4500 with 1080ti. There is Xorg.0.log and dmesg log files. Tell me pls what should i do to solve my problem. This is caught me in dmesg:
[5.029909] vmwgfx 0000:00:02.0: [drm] *ERROR* vmwgfx seems to be running on an unsupported hypervisor.
And part of the Xorg.0.log:
Code:

[    56.891] (WW) Warning, couldn't open module vmware
[    56.891] (EE) Failed to load module "vmware" (module does not exist, 0)
[    56.891] (II) LoadModule: "modesetting"
[    56.891] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    56.891] (II) Module modesetting: vendor="X.Org Foundation"
[    56.891]        compiled for 1.21.1.8, module version = 1.21.1
[    56.891]        Module class: X.Org Video Driver
[    56.891]        ABI class: X.Org Video Driver, version 25.2
[    56.891] (II) LoadModule: "fbdev"
[    56.891] (WW) Warning, couldn't open module fbdev
[    56.891] (EE) Failed to load module "fbdev" (module does not exist, 0)
[    56.891] (II) LoadModule: "vesa"
[    56.891] (WW) Warning, couldn't open module vesa
[    56.891] (EE) Failed to load module "vesa" (module does not exist, 0)
[    56.891] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    56.891] (EE) open /dev/dri/card0: No such file or directory
[    56.891] (WW) Falling back to old probe method for modesetting
[    56.891] (EE) open /dev/dri/card0: No such file or directory
[    56.891] (EE) Screen 0 deleted because of no matching config section.
[    56.891] (II) UnloadModule: "modesetting"
[    56.891] (EE) Device(s) detected, but none match those in the config file.
[    56.891] (EE)
Fatal server error:
[    56.891] (EE) no screens found(EE)


bryan_S 01-20-2024 11:16 AM

You need to install the VirtualBox guest additions for linux. See section 4.2.2.1. "Installing the Linux Guest Additions" in the vbox manual. This involves compiling 3 kernel modules - You may need to run 'make modules_prepare' in the kernel sources beforehand.

Compiling KDE before testing Xorg was pretty ambitious. I usually build XFCE first in order to test the 'graphical stack' even though LXQT is my preferred desktop environment. XFCE is an easy build with not that many dependencies.

Keith Hedger 01-20-2024 02:42 PM

I always test xorg after 1st build with the included twm, just to make sure alls ok.

bryan_S 01-23-2024 05:59 AM

Keith_Hedger wrote:
Quote:

I always test xorg after 1st build with the included twm, just to make sure alls ok.
Makes sense - for testing the new system as soon as possible. If i was going to do that, though i would just build openbox or fluxbox. These days the only graphical app i install from the Xorg section is xterm.

I want at least a basic graphical editor, browser, and terminal for staying in the new system and continuing the build. Typically dillo for the browser, geany for the editor, and xterm.


All times are GMT -5. The time now is 05:47 AM.