You are not logged in.

#1 Yesterday 18:20:52

satellitesahara
Member
Registered: 2026-01-24
Posts: 5

[SOLVED] suckless st terminal errors after install

I'm trying to install st (https://st.suckless.org/)

I cloned the git repo, added the alpha and desktopentry patch with patch -i, and followed the install instructions:

- changed the config.mk file to set

X11INC=/usr/include/X11
X11LIB=/usr/lib/X11

- ran

make clean install

When I click the desktop entry, nothing happens. When I run st in the terminal, I get this back:

X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  1 (X_CreateWindow)
  Serial number of failed request:  417
  Current serial number in output stream:  423

Any idea what could be off about my setup or config that would be causing this? Thanks!

Last edited by satellitesahara (Today 05:30:50)

Offline

#2 Yesterday 19:22:20

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

Re: [SOLVED] suckless st terminal errors after install

added the alpha … patch with patch -i

Are you trying to run this on some wayland session?

Offline

#3 Yesterday 20:39:04

satellitesahara
Member
Registered: 2026-01-24
Posts: 5

Re: [SOLVED] suckless st terminal errors after install

seth wrote:

added the alpha … patch with patch -i

Are you trying to run this on some wayland session?

I'm running it on an X session

I'm using Cinnamon as my DE

Last edited by satellitesahara (Yesterday 20:40:02)

Offline

#4 Yesterday 20:45:18

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

Re: [SOLVED] suckless st terminal errors after install

xdpyinfo | curl -F 'file=@-' 0x0.st # upload since the full dpy info is gonna be a lot of text

Sanitiy check: xorg or xlibre?
Are you running a compositor? Which? (Frankly shouldn't matter, though)

Can you run

urxvt -depth 32

?

Offline

#5 Yesterday 21:17:46

satellitesahara
Member
Registered: 2026-01-24
Posts: 5

Re: [SOLVED] suckless st terminal errors after install

seth wrote:
xdpyinfo | curl -F 'file=@-' 0x0.st # upload since the full dpy info is gonna be a lot of text

Sanitiy check: xorg or xlibre?
Are you running a compositor? Which? (Frankly shouldn't matter, though)

Can you run

urxvt -depth 32

?

Here's the file: https://0x0.st/PbUc.txt

I'm running xorg. As for urxvt, I didn't have rxvt installed, so the command was not found. When I installed it and ran your command, it launched rxvt without issue.

I did initially install st before editing the config.mk, not sure if that should still be causing issues because I ran make clean install after editing the config.mk to include the correct directories

Offline

#6 Yesterday 21:22:14

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

Re: [SOLVED] suckless st terminal errors after install

Server looks ok.
Instead of using git, get https://dl.suckless.org/st/st-0.9.3.tar.gz, apply only the alpha patch, pay attention to any errors (rejections), build st and try to run it "./st"

Offline

#7 Yesterday 22:24:25

satellitesahara
Member
Registered: 2026-01-24
Posts: 5

Re: [SOLVED] suckless st terminal errors after install

seth wrote:

Server looks ok.
Instead of using git, get https://dl.suckless.org/st/st-0.9.3.tar.gz, apply only the alpha patch, pay attention to any errors (rejections), build st and try to run it "./st"

Just tried this and it worked! Thank you!

Offline

#8 Yesterday 23:01:35

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

Re: [SOLVED] suckless st terminal errors after install

\o/
You can also try to add the other patch, but you'll have to pay close attention because the patches and not necessarily mutually compatible.

I however suspect the patches originally failed because they're not compatible w/ the git master.
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB