Ubuntu 18.10 TTY based operations not working
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}
Something weird happened to my Ubuntu (actually, Kubuntu) installation. It happened all of a sudden. I'll give just one of the symptoms.
When I try to log in via the console, I type in the user name, get prompted for a password, but have no chance to type it. The system goes into a tight loop of asking for password, not waiting for it, and failing the log in.
Running strace, I get:
15618 ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0
15618 ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0
15618 rt_sigprocmask(SIG_BLOCK, [TSTP], , 8) = 0
15618 ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0
15618 ioctl(0, SNDCTL_TMR_CONTINUE or TCSETSF, {B38400 opost isig icanon -echo ...}) = 0
15618 ioctl(0, TCGETS, {B38400 opost isig icanon -echo ...}) = 0
15618 write(2, "Password: ", 10) = 10
15618 read(0, 0x7ffe7c590ea0, 511) = -1 EAGAIN (Resource temporarily unavailable)
15618 ioctl(0, TCGETS, {B38400 opost isig icanon -echo ...}) = 0
15618 ioctl(0, SNDCTL_TMR_STOP or TCSETSW, {B38400 opost isig icanon echo ...}) = 0
15618 ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0
15618 write(2, "n", 1) = 1
This is not the only thing that went wrong. Other programs that manipulate the tty also started behaving strangely, but not all the time.
for example, FZF will not work from within gvim, but does work when run from konsole.
linux ubuntu tty
add a comment |
Something weird happened to my Ubuntu (actually, Kubuntu) installation. It happened all of a sudden. I'll give just one of the symptoms.
When I try to log in via the console, I type in the user name, get prompted for a password, but have no chance to type it. The system goes into a tight loop of asking for password, not waiting for it, and failing the log in.
Running strace, I get:
15618 ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0
15618 ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0
15618 rt_sigprocmask(SIG_BLOCK, [TSTP], , 8) = 0
15618 ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0
15618 ioctl(0, SNDCTL_TMR_CONTINUE or TCSETSF, {B38400 opost isig icanon -echo ...}) = 0
15618 ioctl(0, TCGETS, {B38400 opost isig icanon -echo ...}) = 0
15618 write(2, "Password: ", 10) = 10
15618 read(0, 0x7ffe7c590ea0, 511) = -1 EAGAIN (Resource temporarily unavailable)
15618 ioctl(0, TCGETS, {B38400 opost isig icanon -echo ...}) = 0
15618 ioctl(0, SNDCTL_TMR_STOP or TCSETSW, {B38400 opost isig icanon echo ...}) = 0
15618 ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0
15618 write(2, "n", 1) = 1
This is not the only thing that went wrong. Other programs that manipulate the tty also started behaving strangely, but not all the time.
for example, FZF will not work from within gvim, but does work when run from konsole.
linux ubuntu tty
It is even stranger. From konsole, if I run FZF it shows its stuff. If I runstrace -f fzf
, it saysFailed to read /dev/tty
, after which point if I try to just run it it also fails.
– Shachar Shemesh
Feb 6 at 13:25
add a comment |
Something weird happened to my Ubuntu (actually, Kubuntu) installation. It happened all of a sudden. I'll give just one of the symptoms.
When I try to log in via the console, I type in the user name, get prompted for a password, but have no chance to type it. The system goes into a tight loop of asking for password, not waiting for it, and failing the log in.
Running strace, I get:
15618 ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0
15618 ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0
15618 rt_sigprocmask(SIG_BLOCK, [TSTP], , 8) = 0
15618 ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0
15618 ioctl(0, SNDCTL_TMR_CONTINUE or TCSETSF, {B38400 opost isig icanon -echo ...}) = 0
15618 ioctl(0, TCGETS, {B38400 opost isig icanon -echo ...}) = 0
15618 write(2, "Password: ", 10) = 10
15618 read(0, 0x7ffe7c590ea0, 511) = -1 EAGAIN (Resource temporarily unavailable)
15618 ioctl(0, TCGETS, {B38400 opost isig icanon -echo ...}) = 0
15618 ioctl(0, SNDCTL_TMR_STOP or TCSETSW, {B38400 opost isig icanon echo ...}) = 0
15618 ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0
15618 write(2, "n", 1) = 1
This is not the only thing that went wrong. Other programs that manipulate the tty also started behaving strangely, but not all the time.
for example, FZF will not work from within gvim, but does work when run from konsole.
linux ubuntu tty
Something weird happened to my Ubuntu (actually, Kubuntu) installation. It happened all of a sudden. I'll give just one of the symptoms.
When I try to log in via the console, I type in the user name, get prompted for a password, but have no chance to type it. The system goes into a tight loop of asking for password, not waiting for it, and failing the log in.
Running strace, I get:
15618 ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0
15618 ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0
15618 rt_sigprocmask(SIG_BLOCK, [TSTP], , 8) = 0
15618 ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0
15618 ioctl(0, SNDCTL_TMR_CONTINUE or TCSETSF, {B38400 opost isig icanon -echo ...}) = 0
15618 ioctl(0, TCGETS, {B38400 opost isig icanon -echo ...}) = 0
15618 write(2, "Password: ", 10) = 10
15618 read(0, 0x7ffe7c590ea0, 511) = -1 EAGAIN (Resource temporarily unavailable)
15618 ioctl(0, TCGETS, {B38400 opost isig icanon -echo ...}) = 0
15618 ioctl(0, SNDCTL_TMR_STOP or TCSETSW, {B38400 opost isig icanon echo ...}) = 0
15618 ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0
15618 write(2, "n", 1) = 1
This is not the only thing that went wrong. Other programs that manipulate the tty also started behaving strangely, but not all the time.
for example, FZF will not work from within gvim, but does work when run from konsole.
linux ubuntu tty
linux ubuntu tty
edited Feb 6 at 13:21
DavidPostill♦
108k27235271
108k27235271
asked Feb 6 at 13:20
Shachar ShemeshShachar Shemesh
1338
1338
It is even stranger. From konsole, if I run FZF it shows its stuff. If I runstrace -f fzf
, it saysFailed to read /dev/tty
, after which point if I try to just run it it also fails.
– Shachar Shemesh
Feb 6 at 13:25
add a comment |
It is even stranger. From konsole, if I run FZF it shows its stuff. If I runstrace -f fzf
, it saysFailed to read /dev/tty
, after which point if I try to just run it it also fails.
– Shachar Shemesh
Feb 6 at 13:25
It is even stranger. From konsole, if I run FZF it shows its stuff. If I run
strace -f fzf
, it says Failed to read /dev/tty
, after which point if I try to just run it it also fails.– Shachar Shemesh
Feb 6 at 13:25
It is even stranger. From konsole, if I run FZF it shows its stuff. If I run
strace -f fzf
, it says Failed to read /dev/tty
, after which point if I try to just run it it also fails.– Shachar Shemesh
Feb 6 at 13:25
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
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%2fsuperuser.com%2fquestions%2f1402667%2fubuntu-18-10-tty-based-operations-not-working%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
Thanks for contributing an answer to Super User!
- 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%2fsuperuser.com%2fquestions%2f1402667%2fubuntu-18-10-tty-based-operations-not-working%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
It is even stranger. From konsole, if I run FZF it shows its stuff. If I run
strace -f fzf
, it saysFailed to read /dev/tty
, after which point if I try to just run it it also fails.– Shachar Shemesh
Feb 6 at 13:25