Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lxqt-leave should detect remote sessions #307

Open
agaida opened this issue Jan 17, 2020 · 1 comment
Open

lxqt-leave should detect remote sessions #307

agaida opened this issue Jan 17, 2020 · 1 comment

Comments

@agaida
Copy link
Member

agaida commented Jan 17, 2020

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

@agaida
Copy link
Member Author

agaida commented Jan 17, 2020

Hmm - not really sure who should handle it - session or maybe policykit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant