37

I get this error in Xorg.0.log

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

Googling quickly reveals that this error is caused by starting Xorg as non root user. Problem is that I'm running this as root. Next possible cause SELinux, that is diabled too.

Any other possible causes of this error?

My graphicscard is

01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Thames [Radeon HD 7500M/7600M Series] (prog-if 00 [VGA controller])

But I have severe problems with the drivers, so I'm trying to run as Vesa, using this xorg.conf

Section "Device" Identifier "Videocard0" Driver "vesa" EndSection

3
  • Did you exec anything in your .xinitrc file? – Azd325 Nov 4 '14 at 21:31
  • Actually you shouldn't log in as root this way, at all. The simplest way should be to use a display manager. – James Youngman Feb 6 '16 at 22:57
  • 1
    What distro are you using? The default setup could have something to do with it. – IW16 Aug 17 '16 at 23:11
8
sudo chmod u+s /usr/bin/xinit

Fixed my problem on Linux Mint

1
  • 2
    I'm curious about the reasoning for this. – Nathan Lutterman Nov 18 '20 at 21:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.