terminal won't lauch (ubuntu 16.04)
A weird thing happened today: I clicked in terminal icon and it didn't launched, just blinked and disappeared. If I press ctrl+alt+t it won't launch. I tried to launch a light terminal by pressing ctrl+alt+f1. The login screen, appeared to put my login and password, the system accepted the login and password but quickly returned to the login screen. Its a kind of loop: I enter the login and the system returns to the login screen. Xterm doesn't work too.
However, unity seems to works correctly.
Its the first time that the terminal doesn't work, and I don't know how to fix this bug.
I would appreciate any kind of help.
UPDATE:
I had installed mysecureshell
before the reported issue and when I removed this package the problem was corrected partially. The terminal works (xterm too) but the light terminals (tty), accessed by ctrl+alt+f1, remains in loop during the login.
Below are pasted my bashrc and the result of dmesg:
~/.bashrc
: http://paste.ubuntu.com/16918978/
dmesg
: http://paste.ubuntu.com/16918993/
command-line 16.04
add a comment |
A weird thing happened today: I clicked in terminal icon and it didn't launched, just blinked and disappeared. If I press ctrl+alt+t it won't launch. I tried to launch a light terminal by pressing ctrl+alt+f1. The login screen, appeared to put my login and password, the system accepted the login and password but quickly returned to the login screen. Its a kind of loop: I enter the login and the system returns to the login screen. Xterm doesn't work too.
However, unity seems to works correctly.
Its the first time that the terminal doesn't work, and I don't know how to fix this bug.
I would appreciate any kind of help.
UPDATE:
I had installed mysecureshell
before the reported issue and when I removed this package the problem was corrected partially. The terminal works (xterm too) but the light terminals (tty), accessed by ctrl+alt+f1, remains in loop during the login.
Below are pasted my bashrc and the result of dmesg:
~/.bashrc
: http://paste.ubuntu.com/16918978/
dmesg
: http://paste.ubuntu.com/16918993/
command-line 16.04
Can you edit your question and add the last lines ofdmesg
output, after you have tried to open a terminal.
– Videonauth
Jun 2 '16 at 0:21
1
What have you changed lately?~/.bashrc
? It sounds like your shell launches, then immediately exits.
– waltinator
Jun 2 '16 at 1:49
Well, my gnome-terminal is working, but tty not. I will keep working normally and if any problem appear again I update my question. Thanks for all attention.
– leobap
Jun 3 '16 at 15:32
I had a similar problem, and unistallingmysecureshell
solved the issue (Ubuntu 17.10).
– Cosmin Saveanu
Mar 19 '18 at 11:41
add a comment |
A weird thing happened today: I clicked in terminal icon and it didn't launched, just blinked and disappeared. If I press ctrl+alt+t it won't launch. I tried to launch a light terminal by pressing ctrl+alt+f1. The login screen, appeared to put my login and password, the system accepted the login and password but quickly returned to the login screen. Its a kind of loop: I enter the login and the system returns to the login screen. Xterm doesn't work too.
However, unity seems to works correctly.
Its the first time that the terminal doesn't work, and I don't know how to fix this bug.
I would appreciate any kind of help.
UPDATE:
I had installed mysecureshell
before the reported issue and when I removed this package the problem was corrected partially. The terminal works (xterm too) but the light terminals (tty), accessed by ctrl+alt+f1, remains in loop during the login.
Below are pasted my bashrc and the result of dmesg:
~/.bashrc
: http://paste.ubuntu.com/16918978/
dmesg
: http://paste.ubuntu.com/16918993/
command-line 16.04
A weird thing happened today: I clicked in terminal icon and it didn't launched, just blinked and disappeared. If I press ctrl+alt+t it won't launch. I tried to launch a light terminal by pressing ctrl+alt+f1. The login screen, appeared to put my login and password, the system accepted the login and password but quickly returned to the login screen. Its a kind of loop: I enter the login and the system returns to the login screen. Xterm doesn't work too.
However, unity seems to works correctly.
Its the first time that the terminal doesn't work, and I don't know how to fix this bug.
I would appreciate any kind of help.
UPDATE:
I had installed mysecureshell
before the reported issue and when I removed this package the problem was corrected partially. The terminal works (xterm too) but the light terminals (tty), accessed by ctrl+alt+f1, remains in loop during the login.
Below are pasted my bashrc and the result of dmesg:
~/.bashrc
: http://paste.ubuntu.com/16918978/
dmesg
: http://paste.ubuntu.com/16918993/
command-line 16.04
command-line 16.04
edited Jun 2 '16 at 13:15
Videonauth
24.6k1271101
24.6k1271101
asked Jun 2 '16 at 0:18
leobapleobap
31115
31115
Can you edit your question and add the last lines ofdmesg
output, after you have tried to open a terminal.
– Videonauth
Jun 2 '16 at 0:21
1
What have you changed lately?~/.bashrc
? It sounds like your shell launches, then immediately exits.
– waltinator
Jun 2 '16 at 1:49
Well, my gnome-terminal is working, but tty not. I will keep working normally and if any problem appear again I update my question. Thanks for all attention.
– leobap
Jun 3 '16 at 15:32
I had a similar problem, and unistallingmysecureshell
solved the issue (Ubuntu 17.10).
– Cosmin Saveanu
Mar 19 '18 at 11:41
add a comment |
Can you edit your question and add the last lines ofdmesg
output, after you have tried to open a terminal.
– Videonauth
Jun 2 '16 at 0:21
1
What have you changed lately?~/.bashrc
? It sounds like your shell launches, then immediately exits.
– waltinator
Jun 2 '16 at 1:49
Well, my gnome-terminal is working, but tty not. I will keep working normally and if any problem appear again I update my question. Thanks for all attention.
– leobap
Jun 3 '16 at 15:32
I had a similar problem, and unistallingmysecureshell
solved the issue (Ubuntu 17.10).
– Cosmin Saveanu
Mar 19 '18 at 11:41
Can you edit your question and add the last lines of
dmesg
output, after you have tried to open a terminal.– Videonauth
Jun 2 '16 at 0:21
Can you edit your question and add the last lines of
dmesg
output, after you have tried to open a terminal.– Videonauth
Jun 2 '16 at 0:21
1
1
What have you changed lately?
~/.bashrc
? It sounds like your shell launches, then immediately exits.– waltinator
Jun 2 '16 at 1:49
What have you changed lately?
~/.bashrc
? It sounds like your shell launches, then immediately exits.– waltinator
Jun 2 '16 at 1:49
Well, my gnome-terminal is working, but tty not. I will keep working normally and if any problem appear again I update my question. Thanks for all attention.
– leobap
Jun 3 '16 at 15:32
Well, my gnome-terminal is working, but tty not. I will keep working normally and if any problem appear again I update my question. Thanks for all attention.
– leobap
Jun 3 '16 at 15:32
I had a similar problem, and unistalling
mysecureshell
solved the issue (Ubuntu 17.10).– Cosmin Saveanu
Mar 19 '18 at 11:41
I had a similar problem, and unistalling
mysecureshell
solved the issue (Ubuntu 17.10).– Cosmin Saveanu
Mar 19 '18 at 11:41
add a comment |
2 Answers
2
active
oldest
votes
In my case i upgrade python3.5 to python3.6.
For that workaround
Run xterm
. Then run two command
sudo rm /usr/bin/python3
sudo ln -s python3.5 /usr/bin/python3
add a comment |
It may be too late for your case or maybe the solution works on me doesn't work on yours. My case is as below.
Recently, I ran into the condition that suddenly, the terminal program could not be started. I googled the web, and found 2 causes: one is incorrect locale settings, and the other is the original python3 being incorrectly replaced.
In my case, I did install python3.4.6 while the existing python3 is python3.5.2. After I restore python3.5.2, the terminal program runs well again.
Reference: terminal won't launch after install python 3.5.
Good Luck.
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f780626%2fterminal-wont-lauch-ubuntu-16-04%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
In my case i upgrade python3.5 to python3.6.
For that workaround
Run xterm
. Then run two command
sudo rm /usr/bin/python3
sudo ln -s python3.5 /usr/bin/python3
add a comment |
In my case i upgrade python3.5 to python3.6.
For that workaround
Run xterm
. Then run two command
sudo rm /usr/bin/python3
sudo ln -s python3.5 /usr/bin/python3
add a comment |
In my case i upgrade python3.5 to python3.6.
For that workaround
Run xterm
. Then run two command
sudo rm /usr/bin/python3
sudo ln -s python3.5 /usr/bin/python3
In my case i upgrade python3.5 to python3.6.
For that workaround
Run xterm
. Then run two command
sudo rm /usr/bin/python3
sudo ln -s python3.5 /usr/bin/python3
answered Nov 20 '17 at 16:36
Himanshu sharmaHimanshu sharma
16113
16113
add a comment |
add a comment |
It may be too late for your case or maybe the solution works on me doesn't work on yours. My case is as below.
Recently, I ran into the condition that suddenly, the terminal program could not be started. I googled the web, and found 2 causes: one is incorrect locale settings, and the other is the original python3 being incorrectly replaced.
In my case, I did install python3.4.6 while the existing python3 is python3.5.2. After I restore python3.5.2, the terminal program runs well again.
Reference: terminal won't launch after install python 3.5.
Good Luck.
add a comment |
It may be too late for your case or maybe the solution works on me doesn't work on yours. My case is as below.
Recently, I ran into the condition that suddenly, the terminal program could not be started. I googled the web, and found 2 causes: one is incorrect locale settings, and the other is the original python3 being incorrectly replaced.
In my case, I did install python3.4.6 while the existing python3 is python3.5.2. After I restore python3.5.2, the terminal program runs well again.
Reference: terminal won't launch after install python 3.5.
Good Luck.
add a comment |
It may be too late for your case or maybe the solution works on me doesn't work on yours. My case is as below.
Recently, I ran into the condition that suddenly, the terminal program could not be started. I googled the web, and found 2 causes: one is incorrect locale settings, and the other is the original python3 being incorrectly replaced.
In my case, I did install python3.4.6 while the existing python3 is python3.5.2. After I restore python3.5.2, the terminal program runs well again.
Reference: terminal won't launch after install python 3.5.
Good Luck.
It may be too late for your case or maybe the solution works on me doesn't work on yours. My case is as below.
Recently, I ran into the condition that suddenly, the terminal program could not be started. I googled the web, and found 2 causes: one is incorrect locale settings, and the other is the original python3 being incorrectly replaced.
In my case, I did install python3.4.6 while the existing python3 is python3.5.2. After I restore python3.5.2, the terminal program runs well again.
Reference: terminal won't launch after install python 3.5.
Good Luck.
edited Apr 13 '17 at 12:23
Community♦
1
1
answered Mar 21 '17 at 18:05
Helen LinHelen Lin
465
465
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f780626%2fterminal-wont-lauch-ubuntu-16-04%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
Can you edit your question and add the last lines of
dmesg
output, after you have tried to open a terminal.– Videonauth
Jun 2 '16 at 0:21
1
What have you changed lately?
~/.bashrc
? It sounds like your shell launches, then immediately exits.– waltinator
Jun 2 '16 at 1:49
Well, my gnome-terminal is working, but tty not. I will keep working normally and if any problem appear again I update my question. Thanks for all attention.
– leobap
Jun 3 '16 at 15:32
I had a similar problem, and unistalling
mysecureshell
solved the issue (Ubuntu 17.10).– Cosmin Saveanu
Mar 19 '18 at 11:41