Hi,
Debian Stable + latest bash.
If I issue:
$ sudo pkill Xorg
the system will kill Xorg and present me with a new login screen (LightDM)
However :
$ sudo sh -c "pkill Xorg && systemctl suspend"
Just suspends my laptop.
If I wake the laptop, it resumes without killing Xorg.
$ sudo sh -c "pkill Xorg && systemctl suspend"
Just suspends my laptop.
If I wake the laptop, it resumes without killing Xorg.
You probably need a sleep in there, to give Xorg time to go away, before the >OS is suspended.
If I wake the laptop, it resumes without killing Xorg.
What am I doing wrong?
In article <tguj5q$1nic$[email protected]>,
Ottavio Caruso <[email protected]> wrote:
Hi,
Debian Stable + latest bash.
If I issue:
$ sudo pkill Xorg
the system will kill Xorg and present me with a new login screen (LightDM) >>
However :
$ sudo sh -c "pkill Xorg && systemctl suspend"
Just suspends my laptop.
If I wake the laptop, it resumes without killing Xorg.
You probably need a sleep in there, to give Xorg time to go away, before the OS is suspended.
In article <tgus76$2180v$[email protected]>,
...
$ sudo sh -c "pkill Xorg && systemctl suspend"
Just suspends my laptop.
If I wake the laptop, it resumes without killing Xorg.
You probably need a sleep in there, to give Xorg time to go away, before the >> OS is suspended.
I should add that you also probably don't need "sudo" at all.
I should add that you also probably don't need "sudo" at all.
$ pkill Xorg
pkill: killing pid 442065 failed: Operation not permitted
In article <th16bp$bbii$[email protected]>,
...
I should add that you also probably don't need "sudo" at all.
$ pkill Xorg
pkill: killing pid 442065 failed: Operation not permitted
Reading is obviously not your strong suit.
--
Hindsight is (supposed to be) 2020.
Trumpers, don't make the same mistake twice.
Don't shoot yourself in the feet - and everywhere else - again!.gdtdtddyddgf
On Wednesday, September 28, 2022 at 5:10:27 AM UTC-5, Kenny McCormack wrote:trrdrrdrdrrtyy
In article <th16bp$bbii$[email protected]>,
...
I should add that you also probably don't need "sudo" at all.
$ pkill Xorg
pkill: killing pid 442065 failed: Operation not permitted
Reading is obviously not your strong suit.
--
Hindsight is (supposed to be) 2020.
Trumpers, don't make the same mistake twice.
Don't shoot yourself in the feet - and everywhere else - again!.gdtdtddyddgf
On Wednesday, September 28, 2022 at 5:10:27 AM UTC-5, Kenny McCormack wrote:
In article <th16bp$bbii$[email protected]>,
...
I should add that you also probably don't need "sudo" at all.
$ pkill Xorg
pkill: killing pid 442065 failed: Operation not permitted
Reading is obviously not your strong suit.
--
Hindsight is (supposed to be) 2020.
Trumpers, don't make the same mistake twice.
Don't shoot yourself in the feet - and everywhere else - again!.gdtdtddyddgf
On Sunday, March 5, 2023 at 7:01:16 PM UTC-6, Jalen Q wrote:ddrrrrerererrrttftftttttrrtrttrrttrttrtttrtrttrtrrttrrtt55itiittiitiiti
On Wednesday, September 28, 2022 at 5:10:27 AM UTC-5, Kenny McCormack wrote:
In article <th16bp$bbii$[email protected]>,
...
I should add that you also probably don't need "sudo" at all.
$ pkill Xorg
pkill: killing pid 442065 failed: Operation not permitted
Reading is obviously not your strong suit.
--
Hindsight is (supposed to be) 2020.
bvgcgcvgvgctctcvtttgtgttgtgtgtgfttTrumpers, don't make the same mistake twice.
Don't shoot yourself in the feet - and everywhere else - again!.gdtdtddyddgf
| Sysop: | Keyop |
|---|---|
| Location: | Huddersfield, West Yorkshire, UK |
| Users: | 714 |
| Nodes: | 16 (2 / 14) |
| Uptime: | 137:25:43 |
| Calls: | 12,087 |
| Files: | 14,997 |
| Messages: | 6,517,389 |