Re: startx returns "Xf86EnableIO: failed to enable I/O ports 0000-03ff"
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-
Reply to: