cat /sys/kernel/debug/dri/0/i915_display_info: Operation not permitted











up vote
0
down vote

favorite












I want to get display info of my current system.So I used the following command:



sudo cat /sys/kernel/debug/dri/0/i915_display_info


It displays me : cat: /sys/kernel/debug/dri/0/i915_display_info: Operation not permitted



The above command works in various ubuntu systems (16.04-64 bit).But it is in my system having the same ubuntu 16.04-64 bit;it gives error.



My System Info:



Kernel version:4.15.0-42-generic    
Distributor ID: Ubuntu
Description: Ubuntu 16.04.4 LTS
Release: 16.04
Codename: xenial


Edit:The output of sudo -l



Matching Defaults entries for test on test-NUC7i5DNKE:
env_reset, mail_badpass,
secure_path=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin

User test may run the following commands on test-NUC7i5DNKE:
(ALL : ALL) ALL


Things I have tried:





  1. sudo -s and gave the command without sudo,it gives me the same error.


I have tried searching to solve this issue in various forums but couldn't find one.Any inputs will be really helpful!!



Thanks in advance.










share|improve this question
























  • Please run sudo -l and add to your question!
    – George Udosen
    Dec 10 at 7:28















up vote
0
down vote

favorite












I want to get display info of my current system.So I used the following command:



sudo cat /sys/kernel/debug/dri/0/i915_display_info


It displays me : cat: /sys/kernel/debug/dri/0/i915_display_info: Operation not permitted



The above command works in various ubuntu systems (16.04-64 bit).But it is in my system having the same ubuntu 16.04-64 bit;it gives error.



My System Info:



Kernel version:4.15.0-42-generic    
Distributor ID: Ubuntu
Description: Ubuntu 16.04.4 LTS
Release: 16.04
Codename: xenial


Edit:The output of sudo -l



Matching Defaults entries for test on test-NUC7i5DNKE:
env_reset, mail_badpass,
secure_path=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin

User test may run the following commands on test-NUC7i5DNKE:
(ALL : ALL) ALL


Things I have tried:





  1. sudo -s and gave the command without sudo,it gives me the same error.


I have tried searching to solve this issue in various forums but couldn't find one.Any inputs will be really helpful!!



Thanks in advance.










share|improve this question
























  • Please run sudo -l and add to your question!
    – George Udosen
    Dec 10 at 7:28













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I want to get display info of my current system.So I used the following command:



sudo cat /sys/kernel/debug/dri/0/i915_display_info


It displays me : cat: /sys/kernel/debug/dri/0/i915_display_info: Operation not permitted



The above command works in various ubuntu systems (16.04-64 bit).But it is in my system having the same ubuntu 16.04-64 bit;it gives error.



My System Info:



Kernel version:4.15.0-42-generic    
Distributor ID: Ubuntu
Description: Ubuntu 16.04.4 LTS
Release: 16.04
Codename: xenial


Edit:The output of sudo -l



Matching Defaults entries for test on test-NUC7i5DNKE:
env_reset, mail_badpass,
secure_path=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin

User test may run the following commands on test-NUC7i5DNKE:
(ALL : ALL) ALL


Things I have tried:





  1. sudo -s and gave the command without sudo,it gives me the same error.


I have tried searching to solve this issue in various forums but couldn't find one.Any inputs will be really helpful!!



Thanks in advance.










share|improve this question















I want to get display info of my current system.So I used the following command:



sudo cat /sys/kernel/debug/dri/0/i915_display_info


It displays me : cat: /sys/kernel/debug/dri/0/i915_display_info: Operation not permitted



The above command works in various ubuntu systems (16.04-64 bit).But it is in my system having the same ubuntu 16.04-64 bit;it gives error.



My System Info:



Kernel version:4.15.0-42-generic    
Distributor ID: Ubuntu
Description: Ubuntu 16.04.4 LTS
Release: 16.04
Codename: xenial


Edit:The output of sudo -l



Matching Defaults entries for test on test-NUC7i5DNKE:
env_reset, mail_badpass,
secure_path=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin

User test may run the following commands on test-NUC7i5DNKE:
(ALL : ALL) ALL


Things I have tried:





  1. sudo -s and gave the command without sudo,it gives me the same error.


I have tried searching to solve this issue in various forums but couldn't find one.Any inputs will be really helpful!!



Thanks in advance.







16.04 kernel






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 10 at 7:36









George Udosen

19.1k94266




19.1k94266










asked Dec 10 at 7:09









adi

24114




24114












  • Please run sudo -l and add to your question!
    – George Udosen
    Dec 10 at 7:28


















  • Please run sudo -l and add to your question!
    – George Udosen
    Dec 10 at 7:28
















Please run sudo -l and add to your question!
– George Udosen
Dec 10 at 7:28




Please run sudo -l and add to your question!
– George Udosen
Dec 10 at 7:28










1 Answer
1






active

oldest

votes

















up vote
0
down vote













Use these steps:





  1. sudo -i, then run

  2. cat /sys/kernel/debug/dri/0/i915_display_info


Switch to root with sudo -i then run that cat command and you should get the info your looking for!






share|improve this answer





















  • Thanks for the reply...it gives me the same error
    – adi
    Dec 10 at 7:25











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1099711%2fcat-sys-kernel-debug-dri-0-i915-display-info-operation-not-permitted%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
0
down vote













Use these steps:





  1. sudo -i, then run

  2. cat /sys/kernel/debug/dri/0/i915_display_info


Switch to root with sudo -i then run that cat command and you should get the info your looking for!






share|improve this answer





















  • Thanks for the reply...it gives me the same error
    – adi
    Dec 10 at 7:25















up vote
0
down vote













Use these steps:





  1. sudo -i, then run

  2. cat /sys/kernel/debug/dri/0/i915_display_info


Switch to root with sudo -i then run that cat command and you should get the info your looking for!






share|improve this answer





















  • Thanks for the reply...it gives me the same error
    – adi
    Dec 10 at 7:25













up vote
0
down vote










up vote
0
down vote









Use these steps:





  1. sudo -i, then run

  2. cat /sys/kernel/debug/dri/0/i915_display_info


Switch to root with sudo -i then run that cat command and you should get the info your looking for!






share|improve this answer












Use these steps:





  1. sudo -i, then run

  2. cat /sys/kernel/debug/dri/0/i915_display_info


Switch to root with sudo -i then run that cat command and you should get the info your looking for!







share|improve this answer












share|improve this answer



share|improve this answer










answered Dec 10 at 7:17









George Udosen

19.1k94266




19.1k94266












  • Thanks for the reply...it gives me the same error
    – adi
    Dec 10 at 7:25


















  • Thanks for the reply...it gives me the same error
    – adi
    Dec 10 at 7:25
















Thanks for the reply...it gives me the same error
– adi
Dec 10 at 7:25




Thanks for the reply...it gives me the same error
– adi
Dec 10 at 7:25


















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1099711%2fcat-sys-kernel-debug-dri-0-i915-display-info-operation-not-permitted%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

數位音樂下載

When can things happen in Etherscan, such as the picture below?

格利澤436b