Permission issues with cool-retro-term terminal emulator: can't use bash commands












1














I just installed the latest stable version of my favorite terminal emulator, cool-retro-term, and, upon running it, I get this:




user@main:~$ cool-retro-term
Qt: Session management error: None of the authentication protocols specified are supported
libGL error: MESA-LOADER: failed to retrieve device information
libGL error: Version 4 or later of flush extension not found
libGL error: failed to load driver: i915
default KB_LAYOUT_DIR: "/snap/cool-retro-term/32/usr/lib/x86_64-linux-gnu/qt5/qml/QMLTermWidget/kb-layouts"
QObject::connect: No such slot Konsole::TerminalDisplay_QML_51::close()
loadAllColorSchemes
Session::run() - program: "/bin/bash"
Session::run() - arguments: ("")
started!
Both point size and pixel size set. Using pixel size.


The GUI works just fine, but whenever I try to run commands from within the terminal emulator, I get a "permission denied" message.



I thought running as superuser might solve the permissions problem, but instead, I get:



username@main:~$ sudo cool-retro-term
mkdir: cannot create directory '/run/user/0': Permission denied
No protocol specified
QXcbConnection: Could not connect to display :0
Aborted


I have to admit I'm stumped here.
Is there something obvious I'm overlooking?



Please let me know.
Thanks!



(P.S. I've tried sudo-apt-get-update, and I've tried installing through Ubuntu's software application. Both installs had the same issue.)










share|improve this question






















  • I would think this Qt: Session management error: None of the authentication protocols specified are supported is the issue!
    – George Udosen
    Dec 20 '18 at 1:36










  • The Ubuntu version will also be helpful!
    – George Udosen
    Dec 20 '18 at 1:38










  • How was it installed? A youtube video says it's from a PPA (noobslab?)
    – Xen2050
    Dec 20 '18 at 2:40










  • Is this error only when using sudo? What happens if you run echo foo? And what happens if you run /bin/ls? Run both without sudo please.
    – terdon
    Dec 20 '18 at 13:57


















1














I just installed the latest stable version of my favorite terminal emulator, cool-retro-term, and, upon running it, I get this:




user@main:~$ cool-retro-term
Qt: Session management error: None of the authentication protocols specified are supported
libGL error: MESA-LOADER: failed to retrieve device information
libGL error: Version 4 or later of flush extension not found
libGL error: failed to load driver: i915
default KB_LAYOUT_DIR: "/snap/cool-retro-term/32/usr/lib/x86_64-linux-gnu/qt5/qml/QMLTermWidget/kb-layouts"
QObject::connect: No such slot Konsole::TerminalDisplay_QML_51::close()
loadAllColorSchemes
Session::run() - program: "/bin/bash"
Session::run() - arguments: ("")
started!
Both point size and pixel size set. Using pixel size.


The GUI works just fine, but whenever I try to run commands from within the terminal emulator, I get a "permission denied" message.



I thought running as superuser might solve the permissions problem, but instead, I get:



username@main:~$ sudo cool-retro-term
mkdir: cannot create directory '/run/user/0': Permission denied
No protocol specified
QXcbConnection: Could not connect to display :0
Aborted


I have to admit I'm stumped here.
Is there something obvious I'm overlooking?



Please let me know.
Thanks!



(P.S. I've tried sudo-apt-get-update, and I've tried installing through Ubuntu's software application. Both installs had the same issue.)










share|improve this question






















  • I would think this Qt: Session management error: None of the authentication protocols specified are supported is the issue!
    – George Udosen
    Dec 20 '18 at 1:36










  • The Ubuntu version will also be helpful!
    – George Udosen
    Dec 20 '18 at 1:38










  • How was it installed? A youtube video says it's from a PPA (noobslab?)
    – Xen2050
    Dec 20 '18 at 2:40










  • Is this error only when using sudo? What happens if you run echo foo? And what happens if you run /bin/ls? Run both without sudo please.
    – terdon
    Dec 20 '18 at 13:57
















1












1








1







I just installed the latest stable version of my favorite terminal emulator, cool-retro-term, and, upon running it, I get this:




user@main:~$ cool-retro-term
Qt: Session management error: None of the authentication protocols specified are supported
libGL error: MESA-LOADER: failed to retrieve device information
libGL error: Version 4 or later of flush extension not found
libGL error: failed to load driver: i915
default KB_LAYOUT_DIR: "/snap/cool-retro-term/32/usr/lib/x86_64-linux-gnu/qt5/qml/QMLTermWidget/kb-layouts"
QObject::connect: No such slot Konsole::TerminalDisplay_QML_51::close()
loadAllColorSchemes
Session::run() - program: "/bin/bash"
Session::run() - arguments: ("")
started!
Both point size and pixel size set. Using pixel size.


The GUI works just fine, but whenever I try to run commands from within the terminal emulator, I get a "permission denied" message.



I thought running as superuser might solve the permissions problem, but instead, I get:



username@main:~$ sudo cool-retro-term
mkdir: cannot create directory '/run/user/0': Permission denied
No protocol specified
QXcbConnection: Could not connect to display :0
Aborted


I have to admit I'm stumped here.
Is there something obvious I'm overlooking?



Please let me know.
Thanks!



(P.S. I've tried sudo-apt-get-update, and I've tried installing through Ubuntu's software application. Both installs had the same issue.)










share|improve this question













I just installed the latest stable version of my favorite terminal emulator, cool-retro-term, and, upon running it, I get this:




user@main:~$ cool-retro-term
Qt: Session management error: None of the authentication protocols specified are supported
libGL error: MESA-LOADER: failed to retrieve device information
libGL error: Version 4 or later of flush extension not found
libGL error: failed to load driver: i915
default KB_LAYOUT_DIR: "/snap/cool-retro-term/32/usr/lib/x86_64-linux-gnu/qt5/qml/QMLTermWidget/kb-layouts"
QObject::connect: No such slot Konsole::TerminalDisplay_QML_51::close()
loadAllColorSchemes
Session::run() - program: "/bin/bash"
Session::run() - arguments: ("")
started!
Both point size and pixel size set. Using pixel size.


The GUI works just fine, but whenever I try to run commands from within the terminal emulator, I get a "permission denied" message.



I thought running as superuser might solve the permissions problem, but instead, I get:



username@main:~$ sudo cool-retro-term
mkdir: cannot create directory '/run/user/0': Permission denied
No protocol specified
QXcbConnection: Could not connect to display :0
Aborted


I have to admit I'm stumped here.
Is there something obvious I'm overlooking?



Please let me know.
Thanks!



(P.S. I've tried sudo-apt-get-update, and I've tried installing through Ubuntu's software application. Both installs had the same issue.)







command-line bash permissions






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Dec 20 '18 at 1:33









josephgodoyjosephgodoy

61




61












  • I would think this Qt: Session management error: None of the authentication protocols specified are supported is the issue!
    – George Udosen
    Dec 20 '18 at 1:36










  • The Ubuntu version will also be helpful!
    – George Udosen
    Dec 20 '18 at 1:38










  • How was it installed? A youtube video says it's from a PPA (noobslab?)
    – Xen2050
    Dec 20 '18 at 2:40










  • Is this error only when using sudo? What happens if you run echo foo? And what happens if you run /bin/ls? Run both without sudo please.
    – terdon
    Dec 20 '18 at 13:57




















  • I would think this Qt: Session management error: None of the authentication protocols specified are supported is the issue!
    – George Udosen
    Dec 20 '18 at 1:36










  • The Ubuntu version will also be helpful!
    – George Udosen
    Dec 20 '18 at 1:38










  • How was it installed? A youtube video says it's from a PPA (noobslab?)
    – Xen2050
    Dec 20 '18 at 2:40










  • Is this error only when using sudo? What happens if you run echo foo? And what happens if you run /bin/ls? Run both without sudo please.
    – terdon
    Dec 20 '18 at 13:57


















I would think this Qt: Session management error: None of the authentication protocols specified are supported is the issue!
– George Udosen
Dec 20 '18 at 1:36




I would think this Qt: Session management error: None of the authentication protocols specified are supported is the issue!
– George Udosen
Dec 20 '18 at 1:36












The Ubuntu version will also be helpful!
– George Udosen
Dec 20 '18 at 1:38




The Ubuntu version will also be helpful!
– George Udosen
Dec 20 '18 at 1:38












How was it installed? A youtube video says it's from a PPA (noobslab?)
– Xen2050
Dec 20 '18 at 2:40




How was it installed? A youtube video says it's from a PPA (noobslab?)
– Xen2050
Dec 20 '18 at 2:40












Is this error only when using sudo? What happens if you run echo foo? And what happens if you run /bin/ls? Run both without sudo please.
– terdon
Dec 20 '18 at 13:57






Is this error only when using sudo? What happens if you run echo foo? And what happens if you run /bin/ls? Run both without sudo please.
– terdon
Dec 20 '18 at 13:57












0






active

oldest

votes











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',
autoActivateHeartbeat: false,
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%2f1103239%2fpermission-issues-with-cool-retro-term-terminal-emulator-cant-use-bash-command%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















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%2f1103239%2fpermission-issues-with-cool-retro-term-terminal-emulator-cant-use-bash-command%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

Quarter-circle Tiles

build a pushdown automaton that recognizes the reverse language of a given pushdown automaton?

Mont Emei