• [gentoo-user] Exiting from Qt6 over SSH

    From Peter Humphrey@21:1/5 to All on Wed Sep 18 15:50:01 2024
    Greetings,

    I maintain an ~amd64 system remotely over SSH (from downstairs), and that includes rebooting it with, say, a new kernel. Sometimes the system is running a KDE/Plasma GUI, and I want to log out gracefully from it before rebooting,
    so that my session is saved. The question is: how? Everything I've found so
    far stopped working with Qt6. Not even doc.qt.io helps me.

    Hasn't this been tackled on this list before now? I thought it had but I can't find it if so.

    --
    Regards,
    Peter.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Peter Humphrey@21:1/5 to All on Fri Sep 20 11:00:01 2024
    On Wednesday 18 September 2024 19:59:15 BST Dale wrote:
    Peter Humphrey wrote:
    Greetings,

    I maintain an ~amd64 system remotely over SSH (from downstairs), and that includes rebooting it with, say, a new kernel. Sometimes the system is running a KDE/Plasma GUI, and I want to log out gracefully from it before rebooting, so that my session is saved. The question is: how? Everything I've found so far stopped working with Qt6. Not even doc.qt.io helps me.

    Hasn't this been tackled on this list before now? I thought it had but I can't find it if so.

    I found this in a previous thread named [gentoo-user] Scripting KDE?.

    8

    Thank you Dale. I knew it was familiar.

    Don't ask why I couldn't find it for myself, because I haven't a clue.

    --
    Regards,
    Peter.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael@21:1/5 to All on Fri Sep 20 13:53:13 2024
    On Friday 20 September 2024 13:43:44 BST Dale wrote:
    Peter Humphrey wrote:
    On Wednesday 18 September 2024 19:59:15 BST Dale wrote:
    Peter Humphrey wrote:
    Greetings,

    I maintain an ~amd64 system remotely over SSH (from downstairs), and
    that
    includes rebooting it with, say, a new kernel. Sometimes the system is >>> running a KDE/Plasma GUI, and I want to log out gracefully from it
    before
    rebooting, so that my session is saved. The question is: how? Everything >>> I've found so far stopped working with Qt6. Not even doc.qt.io helps me. >>>
    Hasn't this been tackled on this list before now? I thought it had but I >>> can't find it if so.

    I found this in a previous thread named [gentoo-user] Scripting KDE?.

    8

    Thank you Dale. I knew it was familiar.

    Don't ask why I couldn't find it for myself, because I haven't a clue.

    Well, I had to dig pretty good. Even with my awful memory, I knew it
    was mentioned. Using the right search terms was where it got tricky. I found it tho. Seamonkey does a pretty good job when it comes to
    searching emails, assume Thunderbird works the same way.

    Very welcome.

    Dale

    :-) :-)

    I understand there were some changes with KSMServer on Qt6, so the suggestion provided in the previous thread may or may not work. It may work with X11 (if you provide $XDISPLAY), but not with Wayland.
    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmbtcDkACgkQseqq9sKV ZxmdmRAA6um8gJOsuuUsfwxzsDfbkBUIdwQ800NyWFnWFO2GhmPpxd3D8uGh0r7M Zi03InlMwQGe5wxVpY3dAOIZaODM6ajPSGGLFii/fwTV5gKtp8xuLaSUsKTmLIpv v+qydUgnJW5GvI2WEpqXG1LTZ4OPBdZvK18CNhvNzLMutLCT0g35ieZNI3phQPCe mRI91wYObH9N5ffSrRsGYAoF/XlkcZ15/htBNmHcKHhuKOHSs7bsYccucbWaBMnf OuCJ2J+RJazgeubWHiqhkB0eBlHJn5KTrPT9O5nxdCI0RE8iNWdwkl96j0ysSOaG Wuj7Oat4zg2EUJ3yRtzlsa9+cq06ehn09Yhi+g6+EKSfm1VvLkpYvqPTAMLpV578 jn62flSbeiGNNahDJ83y6cKjayq67c/DBeYDFsbyNiLv7nndFJLc9y2aLO42TEJo nQNTPqGYlWiQ8T73qAg0rF0B8LCkRp3rbij/xr5Kb4vWykTLheSI8v16MUvIhUhE 72YJl2wy0CG7/a2yk40TjkQZEfWgn0RpVn+Y9ze0Cc7G1BkkzYEI8WMg2C11Vf9l eLq0sUFRWa4NqWC25EEesbh0Ihsg0WmAX6EHRRNgutShCizyg1P0+GjXL6JCsEbp 9xZVyDysPqMXlAnLWlqZV8kDtAe3mOChE1vFre2OxF5llJxeIQ4=
    =fryq
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Peter Humphrey@21:1/5 to All on Fri Sep 20 15:40:01 2024
    On Friday 20 September 2024 13:53:13 BST Michael wrote:

    I understand there were some changes with KSMServer on Qt6, so the
    suggestion provided in the previous thread may or may not work. It may
    work with X11 (if you provide $XDISPLAY), but not with Wayland.

    Quite so. That's why I was scratching around to find a better way.

    In case anyone else comes looking for this, the key is 'man loginctl'.

    --
    Regards,
    Peter.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael@21:1/5 to All on Fri Sep 20 19:27:33 2024
    On Friday 20 September 2024 14:38:53 BST Peter Humphrey wrote:
    On Friday 20 September 2024 13:53:13 BST Michael wrote:
    I understand there were some changes with KSMServer on Qt6, so the suggestion provided in the previous thread may or may not work. It may work with X11 (if you provide $XDISPLAY), but not with Wayland.

    Quite so. That's why I was scratching around to find a better way.

    In case anyone else comes looking for this, the key is 'man loginctl'.

    Does loginctl save any unsaved application data and logout from a session gracefully?
    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmbtvpUACgkQseqq9sKV ZxlnDg/+MUrvx83DNi2kNYUta65ZYhJ6uPZuoUbOOg4LqbUUunx0qGPrY8zaBQlq Bnty8VS5jjPTfpTe3NN4mM9SDFzfK205bGCzh4Xi3Vk5tJGbrdh3Ir4R8b0ugXQU cvgOEerx4HeEUYfnqficlAybhsDsXUcawGXLtisnGvJpy0B3vjp5U7LQkE1l2i9i Ep3gc2/Py3PgPOb2hUZu17cm9O5srXo9fkjOoLKI8B/ektYfnf72UhKeTX8tssOT AKsWBojavOVstQef/9n/QD4t+h1/vjLkP5258nG2O+22rP4U/hx1nKeL2CldvL35 GugmNbTYranpOKIHEGxO842n7MwPS+3K6HNregYtXmtoc4iGSp9+hR63TbY0Gbys j2j3lRxnZmQNBuaZP9s80sTQ5LWpETDitMTpyMLZs6AiMbEaTemCGnNAND70LK+c gQvC3hGba0I1+fHzyA6SNpaDGgVDrsxZUGgYqjb25XraNHkCa3pxGEv8piWAAJiz osP9kvU+j2zWDCSqB6hF9sTckU0E1gQlB9Lmdd2A/ASY3ASQqxrluy5WdOubD0FC LcmYvYWtl4U86IDWidU1XtbIuiDQRcBd3PtQFwuc9y9AP5nTSFhYsPeM64oEFknY rLTKvYrWb7BR3GZOvNUdilt8atiMzx6l76A+n2fGqB7IztdKX8U=
    =i/a0
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Peter Humphrey@21:1/5 to All on Sat Sep 21 00:50:01 2024
    On Friday 20 September 2024 19:27:33 BST Michael wrote:
    On Friday 20 September 2024 14:38:53 BST Peter Humphrey wrote:
    On Friday 20 September 2024 13:53:13 BST Michael wrote:
    I understand there were some changes with KSMServer on Qt6, so the suggestion provided in the previous thread may or may not work. It may work with X11 (if you provide $XDISPLAY), but not with Wayland.

    Quite so. That's why I was scratching around to find a better way.

    In case anyone else comes looking for this, the key is 'man loginctl'.

    Does loginctl save any unsaved application data and logout from a session gracefully?

    Yes, as far as I can tell.

    --
    Regards,
    Peter.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)