Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

script error message using xrdp remote session #25740

@aba-recke

Description

@aba-recke

Prerequisites

Description

Sometimes 'DESKTOP_SESSION' is not defined, e.g. using xrdp with Ubuntu mate: printenv | grep DESK MATE_DESKTOP_SESSION_ID=this-is-deprecated
XDG_SESSION_DESKTOP=mate
XDG_CURRENT_DESKTOP=MATE
The result is the message starting atom: "expr: syntax error: missing argument after ‘8’ "

Steps to Reproduce

  1. Use Ubuntu Mate with xrdp or 'unset DESKTOP_SESSION' in your terminal
  2. start atom from terminal
  3. observe output "expr: syntax error: missing argument after ‘8’ "

Expected behavior:

No error message from startup script

Actual behavior:

Error message as described

Reproduces how often:

always

Versions

Atom : 1.60.0
Electron: 9.4.4
Chrome : 83.0.4103.122
Node : 12.14.1

apm 2.6.2
npm 6.14.13
node 12.14.1 x64
atom 1.60.0
python
git 2.34.1

PRETTY_NAME="Ubuntu 22.04.1 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.1 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy

xrdp 0.9.17

Additional Information

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions