Control: severity -1 normal Control: retitle -1 i7z-gui: X errors and empty window when run as root
On 2016-01-18 17:03, Laurent Bigonville wrote: > When starting i7z-gui I get the following errors and an empty grey window, > nothing more. > > This renders the package unusable. This is a typical symptom of running an X application as root. I have no (nor do I want any) experience doing this either :-) > X Error: BadAccess (attempt to access private resource denied) 10 > Extension: 130 (MIT-SHM) > Minor opcode: 1 (X_ShmAttach) > Resource id: 0x159 I don't use the GUI myself, just the i7z command line tool (and I run that as root). But I just tried to get the GUI running as a normal user: # modprobe msr # chmod 666 /dev/cpu/*/msr # setcap cap_sys_rawio=ep /usr/sbin/i7z_GUI $ i7z_GUI Better (and maybe persistent) solutions welcome. Andreas PS: thanks to an insane bit of inline assembly for cpuid usage, it may crash on amd64. Will be fixed shortly. And maybe I document the above solution :-)