Skip to content

os-js/osjs-xterm-application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ebea296 · Aug 9, 2022
Feb 18, 2020
Jul 28, 2022
Aug 9, 2022
Jul 29, 2022
May 28, 2020
Jul 29, 2022
Jul 29, 2022
Mar 22, 2018
Feb 15, 2020
Apr 9, 2021
Aug 18, 2018
Jul 29, 2022
Apr 9, 2021

Repository files navigation

OS.js Logo

OS.js is an open-source web desktop platform with a window manager, application APIs, GUI toolkit, filesystem abstractions and much more.

Support Support Donate Donate Community

OS.js v3 Xterm Application

This is the Xterm Application for OS.js v3

Screenshot

Requirements

  • bash
  • ssh

Installation

npm install --save --production @osjs/xterm-application
npm run package:discover

Usage

Start from application menu.

Note that it will log into a shell with the username you are logged in as.

If you want to change this behavior, you can add this to your src/server/config.js file in the OS.js distribution:

module.exports = {
  // ... append this to your export ...
  xterm: {
    // You can also set this as a string to force a username
    login: false
  }
}

You can also change the connection arguments:

module.exports = {
  // ... append this to your export ...
  xterm: {
    ssh: {
      // Custom hostname
      hostname: 'localhost',

      // Custom port
      args: '-p 1022'
    }
  }
}

Contribution

Documentation

See the Official Manuals for articles, tutorials and guides.

Links