You are not logged in.

#1 2021-11-21 19:49:20

shako
Member
Registered: 2021-11-16
Posts: 50

X server fails to start

Hi everyone,

I am trying to configure dwm on Arch. I installed xf86-video-intel, xorg-server, xorg-xinit and picom, copied .xinitrc from /etc/X11/xinit to my home directory, removed the last 5 lines (settings for xclock, xterm ecc.) and added instead:

picom -f &
exec dwm

Then I downloaded both dwm & st directly from the suckless website, extracted the archives into a folder in my home directory, installed both of them via "sudo make clean install", and typed "startx" to start the X server, but it immidiately exits saying something like:

'monospace:size=10'no fonts could be loaded.xinit:

Now, the X server is "terminated succesfully" w/ exit code 0, which means (I think) that the problem is likely to be my .xinitrc file But I can't spot the error. May anyone give me a hint? I remember following this exact procedure on another machine, which worked at the first try.

Offline

#2 2021-11-21 20:02:23

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: X server fails to start

Did you install the requisite fonts you are declaring in config.h?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2021-11-21 21:14:35

shako
Member
Registered: 2021-11-16
Posts: 50

Re: X server fails to start

jasonwryan wrote:

Did you install the requisite fonts you are declaring in config.h?

Actually not! That was the issue, thanks. I only declare

monospace

in my dwm config.h but can't find any related package to install. I tried downloading

ttf-inconsolata

and this time the X server started succesfully, but the font in terminal windows looked horrible. Should I edit my config.h or install some other package? Thanks again and sorry for the extreem n00bery smile

Offline

#4 2021-11-21 21:20:42

shako
Member
Registered: 2021-11-16
Posts: 50

Re: X server fails to start

EDIT: I removed inconsolata and installed ttf-dejavu (which was the reccomended option after some googling). I think this solves my issue. Thank you!

Offline

#5 2021-11-21 21:36:51

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: X server fails to start

Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB