Tracking Down Ubuntu BASH Session Closing
-
@IRJ said in Tracking Down Ubuntu BASH Session Closing:
Try this command first to bypass bash settings
ssh -t <host> dash
Using ZSH is what I am doing, works fine, too.
-
@IRJ said in Tracking Down Ubuntu BASH Session Closing:
https://askubuntu.com/questions/404424/how-do-i-restore-bashrc-to-its-default#404428
Pretty confident that it is none of those. They are all vanilla.
-
@IRJ brand new users have the issue, too.
-
@scottalanmiller said in Tracking Down Ubuntu BASH Session Closing:
@IRJ brand new users have the issue, too.
Doesn't bash have a global default config that applies to all users?
-
@JaredBusch said in Tracking Down Ubuntu BASH Session Closing:
@scottalanmiller said in Tracking Down Ubuntu BASH Session Closing:
@IRJ brand new users have the issue, too.
Doesn't bash have a global default config that applies to all users?
Ubuntu 18.04.2
/etc/profile
and/etc/bash.bashrc
Fedora 30
/etc/profile
and/etc/bashrc
-
@JaredBusch said in Tracking Down Ubuntu BASH Session Closing:
@scottalanmiller said in Tracking Down Ubuntu BASH Session Closing:
@IRJ brand new users have the issue, too.
Doesn't bash have a global default config that applies to all users?
It has one, yes. But it's vanilla. And even removing it, no change.
-
@black3dynamite said in Tracking Down Ubuntu BASH Session Closing:
Ubuntu 18.04.2
/etc/profile and /etc/bash.bashrcYup, removed both of those, didn't change anything.
-
I see this issue with Graphics card drivers. I would start by upgrading the video card drivers even if it means removing and installing again the package.
-
@scottalanmiller said in Tracking Down Ubuntu BASH Session Closing:
If I use zsh, I'm good. If I enter BASH from zsh, I get kicked out after several seconds. Definitely is something to do with BASH.
Stupid tryout: use bash and then enter zsh before being kicked out. Still out?
To understand if it is the firing of bash itself or the stay in bash... -
Wow, bizarre for sure.
-
@dbeato said in Tracking Down Ubuntu BASH Session Closing:
I see this issue with Graphics card drivers. I would start by upgrading the video card drivers even if it means removing and installing again the package.
Oh wow, great point, the graphic driver could be crashing, causing a remote disconnect. Nice
-
@dbeato said in Tracking Down Ubuntu BASH Session Closing:
I see this issue with Graphics card drivers. I would start by upgrading the video card drivers even if it means removing and installing again the package.
Removing GUI could quickly verify this
-
@IRJ said in Tracking Down Ubuntu BASH Session Closing:
@dbeato said in Tracking Down Ubuntu BASH Session Closing:
I see this issue with Graphics card drivers. I would start by upgrading the video card drivers even if it means removing and installing again the package.
Removing GUI could quickly verify this
How do Runtime levels work? Could he remote in at that GUIless runtime level 3 or w/e?
-
@matteo-nunziati said in Tracking Down Ubuntu BASH Session Closing:
@scottalanmiller said in Tracking Down Ubuntu BASH Session Closing:
If I use zsh, I'm good. If I enter BASH from zsh, I get kicked out after several seconds. Definitely is something to do with BASH.
Stupid tryout: use bash and then enter zsh before being kicked out. Still out?
To understand if it is the firing of bash itself or the stay in bash...No, the underlying bash remains until the ZSH closes. Same as if you were running top from it, for example.
-
@kamidon said in Tracking Down Ubuntu BASH Session Closing:
@dbeato said in Tracking Down Ubuntu BASH Session Closing:
I see this issue with Graphics card drivers. I would start by upgrading the video card drivers even if it means removing and installing again the package.
Oh wow, great point, the graphic driver could be crashing, causing a remote disconnect. Nice
Maybe, there is definitely lots of extra code in there, but the connection is via SSH only, so in theory the GUI could crash and never impact us.
-
@kamidon said in Tracking Down Ubuntu BASH Session Closing:
@IRJ said in Tracking Down Ubuntu BASH Session Closing:
@dbeato said in Tracking Down Ubuntu BASH Session Closing:
I see this issue with Graphics card drivers. I would start by upgrading the video card drivers even if it means removing and installing again the package.
Removing GUI could quickly verify this
How do Runtime levels work? Could he remote in at that GUIless runtime level 3 or w/e?
That's what we are doing.
-
@dbeato said in Tracking Down Ubuntu BASH Session Closing:
I see this issue with Graphics card drivers. I would start by upgrading the video card drivers even if it means removing and installing again the package.
The problem with removing them is that it is a CUDA processing server.
-
@scottalanmiller said in Tracking Down Ubuntu BASH Session Closing:
That's what we are doing.
Are the lower runtimes essentially the equivalent to Windows Safemode?
Edit: Except I'm sure the Linux end is significantly more robust since Safemode is so damned restricted.
"OH NOPE, can't do that, sorry." lol. -
@scottalanmiller said in Tracking Down Ubuntu BASH Session Closing:
@JaredBusch said in Tracking Down Ubuntu BASH Session Closing:
@scottalanmiller said in Tracking Down Ubuntu BASH Session Closing:
@IRJ brand new users have the issue, too.
Doesn't bash have a global default config that applies to all users?
It has one, yes. But it's vanilla. And even removing it, no change.
What happens if you connect to the VM's console and log in via the terminal (not the gui) ?
What about running the shell from within MeshCentral -- do you still get disconnected that way?
-
@kamidon said in Tracking Down Ubuntu BASH Session Closing:
@scottalanmiller said in Tracking Down Ubuntu BASH Session Closing:
That's what we are doing.
Are the lower runtimes essentially the equivalent to Windows Safemode?
Edit: Except I'm sure the Linux end is significantly more robust since Safemode is so damned restricted.
"OH NOPE, can't do that, sorry." lol.Kind of, yes. Mode 3 is just the "normal" non-GUI mode. Some modes are for custom stuff. You can customize any mode, though, if you want.