Skip to content

lxqt-leave should detect remote sessions #307

@agaida

Description

@agaida
Expected Behavior

On remote sessions the restart, hibernate, sleep, reboot and shutdown has to be disabled - or a complete other set of functionality should show up (Close Session (Logout) and Disconnect Session would be fine)

Current Behavior

Right now i can send my NAS to sleep or shut it down via lxqt-session, not so nice 😄

Possible Solution

Detect the running X - and react to it

Steps to Reproduce (for bugs)
  1. Setup a xrdp-server or vnc-server
  2. Connect to it
  3. Hit shutdown or reboot in lxqt-leave
  4. Be speechles and watch the remote machine :)
Context

This behaviour is fine, when i connect to a machine with teamviewer, anydesk or other remote tools that only transfer the client screen. It is not fine, if i open a virtual X on the machine and run LXQt on that virtual screen - my possible co-workers would hate me :D

System Information

Server: Modified CentOS (Rockstor)
Client: Siduction LXQt / Windows with a rdp client

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