• startx returns "Xf86EnableIO: failed to enable I/O ports 0000-03ff"

    From Pierre Willaime@21:1/5 to All on Sat Sep 7 23:10:02 2024
    Hi,

    After upgrading from Strech to Booworm (I know: not recommended to jump versions), I have some trouble to start X server.

    startx returns this error:

    "Xf86EnableIO: failed to enable I/O ports 0000-03ff (Operation not
    permitted)".

    GPU is Intel HD Graphics 2500 with CPU Intel Core i3-3220 from 2013.

    I tried to start X with ou without xserver-xorg-video-intel package with
    no success. I do not have an xorg.conf file. I also tried to install
    gdm/gnome (previously lightdm/xfce) because of wayland built in support.
    It does not start.

    Does someone have any idea about what is going on?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Dan Ritter@21:1/5 to Pierre Willaime on Sat Sep 7 23:50:01 2024
    Pierre Willaime wrote:
    Hi,

    After upgrading from Strech to Booworm (I know: not recommended to jump versions), I have some trouble to start X server.

    startx returns this error:

    "Xf86EnableIO: failed to enable I/O ports 0000-03ff (Operation not permitted)".

    Stretch to Buster to Bookworm would have avoided this.

    In that span of time, X11 gained the ability to run without root
    privileges, but only with specific support elsewhere.

    Try

    sudo dpkg-reconfigure xserver-xorg-legacy

    and if that doesn't work, edit /etc/X11/Xwrapper.config
    (and read the man page for it)

    -dsr-

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?J=C3=B6rg-Volker_Peetz?=@21:1/5 to All on Sun Sep 8 15:50:01 2024
    Maybe your account is missing some authorizations.
    What's the output of `id`? Is your account member of the groups 'video' and 'input'?
    Regards,
    Jörg.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Pierre Willaime@21:1/5 to All on Sun Sep 8 20:50:01 2024
    On 08/09/2024 15:41, Jörg-Volker Peetz wrote:
    Maybe your account is missing some authorizations.
    What's the output of `id`? Is your account member of the groups 'video'
    and 'input'?

    Thanks. My user was *not* member of the 'input' group.

    I made the change but it does not fix my issue (startx returns still an
    error, see my other email).

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Pierre Willaime@21:1/5 to Dan Ritter on Sun Sep 8 20:50:01 2024
    On 07/09/2024 23:32, Dan Ritter wrote:
    Try

    sudo dpkg-reconfigure xserver-xorg-legacy

    and if that doesn't work, edit /etc/X11/Xwrapper.config
    (and read the man page for it)

    Thanks.

    I tried to select "Root Only" (to restore old behavior) or "Anybody" when reconfiguring xserver-xorg-legacy.

    There error when trying to start X is now (in either cases):

    Fata server error:
    (EE) parse_vt_settings: Cannot open /dev/tty0 (Permission denied)

    I tried also to edit directly /etc/X11/Xwrapper.config and add 'needs_root_rights=yes|no' with no change.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Pierre Willaime@21:1/5 to All on Wed Sep 11 17:20:01 2024
    Le 09/09/2024 à 04:56, Max Nikulin a écrit :>
    Have you tried to boot from a live media? It should help to
    determine if your problem is caused by unsupported upgrade path.

    Yes. It is booting and working fine on a debian stable live usb.

    Are there any errors, warnings, or suspicious messages in "journalctl
    -b" output (executed as root)?
    In red in journalctl -b:

    pam_systemd(login:session): Failed to connect to system bus: Connection refused
    Failed to start dbus.service - D-Bus System Message Bus. (many times)

    systemctl status dbus.service shows dbus is not active ("failed") and I have this message

    Failed to start message bus: Circular inclusion of file '/etc/dbus-1/system.conf'

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Greg Wooledge@21:1/5 to Pierre Willaime on Wed Sep 11 17:30:02 2024
    On Wed, Sep 11, 2024 at 17:16:37 +0200, Pierre Willaime wrote:
    systemctl status dbus.service shows dbus is not active ("failed") and I have this message

    Failed to start message bus: Circular inclusion of file '/etc/dbus-1/system.conf'

    Curious. I have nothing that references that file at all.

    hobbit:~$ ls -l /etc/dbus-1/
    total 8
    drwxr-xr-x 2 root root 4096 Sep 16 2023 session.d/
    drwxr-xr-x 2 root root 4096 Feb 17 2024 system.d/
    hobbit:~$ grep -r -F system.conf /etc/dbus-1
    hobbit:~$

    (That's on Debian 12.)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)