Bug#854160: [minor] dwm: recommend xserver-xorg-legacy

2024-04-26 Thread Matteo Bini
Hi lumin,
I've installed xserver-xorg-legacy, but I can't xinit dwm anyway. I get a
connection error to X server. It's true that, if I run xinit as root it
works, but as a normal user it doesn't.

$ xinit dwm
It doesn't work.

$ xinit
It doesn't work with `exec dwm` in .xinitrc as well.

# xinit dwm
It does work.

# xinit
It does work with `exec dwm` in .xinitrc.

However startx works as expected, if you run that as a normal user. Both
with .xinitrc or .xsession, which is the "correct"/Debian way to
customise an X session [1].

I hope I've been of some help. I'll wait for a couple of weeks, then
I'll close the bug for inactivity and I'll mark it as solved.

--
Matteo Bini


[1] https://wiki.debian.org/Xsession#User_configuration



Bug#854160: [minor] dwm: recommend xserver-xorg-legacy

2017-02-04 Thread lumin
Package: dwm
Version: 6.1-3
Severity: minor

I set up a virtual machine (Virtualbox 5.1.14) to play
around with dwm. I only installed these packages on
a minimal Debian Sid system:

  xinit dwm

The problem is a normal user cannot start dwm with this .xinitrc:

  exec dwm

this error message looks like this:

  failed to set IOPL for I/O (Operation not permitted)

but root can start dwm in the same way without any error message.

According to Bug#802327, I installed the xserver-xorg-legacy
package and the problem was gone.

So I wish that dwm could recommend the package.