Since vmlinuz-6.1.0-12-amd64 my dvb-s2 card don't work anymore

2023-09-11 Thread therealcyclist

Hello,


maybe someone knows more than me.

If i boot the new kernel vmlinuz-6.1.0-12-amd64 my dvb-s2 card is not 
detected.

if i boot vmlinuz-6.1.0-11-amd64 everything works as usual.

Error with vmlinuz-6.1.0-12-amd64:

Sep 11 12:23:44 kernel: dvbdev: DVB: registering new adapter (SMI_DVB)
Sep 11 12:23:44 kernel: failing symbol_get of non-GPLONLY symbol 
m88ds3103_attach.

Sep 11 12:23:44 kernel: DVB: Unable to find symbol m88ds3103_attach()


greetings



Re: X11 should not run as root or?

2023-06-04 Thread therealcyclist
Am Sun, Jun 04, 2023 at 07:54:48PM -0400 schrieb Greg Wooledge:

> If you're not willing to do the work to diagnose your own system, then
> this thread is over.

Guess it's over. thanks to all who have tried to help.

--



Re: X11 should not run as root or?

2023-06-04 Thread therealcyclist
Am Sun, Jun 04, 2023 at 07:18:36PM -0400 schrieb Greg Wooledge:
> On Sun, Jun 04, 2023 at 11:03:27PM +0000, therealcyclist wrote:
> > Am Sun, Jun 04, 2023 at 08:26:55PM +0200 schrieb Vincent Lefevre:
> > > i3-wm is a window manager, not a display manager. So it depends on
> > > what display manager you're using (if any).
> > 
> > so we assume that the majority use a display manager who cares about this 
> > via polkit or similar.
> > x11 as root by default is a security risk to which all those running i3-wm 
> > under xinit are unnecessarily exposed.
> > unless they know what they are doing.
> 

> If you are running "startx" on tty1 in Debian 11 and Xorg is running
> as root instead of your regular user account, then START THERE.

I have tested debian 12 not 11.

> What video card do you have?

nvidia/amd *seperate systems

> Which driver is Xorg using?  (Find the actually correct Xorg.0.log file --
> there may be more than one -- and find the driver details in there.)

nvidia/amdgpu *seperate systems

> Is the xserver-xorg-legacy package installed?

apt install i3-wm xinit 
don't pull it. 

> Do you have all the firmware installed that your video card wants?
> (Look for "firmware" in dmesg.)

firmware-amd-graphics/firmware-nvidia-gsp

--



Re: X11 should not run as root or?

2023-06-04 Thread therealcyclist
Am Sun, Jun 04, 2023 at 08:26:55PM +0200 schrieb Vincent Lefevre:
> On 2023-06-02 22:21:56 +0000, therealcyclist wrote:
> > Am Fri, Jun 02, 2023 at 07:07:05PM +0200 schrieb Michel Verdier:
> > > Le 2 juin 2023 therealcyclist a écrit :
> > > 
> > > > I tried the new Debian bookworm installer rc4 and i manually installed 
> > > > i3-wm.
> > > > I started i3 from tty with startx command as user.
> > > > to my surprise i found out that the xorg process is running as root.
> > > > that can't be intentional, can it?
> > > 
> > > Maybe because some display managers want xorg as root
> > > https://wiki.archlinux.org/title/Xorg#Rootless_Xorg
> > 
> > You linked to the Archlinux Wiki and I have installed i3-wm under
> > archlinux and there X11 runs without root privileges by default.
> > 
> > I assumed that it is the same under Debian because Debian is known
> > for having relatively safe default values.
> > It looks like i3 doesn't need x11 as root either.
> 
> i3-wm is a window manager, not a display manager. So it depends on
> what display manager you're using (if any).
> 

so we assume that the majority use a display manager who cares about this via 
polkit or similar.
x11 as root by default is a security risk to which all those running i3-wm 
under xinit are unnecessarily exposed.
unless they know what they are doing.

---



Re: X11 should not run as root or?

2023-06-02 Thread therealcyclist
Am Fri, Jun 02, 2023 at 08:22:27PM -0400 schrieb Greg Wooledge:
>
> I was thinking of these changes in Stretch:
> 
>  * For many Intel graphics chipsets, the Stretch X server will use the
>modeset driver instead of the intel driver. The modeset driver may
>require non-free firmware (firmware-misc-nonfree) to activate features,
>even on systems which did not use this firmware under Jessie.
> 
>  * For some older graphics chipsets, support has been relegated to
>"legacy drivers", which require the old setuid X server to run. Install
>xserver-xorg-legacy if you require one of these drivers.
> 
> Text from .  This may have nothing
> to do with your issue.  It's just the first thing I could think of that
> could possibly be related.
> 

At this point I have to ask: Is my problem reproducible?

I find it problematic that if you run startx (i3-wm) as user at tty xorg still 
run as root by default.



Re: X11 should not run as root or?

2023-06-02 Thread therealcyclist
Am Fri, Jun 02, 2023 at 07:52:03PM -0400 schrieb Greg Wooledge:
> That's quite strange.  I have not installed bookworm, but I just upgraded
> to it.  I use startx as well (but with fvwm instead of i3-wm), and I'm not
> seeing this problem.  Xorg runs as me, just as it has done for the last
> few releases.
> 
> unicorn:~$ ps -ef | grep X
> greg10301007  0 May31 tty1 00:00:00 xinit 
> /etc/X11/xinit/xinitrc -- /etc/X11/xinit/xserverrc :0 vt1 -keeptty -auth 
> /tmp/serverauth.C7PjJM0pDW
> greg10321030  1 May31 tty1 00:45:52 /usr/lib/xorg/Xorg 
> -nolisten tcp :0 vt1 -keeptty -auth /tmp/serverauth.C7PjJM0pDW
> greg   549271160  0 19:46 pts/300:00:00 grep X
> unicorn:~$ grep -v ^# /etc/X11/Xwrapper.config 
> allowed_users=console
> 
> No "needs_root_rights" here, so I don't know why yours needs it.  Maybe
> it's got something to do with driver selection?  If I recall correctly
> from the days when this change was made, some cards that use legacy
> drivers may need special configuration.
> 

graphic driver is nvidia.
secureboot is activated with mok (debian default key).

what makes you think it's different with e.g. amdgpu?



Re: X11 should not run as root or?

2023-06-02 Thread therealcyclist
Am Fri, Jun 02, 2023 at 07:07:05PM +0200 schrieb Michel Verdier:
> Le 2 juin 2023 therealcyclist a écrit :
> 
> > I tried the new Debian bookworm installer rc4 and i manually installed 
> > i3-wm.
> > I started i3 from tty with startx command as user.
> > to my surprise i found out that the xorg process is running as root.
> > that can't be intentional, can it?
> 
> Maybe because some display managers want xorg as root
> https://wiki.archlinux.org/title/Xorg#Rootless_Xorg
> 

You linked to the Archlinux Wiki and I have installed i3-wm under archlinux and 
there X11 runs without root privileges by default.

I assumed that it is the same under Debian because Debian is known for having 
relatively safe default values.
It looks like i3 doesn't need x11 as root either.



Re: X11 should not run as root or?

2023-06-02 Thread therealcyclist
Am Fri, Jun 02, 2023 at 09:24:13PM +0200 schrieb Sven Joachim:
>
> That is rather strange.  The source of the wrapper program that decides
> whether Xorg needs root rights has not been touched for many years[1].
> 
> Cheers,
>Sven
> 
> 
> 1. 
> https://salsa.debian.org/xorg-team/xserver/xorg-server/-/commits/debian-unstable/hw/xfree86/xorg-wrapper.c
> 

Debian bookworm rc4 without gnome, just default system tools and after reboot i 
just run at tty:

sudo apt install i3-wm alacritty xinit xserver-xorg
echo "exec i3" > ~/.xinitrc
startx

and xorg running as root



Re: Re: X11 should not run as root or?

2023-06-02 Thread therealcyclist
You linked to the Archlinux Wiki and I have installed i3-wm under archlinux and 
there X11 runs without root privileges by default.

I assumed that it is the same under Debian because Debian is known for having 
relatively safe default values.
It looks like i3 doesn't need x11 as root either.



X11 should not run as root or?

2023-06-02 Thread therealcyclist
I tried the new Debian bookworm installer rc4 and i manually installed i3-wm.
I started i3 from tty with startx command as user.
to my surprise i found out that the xorg process is running as root.
that can't be intentional, can it?

I have fixed the problem by adding the following line in 
/etc/X11/Xwrapper.config 

needs_root_rights = no

After that xorg runs as user.