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$1@dont-email.me>,
Ottavio Caruso <ottavio2006-usenet2012@yahoo.com> 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$1@news.xmission.com>,
...
$ 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$3...@dont-email.me>,
...
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$3...@dont-email.me>,
...
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$3...@dont-email.me>,
...
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$3...@dont-email.me>,
...
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: | 297 |
Nodes: | 16 (2 / 14) |
Uptime: | 22:03:52 |
Calls: | 6,667 |
Calls today: | 1 |
Files: | 12,216 |
Messages: | 5,337,347 |