diff --git a/meshcentral-config-schema.json b/meshcentral-config-schema.json index 0bfc1b7c..a57c9fd6 100644 --- a/meshcentral-config-schema.json +++ b/meshcentral-config-schema.json @@ -2128,7 +2128,7 @@ "login" ], "default": "any", - "description": "Indicate what terminal options are available when the user clicks the right mouse button on the terminal connect button." + "description": "Indicates the default linux terminal thats used when the user clicks the terminal connect button and disables the right mouse button on the terminal connect button when this is set." }, "launchCommand": { "type": "object", diff --git a/views/default-mobile.handlebars b/views/default-mobile.handlebars index 7346d9c4..04d347c5 100644 --- a/views/default-mobile.handlebars +++ b/views/default-mobile.handlebars @@ -5409,6 +5409,7 @@ if (termoptions.protocol == 1) { termoptions.protocol = 6; } // Switch to Powershell } } + */ // If the server requires a shell type if ((serverinfo.linuxshell) != null && (currentNode.agent.id > 4)) { @@ -5416,7 +5417,6 @@ if (serverinfo.linuxshell == 'user') { termoptions.protocol = 8; delete termoptions.requireLogin; } if (serverinfo.linuxshell == 'login') { termoptions.protocol = 1; termoptions.requireLogin = true; } } - */ // Setup a mesh agent xterm terminal QV('termarea3xdiv', true); diff --git a/views/sharing-mobile.handlebars b/views/sharing-mobile.handlebars index a93d2b56..0064531c 100644 --- a/views/sharing-mobile.handlebars +++ b/views/sharing-mobile.handlebars @@ -1783,14 +1783,13 @@ if (termoptions.protocol == 1) { termoptions.protocol = 6; } // Switch to Powershell } } - + */ // If the server requires a shell type if ((serverinfo.linuxshell) != null && (currentNode.agent.id > 4)) { if (serverinfo.linuxshell == 'root') { termoptions.protocol = 1; delete termoptions.requireLogin; } if (serverinfo.linuxshell == 'user') { termoptions.protocol = 8; delete termoptions.requireLogin; } if (serverinfo.linuxshell == 'login') { termoptions.protocol = 1; termoptions.requireLogin = true; } } - */ // Setup a mesh agent xterm terminal QV('termarea3xdiv', true);