View Issue Details

IDProjectCategoryView StatusLast Update
0003527Kali LinuxGeneral Bugpublic2025-07-14 09:17
Reporterccmcdee Assigned Torhertzog  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionunable to reproduce 
Product Version2016.2 
Summary0003527: XFCE4 Session Unrecoverable
Description

using XFCE4, on Kali-Rolling 2016.1/2016.2 while esthetically pleasing, desktop sessions are unrecoverable if started with startx from terminal-text session.

Unfortunately, if the user's system has only one account (ROOT), the only way to recover the session is by restarting the machine with a hard-reboot or ctrl+alt+del from the unrecoverable state <although this part has not been reproduced>

Steps To Reproduce

1: start a tty session from any state (i.e initial login or after starting desktop session normally via desktop management log-in)

2: start a desktop session with command: 'startx' (no single-quotes)

-at this point you will either (a)drop into a desktop session or(b)be denied a desktop session and prompted with tty session again

3: if in desktop session (standard GUI), (a)allow session to either suspend/lockscreen or (b)suspend/lock the session manually

-at this point the session is unrecoverable requiring (a)hard-reboot or (b)additional log-in with different credentials

4:(optional) start another terminal-text(tty) session (ctrl+alt+fn) using same credentials as either session

-in my case, while credentials are valid, access is denied and the prompt for credentials is repeated until a different credential is entered (username:passwd)

Additional Information

This is extremely troubling if the user only has one account at the time of testing/experience this, as the only way to recover a session is hard-reboot.

top showing running pid for unrecoverable session & root session
[code]


1247 os13115 20 0 382688 26804 21916 S 0.3 1.0 0:05.37 xfwm4

1255 os13115 20 0 709964 50144 22492 S 0.3 1.8 0:04.83 xfdesktop

1251 os13115 20 0 551124 29672 23172 S 0.3 1.1 0:03.28 xfce4-panel


7567 root 20 0 170660 20012 16628 S 0.3 0.7 0:01.62 xfwm4

7570 root 20 0 399428 26232 22152 S 0.3 0.9 0:03.36 xfce4-panel

7573 root 20 0 471312 35972 21628 S 0.7 1.3 0:01.69 xfdesktop

7477 root 20 0 249804 48544 20084 S 0.7 1.8 1:03.47 Xorg

[/code]

show who's logged in at the time
[code]
root@offsec:~# users
os13115 root
[/code]

strace -p1247
[code]
recvmsg(3, 0x7ffdd5fda7d0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(3, 0x7ffdd5fda460, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(3, 0x7ffdd5fda470, 0) = -1 EAGAIN (Resource temporarily unavailable)
clock_gettime(CLOCK_MONOTONIC, {32348, 274251441}) = 0
poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
writev(3, [{"\212\5\2\0+\246b\0\217\3\4\0\333\23`\0\0\0\0\0+\246b\0\212\21\3\0+\246b\0"..., 68}, {NULL, 0}, {"", 0}], 3) = 68
[/code]

Activities

ccmcdee

ccmcdee

2016-09-02 14:57

reporter   ~0005746

Linux offsec 4.6.0-kali1-amd64 0000001 SMP Debian 4.6.4-1kali1 (2016-07-21) x86_64 GNU/Linux

ccmcdee

ccmcdee

2016-09-02 15:51

reporter   ~0005749

os13115@offsec:/var/log$ cat Xorg.0.log.old |grep EE
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 1637.676] (EE) modeset(0): drmSetMaster failed: Invalid argument
[ 1637.676] (EE) modeset(0): failed to set mode: Permission denied
[ 1637.676] (EE)
[ 1637.676] (EE) EnterVT failed for screen 0
[ 1637.676] (EE)
[ 1637.676] (EE)
[ 1637.676] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 1637.676] (EE)
[ 1638.298] (EE) Server terminated with error (1). Closing log file.
os13115@offsec:/var/log$

rhertzog

rhertzog

2016-09-15 13:27

administrator   ~0005871

What screen locker is in use? Is this "xscreensaver"?

Might be a duplicate of 0003459.

_cC_

_cC_

2016-09-16 04:04

reporter   ~0005901

I cannot reproduce.

rhertzog

rhertzog

2016-09-30 10:17

administrator   ~0006011

I believe this was possibly a bug related to ligthdm and GTK3 that has been fixed in the mean time.

Issue History

Date Modified Username Field Change
2016-09-02 14:24 ccmcdee New Issue
2016-09-02 14:57 ccmcdee Note Added: 0005746
2016-09-02 15:51 ccmcdee Note Added: 0005749
2016-09-15 13:27 rhertzog Note Added: 0005871
2016-09-15 13:27 rhertzog Assigned To => rhertzog
2016-09-15 13:27 rhertzog Status new => feedback
2016-09-16 04:04 _cC_ Note Added: 0005901
2016-09-30 10:17 rhertzog Note Added: 0006011
2016-09-30 10:17 rhertzog Status feedback => closed
2016-09-30 10:17 rhertzog Resolution open => unable to reproduce
2025-07-14 09:17 g0tmi1k Priority urgent => normal