Hallo Leute,
ich habe in Arch Linux eine Virtuelle Maschine laufen. (qemu).
Darin ist wiederrum Arch als Gast installiert. Die Basisinstallation lief erfolgreich.
Jetzt soll darin noch der X Server mit twm laufen.
Zusätzlich zur Basisinstallation ist noch der xorg-server, xorg-xinit, xf86-video-vesa, xorg-xclock, xorg-xterm, xorg-twm installiert.
Als Grafikkarte soll -vga std laufen.

Die Befehlszeile um qemu zu starten ist:
qemu-system-x86_64 -pflash $name.bin -enable-kvm -vga std -cpu host -smp 1 -m 2048 -net nic,model=i82551 -net user $name.img
wobei $name gleich name=archuefi ist.
In der /etc/X11/xinit/xinitrc ist ganz unten eingetragen:
twm &
xclock -geometry 50x50-1+1 &
exec xterm -geometry 80x66+0+0 -name login

gestartet soll mit startx.
Bis jetzt habe ich den xserver in qemu nicht zum Laufen gebracht.

In der ~/.local/share/xorg/Xorg.0.log steht nur ein (EE) drin:
glamore initialisaion failed.

Hat Jemand von Euch damit Erfahrung??
Besten Dank im Voraus!!
Gruß aus DN
Greg
Poste doch mal bitte den ganzen Xorg-log
Starte mal nur twm. (exec twm als einzige Zeile in ${HOME}/.xinitrc).
Besten Dank Euch Allen!!
Erst mal das Logfile von ~/.local/share/xorg/Xorg.0.log:
[   911.639] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[   911.642] 
X.Org X Server 1.20.5
X Protocol Version 11, Revision 0
[   911.643] Build Operating System: Linux Arch Linux
[   911.644] Current Operating System: Linux gregkiste 5.3.1-arch1-1-ARCH #1 SMP PREEMPT Sat Sep 21 11:33:49 UTC 2019 x86_64
[   911.644] Kernel command line: initrd=\initramfs-linux.img root=LABEL=p_arch rw
[   911.648] Build Date: 30 June 2019  09:52:01AM
[   911.649]  
[   911.649] Current version of pixman: 0.38.4
[   911.650] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   911.650] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   911.655] (==) Log file: "/home/gl/.local/share/xorg/Xorg.0.log", Time: Wed Oct  2 09:48:54 2019
[   911.657] (==) Using config directory: "/etc/X11/xorg.conf.d"
[   911.657] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   911.660] (==) No Layout section.  Using the first Screen section.
[   911.660] (==) No screen section available. Using defaults.
[   911.660] (**) |-->Screen "Default Screen Section" (0)
[   911.660] (**) |   |-->Monitor "<default monitor>"
[   911.660] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[   911.660] (==) Automatically adding devices
[   911.660] (==) Automatically enabling devices
[   911.660] (==) Automatically adding GPU devices
[   911.660] (==) Automatically binding GPU devices
[   911.660] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   911.660] (WW) The directory "/usr/share/fonts/misc" does not exist.
[   911.660] 	Entry deleted from font path.
[   911.660] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[   911.660] 	Entry deleted from font path.
[   911.660] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[   911.660] 	Entry deleted from font path.
[   911.660] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[   911.660] 	Entry deleted from font path.
[   911.660] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[   911.660] 	Entry deleted from font path.
[   911.660] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[   911.660] 	Entry deleted from font path.
[   911.660] (==) FontPath set to:
	
[   911.660] (==) ModulePath set to "/usr/lib/xorg/modules"
[   911.660] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[   911.660] (II) Module ABI versions:
[   911.660] 	X.Org ANSI C Emulation: 0.4
[   911.660] 	X.Org Video Driver: 24.0
[   911.660] 	X.Org XInput driver : 24.1
[   911.660] 	X.Org Server Extension : 10.0
[   911.661] (++) using VT number 1

[   911.669] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_33
[   911.670] (II) xfree86: Adding drm device (/dev/dri/card0)
[   911.671] (EE) systemd-logind: failed to take device /dev/dri/card0: Operation not permitted
[   911.672] (--) PCI:*(0@0:2:0) 1234:1111:1af4:1100 rev 2, Mem @ 0x80000000/16777216, 0x81021000/4096, BIOS @ 0x????????/131072
[   911.672] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[   911.672] (II) LoadModule: "glx"
[   911.677] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   911.690] (II) Module glx: vendor="X.Org Foundation"
[   911.691] 	compiled for 1.20.5, module version = 1.0.0
[   911.691] 	ABI class: X.Org Server Extension, version 10.0
[   911.691] (==) Matched modesetting as autoconfigured driver 0
[   911.691] (==) Matched fbdev as autoconfigured driver 1
[   911.691] (==) Matched vesa as autoconfigured driver 2
[   911.691] (==) Assigned the driver to the xf86ConfigLayout
[   911.691] (II) LoadModule: "modesetting"
[   911.692] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[   911.703] (II) Module modesetting: vendor="X.Org Foundation"
[   911.703] 	compiled for 1.20.5, module version = 1.20.5
[   911.703] 	Module class: X.Org Video Driver
[   911.703] 	ABI class: X.Org Video Driver, version 24.0
[   911.703] (II) LoadModule: "fbdev"
[   911.706] (WW) Warning, couldn't open module fbdev
[   911.706] (EE) Failed to load module "fbdev" (module does not exist, 0)
[   911.706] (II) LoadModule: "vesa"
[   911.706] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[   911.708] (II) Module vesa: vendor="X.Org Foundation"
[   911.708] 	compiled for 1.20.0, module version = 2.4.0
[   911.708] 	Module class: X.Org Video Driver
[   911.708] 	ABI class: X.Org Video Driver, version 24.0
[   911.708] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[   911.708] (II) VESA: driver for VESA chipsets: vesa
[   911.708] xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
[   911.708] (II) modeset(0): using drv /dev/dri/card0
[   911.708] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[   911.708] (II) modeset(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[   911.708] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[   911.708] (==) modeset(0): RGB weight 888
[   911.708] (==) modeset(0): Default visual is TrueColor
[   911.708] (II) Loading sub module "glamoregl"
[   911.708] (II) LoadModule: "glamoregl"
[   911.708] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[   911.713] (II) Module glamoregl: vendor="X.Org Foundation"
[   911.713] 	compiled for 1.20.5, module version = 1.0.1
[   911.713] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   911.854] (II) modeset(0): Refusing to try glamor on llvmpipe
[   911.856] (EE) modeset(0): glamor initialization failed
[   911.856] (II) modeset(0): ShadowFB: preferred NO, enabled NO
[   911.856] (II) modeset(0): Output Virtual-1 has no monitor section
[   911.857] (II) modeset(0): EDID for output Virtual-1
[   911.857] (II) modeset(0): Manufacturer: RHT  Model: 1234  Serial#: 0
[   911.857] (II) modeset(0): Year: 2014  Week: 42
[   911.857] (II) modeset(0): EDID Version: 1.4
[   911.857] (II) modeset(0): Digital Display Input
[   911.857] (II) modeset(0): 8 bits per channel
[   911.857] (II) modeset(0): Digital interface is DisplayPort
[   911.857] (II) modeset(0): Max Image Size [cm]: horiz.: 40  vert.: 30
[   911.857] (II) modeset(0): Gamma: 2.20
[   911.857] (II) modeset(0): No DPMS capabilities specified
[   911.857] (II) modeset(0): Supported color encodings: RGB 4:4:4 
[   911.857] (II) modeset(0): Default color space is primary color space
[   911.857] (II) modeset(0): First detailed timing is preferred mode
[   911.857] (II) modeset(0): Preferred mode is native pixel format and refresh rate
[   911.857] (II) modeset(0): redX: 0.640 redY: 0.330   greenX: 0.300 greenY: 0.600
[   911.857] (II) modeset(0): blueX: 0.150 blueY: 0.060   whiteX: 0.312 whiteY: 0.329
[   911.857] (II) modeset(0): Supported established timings:
[   911.857] (II) modeset(0): 640x480@60Hz
[   911.857] (II) modeset(0): 800x600@60Hz
[   911.857] (II) modeset(0): 1024x768@60Hz
[   911.857] (II) modeset(0): Manufacturer's mask: 0
[   911.857] (II) modeset(0): Supported standard timings:
[   911.857] (II) modeset(0): #0: hsize: 2048  vsize 1152  refresh: 60  vid: 49377
[   911.857] (II) modeset(0): #1: hsize: 1920  vsize 1080  refresh: 60  vid: 49361
[   911.857] (II) modeset(0): Supported detailed timing:
[   911.857] (II) modeset(0): clock: 82.3 MHz   Image Size:  403 x 302 mm
[   911.857] (II) modeset(0): h_active: 1024  h_sync: 1280  h_sync_end 1310 h_blank_end 1382 h_border: 0
[   911.857] (II) modeset(0): v_active: 768  v_sync: 771  v_sync_end 774 v_blanking: 794 v_border: 0
[   911.857] (II) modeset(0): Ranges: V min: 50 V max: 125 Hz, H min: 30 H max: 160 kHz, PixClock max 1205 MHz
[   911.857] (II) modeset(0): Monitor name: QEMU Monitor
[   911.857] (II) modeset(0): Established timings III: (not decoded)
[   911.857] (II) modeset(0): Number of EDID sections to follow: 1
[   911.857] (II) modeset(0): EDID (in hex):
[   911.857] (II) modeset(0): 	00ffffffffffff004914341200000000
[   911.857] (II) modeset(0): 	2a180104a5281e7806ee91a3544c9926
[   911.857] (II) modeset(0): 	0f5054210800e1c0d1c0010101010101
[   911.857] (II) modeset(0): 	0101010101012520006641001a30001e
[   911.857] (II) modeset(0): 	3340932e11000018000000fd00327d1e
[   911.857] (II) modeset(0): 	a078010a202020202020000000fc0051
[   911.857] (II) modeset(0): 	454d55204d6f6e69746f720a000000f7
[   911.857] (II) modeset(0): 	000a004aa22429200000000000000119
[   911.857] (II) modeset(0): 	02030a00457d6560591f000000000000
[   911.857] (II) modeset(0): 	00000000000000000000000000000000
[   911.857] (II) modeset(0): 	00000000000000000000000000000000
[   911.857] (II) modeset(0): 	00000000000000000000000000000000
[   911.857] (II) modeset(0): 	00000000000000000000000000000000
[   911.857] (II) modeset(0): 	00000000000000000000000000000000
[   911.857] (II) modeset(0): 	00000000000000000000000000000000
[   911.857] (II) modeset(0): 	000000000000000000000000000000f2
[   911.857] (II) modeset(0): Printing probed modes for output Virtual-1
[   911.857] (II) modeset(0): Modeline "1024x768"x75.0   82.29  1024 1280 1310 1382  768 771 774 794 -hsync -vsync (59.5 kHz eP)
[   911.857] (II) modeset(0): Modeline "1920x1080"x60.0  148.50  1920 2008 2052 2200  1080 1084 1089 1125 -hsync -vsync (67.5 kHz e)
[   911.857] (II) modeset(0): Modeline "1920x1080"x50.0  148.50  1920 2448 2492 2640  1080 1084 1089 1125 +hsync +vsync (56.2 kHz e)
[   911.857] (II) modeset(0): Modeline "1600x1200"x60.0  162.00  1600 1664 1856 2160  1200 1201 1204 1250 +hsync +vsync (75.0 kHz e)
[   911.857] (II) modeset(0): Modeline "1680x1050"x60.0  146.25  1680 1784 1960 2240  1050 1053 1059 1089 -hsync +vsync (65.3 kHz e)
[   911.857] (II) modeset(0): Modeline "1400x1050"x60.0  121.75  1400 1488 1632 1864  1050 1053 1057 1089 -hsync +vsync (65.3 kHz e)
[   911.857] (II) modeset(0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[   911.857] (II) modeset(0): Modeline "1440x900"x59.9  106.50  1440 1520 1672 1904  900 903 909 934 -hsync +vsync (55.9 kHz e)
[   911.857] (II) modeset(0): Modeline "1280x960"x60.0  108.00  1280 1376 1488 1800  960 961 964 1000 +hsync +vsync (60.0 kHz e)
[   911.857] (II) modeset(0): Modeline "1360x768"x60.0   85.50  1360 1424 1536 1792  768 771 777 795 +hsync +vsync (47.7 kHz e)
[   911.857] (II) modeset(0): Modeline "1280x768"x59.9   79.50  1280 1344 1472 1664  768 771 778 798 -hsync +vsync (47.8 kHz e)
[   911.857] (II) modeset(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[   911.857] (II) modeset(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[   911.857] (II) modeset(0): Modeline "640x480"x60.0   25.20  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[   911.857] (II) modeset(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[   911.857] (II) modeset(0): Output Virtual-1 connected
[   911.857] (II) modeset(0): Using exact sizes for initial modes
[   911.857] (II) modeset(0): Output Virtual-1 using initial mode 1024x768 +0+0
[   911.857] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0)
[   911.857] (==) modeset(0): DPI set to (96, 96)
[   911.857] (II) Loading sub module "fb"
[   911.857] (II) LoadModule: "fb"
[   911.857] (II) Loading /usr/lib/xorg/modules/libfb.so
[   911.858] (II) Module fb: vendor="X.Org Foundation"
[   911.858] 	compiled for 1.20.5, module version = 1.0.0
[   911.858] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   911.858] (II) UnloadModule: "vesa"
[   911.858] (II) Unloading vesa
[   911.858] (EE) modeset(0): drmSetMaster failed: Permission denied
[   911.858] (EE) 
Fatal server error:
[   911.858] (EE) AddScreen/ScreenInit failed for driver 0
[   911.858] (EE) 
[   911.858] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[   911.858] (EE) Please also check the log file at "/home/gl/.local/share/xorg/Xorg.0.log" for additional information.
[   911.858] (EE) 
[   911.861] (EE) Server terminated with error (1). Closing log file.
Das hat schon ewig gedauert bis ich mal es geschafft habe das irgendwie in den host zu kriegen.

Einen Grund weshalb ich den -vga std bevorzuge?
Naja, ich wollte es möglichst einfach machen. Ohne zusätzlichen Treiber und so. Gut, den xf86-video-vesa habe ich trotzdem installiert. Wird ja auch versucht zu laden.
Ich habe erstaunlich wenig über nicht funktionierenden xserver mit vga std im qemu gefunden. Deshalb wundert es mich schon etwas, dass es bei mir nicht funktioniert.

Nur ein exec twm in der xinitrc habe ich auch probiert. Keine Änderung.
Ich habe dann mal Fluxbox zusätzlich installiert. Auch per exec startfluxbox ändert sich nichts.
Es wird wohl schon am xserver liegen, dass der nicht startet.

Gruß aus DN
Greg
Nachtrag:
Ich bin jetzt an einem anderen Rechner.
Mit dem -vga std klappt es hier.
twm und xclock ließen sich starten.
Mit Fluxbox ging es zunächst nicht. Speicher Zugriffsfehler.
Dann habe ich mal obenbox ausprobiert. Der startete, allerdings war keine Schrift zu sehen. Nur Klötzchen.
Als ich eine ttf Schriftart ttf-dejavu installiert hatte war dann obenbox auch ganz normal anzusehen.
Danach wieder mit Fluxbox ausprobiert und es ging dann auch damit.
Aus just for fun noch lxde ausprobiert und auch hier alles in Ordnung.

Ab Montag kann ich am nicht funktionierenden Rechner nochmal alles ausprobieren was denn da los ist.
Das Ding ist damit gelöst.

Besten Dank Euch Allen!!

Laßt es Euch gut gehen!!
Gruß aus DN
Greg

Nachtrag: Der andere Rechner funktioniert jetzt auch. Es war noch eine .xinitrc im Homeverzeichnis drin. Da dort ein falscher Eintrag drin war, funktionierte das Ding nicht.
Der xserver soll nur durch die /etc/X11/xinit/xinitrc gestartet werden. Hier war alles richtig eingetragen.