How solve X Error: BadAccess (attempt to access private resource denied)

Samsul Hoque
2
When I run radeon-profile as root, no widgets in window are displayed and there these errors in terminal:
X Error: BadAccess (attempt to access private resource denied) 10
  Extension:    130 (MIT-SHM)
  Minor opcode: 1 (X_ShmAttach)
  Resource id:  0x220001b
X Error: BadShmSeg (invalid shared segment parameter) 128
  Extension:    130 (MIT-SHM)
  Minor opcode: 3 (X_ShmPutImage)
  Resource id:  0x2200013
X Error: BadShmSeg (invalid shared segment parameter) 128
  Extension:    130 (MIT-SHM)
  Minor opcode: 3 (X_ShmPutImage)
  Resource id:  0x2200013
X Error: BadShmSeg (invalid shared segment parameter) 128
...
To solve this, we need to set QT_X11_NO_MITSHM=1 (for instance, in file /etc/environment).
So use following command:
sudo nano /etc/environment
Add this line
QT_X11_NO_MITSHM=1

Tags

Post a Comment

2Comments
Post a Comment