How to suspend system?

How to suspend or hibernate system?I use xcfe,but cannot find suspend or hibernate button.How can I suspend system in terminal?
 
Sorry,I find suspend and hibernate button,but when click suspend button,I only see some messages like "uhub4 detached,xxx disconnected" etc.My laptop' cpu is still running.And I don't know how to back to system.I had to press power button to poweroff.
 
ck-list-sessions outputs nothing
That's not good. Your 'permission' to shutdown (or sleep) the machine is determined by that ConsoleKit session. No session, no permission.

It should show something similar to this:
Code:
dice@williscorto:~ % ck-list-sessions
Session1:
        unix-user = '1001'
        realname = 'SirDice'
        seat = 'Seat1'
        session-type = 'x11'
        session-class = 'user'
        session-state = 'active'
        active = TRUE
        x11-display = 'unix:0.0'
        x11-display-device = '/dev/ttyv8'
        display-device = ''
        remote-host-name = ''
        is-local = TRUE
        on-since = '2022-03-06T17:50:16.904859Z'
        login-session-id = ''
        XDG_RUNTIME_DIR = '/var/run/user/1001'
        VTNr = '9'

Lets see if we can fix that. How are you starting XFCE?
 
Is dbus running? startxfce4 should start the session automatically as far as I know.
 
Back
Top