You are not logged in.

#1 2022-10-26 08:49:48

nibazshab
Member
Registered: 2022-08-25
Posts: 60

[SOLVED] Xorg Startx Failed

I try to have GUI with dwm , i type startx , it error

X.Org X Server 1.21.1.4
X Protocol Version 11, Revision 0
Current Operating System: Linux server 5.15.74-1-lts #1 SMP Sat, 15 Oct 2022 06:43:47 +0000 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux-lts root=UUID=c0b9ecd8-f922-4e5d-bccb-83fbc94ad23b rw loglevel=3 quiet

Current version of pixman: 0.42.0
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Oct 26 16:43:37 2022
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
pci id for fd 16: 1013:00b8, driver (null)
MESA-LOADER: failed to open cirrus: /usr/lib/dri/cirrus_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)
failed to load driver: cirrus
pci id for fd 17: 1013:00b8, driver (null)
kmsro: driver missing
error, cannot load font from name: 'monospace:size=10'
no fonts could be loaded.
xinit: connection to X server lost

waiting for X server to shut down (II) Server terminated successfully (0). Closing log file.

Last edited by nibazshab (2022-10-27 00:22:45)

Offline

#2 2022-10-26 09:27:03

d.ALT
Member
Registered: 2019-05-10
Posts: 958

Re: [SOLVED] Xorg Startx Failed

nibazshab wrote:

I try to have GUI with dwm , i type startx , it error

kmsro: driver missing

Mesa uses kmsro to support display controllers paired with Mali GPUs.


From: https://docs.mesa3d.org/drivers/panfrost.html

If you're on ARM, please use the proper Support Channel: https://archlinuxarm.org/forum/


<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

#3 2022-10-26 13:33:34

nibazshab
Member
Registered: 2022-08-25
Posts: 60

Re: [SOLVED] Xorg Startx Failed

No, not ARM,  i use x86_64

-------------------- A Bench.sh Script By Teddysun -------------------
 Version            : v2022-06-01
 Usage              : wget -qO- bench.sh | bash
----------------------------------------------------------------------
 CPU Model          : Intel(R) Xeon(R) Gold 6133 CPU @ 2.50GHz
 CPU Cores          : 4 @ 2494.140 MHz
 CPU Cache          : 28160 KB
 AES-NI             : Enabled
 VM-x/AMD-V         : Disabled
 Total Disk         : 78.6 GB (5.1 GB Used)
 Total Mem          : 3.8 GB (452.1 MB Used)
 System uptime      : 2 days, 0 hour 30 min
 Load average       : 0.08, 0.04, 0.00
 OS                 : Arch Linux
 Arch               : x86_64 (64 Bit)
 Kernel             : 5.15.74-1-lts
 TCP CC             : cubic
 Virtualization     : Dedicated
 Organization       : AS45090 Shenzhen Tencent Computer Systems Company Limited
 Location           : Shanghai / CN
 Region             : Shanghai
----------------------------------------------------------------------

Last edited by nibazshab (2022-10-26 13:35:06)

Offline

#4 2022-10-26 13:59:18

d.ALT
Member
Registered: 2019-05-10
Posts: 958

Re: [SOLVED] Xorg Startx Failed

<EDIT>
wrong '- S', fixed
</EDIT>

See here: https://bbs.archlinux.org/viewtopic.php?id=277762

# pacman -Syu
# pacman -S llvm mesa

Last edited by d.ALT (2022-10-26 14:21:14)


<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

#5 2022-10-26 14:17:52

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,336

Re: [SOLVED] Xorg Startx Failed

There's a stray blank in the second pacman command.
@nibazshab

(==) Log file: "/var/log/Xorg.0.log", Time: Wed Oct 26 16:43:37 2022

cat /var/log/Xorg.0.log | curl -F 'file=@-' 0x0.st

Offline

#6 2022-10-26 15:40:14

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,456
Website

Re: [SOLVED] Xorg Startx Failed

nibazshab wrote:

... it error ...

Server terminated successfully (0). Closing log file.

Depending on what you mean by "it" that is not true at all.  Xorg ran just fine and exited successfully.  Whatever is in your xinitrc failed and errored out immediately.  So post your xinitrc.

Also, there is the obvious but unaddressed error: install a font!  If you are indeed trying to run dwm, it requires a font for it's status bar and appears to error out due to not finding a font.  This would explain all the current symptoms.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#7 2022-10-26 15:40:23

nibazshab
Member
Registered: 2022-08-25
Posts: 60

Re: [SOLVED] Xorg Startx Failed

I try , but there is no help of me, the same error of startx

# pacman -Syu
# pacman -S llvm mesa

---

This is the log of xorg: http://fars.ee/pYpX

Offline

#8 2022-10-26 15:42:29

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,612

Re: [SOLVED] Xorg Startx Failed

Trilby wrote:

So post your xinitrc.

Also, there is the obvious but unaddressed error: install a font!  If you are indeed trying to run dwm, it requires a font for it's status bar and appears to error out due to not finding a font.  This would explain all the current symptoms.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#9 2022-10-26 15:44:14

nibazshab
Member
Registered: 2022-08-25
Posts: 60

Re: [SOLVED] Xorg Startx Failed

Trilby wrote:

install a font

I think i have encodigs fonts

> ls /usr/share/fonts/
encodings

Last edited by nibazshab (2022-10-26 15:44:58)

Offline

#10 2022-10-26 15:47:09

nibazshab
Member
Registered: 2022-08-25
Posts: 60

Re: [SOLVED] Xorg Startx Failed

xinitrc only have this

exec dwm

Offline

#11 2022-10-26 15:51:26

d.ALT
Member
Registered: 2019-05-10
Posts: 958

Re: [SOLVED] Xorg Startx Failed

<EDIT>
Modesetting is indeed loaded...

[182009.094] (II) LoadModule: "modesetting"
[182009.094] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[182009.095] (II) Module modesetting: vendor="X.Org Foundation"

</EDIT>
There are a lot of errors ([EE]) about video drivers... I suspect something's wrong with the Virtual Machine's GPU.

Last edited by d.ALT (2022-10-26 16:04:38)


<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

#12 2022-10-26 16:09:09

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,456
Website

Re: [SOLVED] Xorg Startx Failed

That is not a font.  Really, just install a font.  Everything else in this thread is not relevant to the present error.  If you don't have any specific preference ttf-dejavu is a good start.

Note, though, that many here will say your xinitrc is "broken" as it fails to source some allegedly required bits from /etc.  Please see the wiki on xinitrc.  However, while that might cause minor issues with some specific client programs, it's not related to the present errors.

Last edited by Trilby (2022-10-26 16:16:45)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#13 2022-10-26 16:11:23

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,336

Re: [SOLVED] Xorg Startx Failed

That's not a font, https://archlinux.org/packages/extra/an … pro-fonts/

type dwm

and also the last link below (but that won't cause dwm to fail)

Another problem is that you seem to have a "Cirrus Logic GD 5446" what is a 2MB "GPU" from the mid 90ies…

Edit: semi-blast

Last edited by seth (2022-10-26 16:11:55)

Offline

#14 2022-10-27 00:22:27

nibazshab
Member
Registered: 2022-08-25
Posts: 60

Re: [SOLVED] Xorg Startx Failed

Thanks , install a fonts like "ttf-dejavu" make everything is OK

And this is a cloud server, so "Cirrus Logic GD 5446" ......

Last edited by nibazshab (2022-10-27 00:26:56)

Offline

Board footer

Powered by FluxBB