Forum › Forums › General › Software › LXDE on Antix22: “No session for pid…” and no Shutdown in Logout
- This topic has 2 replies, 2 voices, and was last updated Oct 29-4:48 pm by Harlem.
-
AuthorPosts
-
October 29, 2022 at 9:22 am #91736Member
Harlem
Good morning,
LXDE on Antix22 intermittently generates a “No session for pid…” error and, on Logout there is no option to Shut the system down.
That error, and the ‘missing’ shutdown error does not happen in LXDE on MX-19.4 on this hardware:
[code]
System: Kernel: 4.19.0-21-amd64 x86_64 bits: 64 compiler: gcc v: 8.3.0
parameters: BOOT_IMAGE=/vmlinuz-4.19.0-21-amd64
root=UUID=<filter> ro quiet splash
Desktop: LXDE 0.10.0 info: lxpanel wm: Openbox 3.6.1 vt: 7 dm: LightDM 1.26.0
Distro: MX-19.4_x64 patito feo March 31 2021 base: Debian GNU/Linux 10 (buster)
Machine: Type: Laptop System: LENOVO product: 2055CTO v: ThinkPad T500 serial: <filter>
Chassis: type: 10 serial: <filter>
Mobo: LENOVO model: 2055CTO serial: <filter> BIOS: LENOVO v: 7VET94WW (3.24 )
date: 12/13/2011
CPU: Info: Dual Core model: Intel Core2 Duo T9600 bits: 64 type: MCP arch: Penryn
family: 6 model-id: 17 (23) stepping: A (10) microcode: A0C cache: L2: 6 MiB
flags: lm nx pae sse sse2 sse3 sse4_1 ssse3 vmx bogomips: 11171
Speed: 1596 MHz min/max: 800/1600 MHz boost: enabled Core speeds (MHz): 1: 1596
2: 1596
Vulnerabilities: Type: itlb_multihit status: KVM: Split huge pages
Type: l1tf mitigation: PTE Inversion; VMX: EPT disabled
Type: mds status: Vulnerable: Clear CPU buffers attempted, no microcode; SMT disabled
Type: meltdown mitigation: PTI
Type: mmio_stale_data status: Not affected
Type: spec_store_bypass status: Vulnerable
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Retpolines, STIBP: disabled, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics: Device-1: Intel Mobile 4 Series Integrated Graphics vendor: Lenovo driver: i915
v: kernel bus-ID: 00:02.0 chip-ID: 8086:2a42 class-ID: 0300
Device-2: AMD RV635/M86 [Mobility Radeon HD 3650] vendor: Lenovo driver: N/A
alternate: radeon bus-ID: 01:00.0 chip-ID: 1002:9591 class-ID: 0300
Device-3: Lenovo UVC Camera type: USB driver: uvcvideo bus-ID: 2-6:3
chip-ID: 17ef:4807 class-ID: 0e02
Display: x11 server: X.Org 1.20.10 driver: loaded: intel display-ID: :0.0 screens: 1
Screen-1: 0 s-res: 1920×1080 s-dpi: 96 s-size: 506x285mm (19.9×11.2″)
s-diag: 581mm (22.9″)
Monitor-1: VGA1 res: 1920×1080 hz: 60 dpi: 82 size: 598x336mm (23.5×13.2″)
diag: 686mm (27″)
OpenGL: renderer: Mesa DRI Mobile Intel GM45 Express (CTG) v: 2.1 Mesa 20.3.5
direct render: Yes
Audio: Device-1: Intel 82801I HD Audio vendor: Lenovo ThinkPad T400 driver: snd_hda_intel
v: kernel bus-ID: 00:1b.0 chip-ID: 8086:293e class-ID: 0403
Sound Server-1: ALSA v: k4.19.0-21-amd64 running: yes
Sound Server-2: PulseAudio v: 12.2 running: yes
Network: Device-1: Intel 82567LF Gigabit Network vendor: Lenovo driver: e1000e v: 3.2.6-k
port: 1820 bus-ID: 00:19.0 chip-ID: 8086:10bf class-ID: 0200
IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Device-2: Intel Ultimate N WiFi Link 5300 driver: iwlwifi v: kernel modules: wl
port: 2000 bus-ID: 03:00.0 chip-ID: 8086:4236 class-ID: 0280
IF: wlan0 state: down mac: <filter>
Drives: Local Storage: total: 1.36 TiB used: 44.22 GiB (3.2%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Toshiba model: MQ01ACF050 size: 465.76 GiB
block-size: physical: 4096 B logical: 512 B speed: 3.0 Gb/s type: HDD rpm: 7200
serial: <filter> rev: 1D scheme: MBR
ID-2: /dev/sdb maj-min: 8:16 vendor: Western Digital model: WD10JPVX-22JC3T0
size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 3.0 Gb/s
type: HDD rpm: 5400 serial: <filter> rev: 1A01
Partition: ID-1: / raw-size: 463.21 GiB size: 454.87 GiB (98.20%) used: 44.05 GiB (9.7%)
fs: ext4 dev: /dev/dm-0 maj-min: 253:0 mapped: rootfs
ID-2: /boot raw-size: 512 MiB size: 487.2 MiB (95.16%) used: 181.8 MiB (37.3%)
fs: ext4 dev: /dev/sda1 maj-min: 8:1
Swap: Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: partition size: 1.98 GiB used: 0 KiB (0.0%) priority: -2
dev: /dev/dm-1 maj-min: 253:1 mapped: swapfs
Sensors: System Temperatures: cpu: 62.0 C mobo: 61.0 C
Fan Speeds (RPM): fan-1: 3008
Repos: Packages: 2387 note: see –pkg apt: 2371 lib: 1196 flatpak: 16
No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
1: deb http://deb.debian.org/debian/ buster-updates main contrib non-free
Active apt repos in: /etc/apt/sources.list.d/debian.list
1: deb http://deb.debian.org/debian/ buster main contrib non-free
2: deb http://deb.debian.org/debian-security/ buster/updates main contrib non-free
Active apt repos in: /etc/apt/sources.list.d/mx.list
1: deb http://mirrors.rit.edu/mxlinux/mx-packages/mx/repo/ buster main non-free
2: deb http://mirrors.rit.edu/mxlinux/mx-packages/mx/testrepo/ buster test
3: deb http://mirrors.rit.edu/mxlinux/mx-packages/mx/repo/ buster ahs
Active apt repos in: /etc/apt/sources.list.d/teamviewer.list
1: deb http://linux.teamviewer.com/deb/ stable main
No active apt repos in: /etc/apt/sources.list.d/various.list
Info: Processes: 195 Uptime: 30m wakeups: 2 Memory: 7.69 GiB used: 1.07 GiB (14.0%)
Init: SysVinit v: 2.93 runlevel: 5 default: 5 tool: systemctl Compilers: gcc: 8.3.0
alt: 8 Shell: quick-system-in default: Bash v: 5.0.3 running-in: quick-system-in
inxi: 3.3.06
[/code]but it is happening on another Lenovo T500 being used as a test bed for Antix 22.
Looking around the web I’ve found that the “No session for pid…” error apparently has a history going back quite awhile (2014?) but I’ve found no applicable resolutions (Ubuntu doesn’t count) so I am wondering if there’s a known solution to both the “pid” error and the’no shutdown’ option.
TIA,
- This topic was modified 6 months, 1 week ago by Harlem.
October 29, 2022 at 10:39 am #91739Forum Admin
anticapitalista
::To get those to work, LXDE needs elogind, libpam-elogind and policykit as well.
They hard coded systemd/elogind code into their full shutdown gui.Added: If you want to keep antiX-22 free from systemd/elogind (as it is by default), you can use consolekit and its components and edit the menu to use the antiX shutdown gui.
Option 1 – systemd/elogind free
sudo apt update && sudo apt install lxde consolekit libpam-ck-connectorThen edit ~/.config/lxpanel/LXDE/config so logout reads like this
logout=desktop-session-exitReboot.
Option 2 – uses ‘standard’ lxde logout
sudo apt update && sudo apt install lxde elogind libpam-elogindReboot
- This reply was modified 6 months, 1 week ago by anticapitalista. Reason: added more information
Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
October 29, 2022 at 4:48 pm #91759MemberHarlem
::Thank you, Your ‘fix’ #2 corrects the problem. The first (preferred) option didn’t but I’m not sure it wasn’t my fault; I’ll know when I reinstall Antix-22 on my test system.
Thanks again,
-
AuthorPosts
- You must be logged in to reply to this topic.