View Issue Details

IDProjectCategoryView StatusLast Update
0005830Kali LinuxKali Package Bugpublic2020-04-29 21:42
Reporternadvig Assigned Todaniruiz  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionunable to reproduce 
Fixed in Version2020.1 
Summary0005830: kali-undercover don't come back to kali after switching to windows
Description

i have installed the new desktop. The mode kali-undercover works well to Windows. But coming back to Kali : kali-undercover don't working. I see that kali try to come back, i have the "desktop settings restored" at the bottom right, but i'm still in Windows and i cannot leave Windows :-(

Steps To Reproduce

in kali : kali-undercover
in Windows : kali-undercover

Attached Files
Selection_007.png (319,212 bytes)

Activities

nadvig

nadvig

2019-11-27 23:23

reporter   ~0011405

var/log/messages

Nov 27 18:13:14 kali /usr/lib/gdm3/gdm-x-session[1422]: xfce4-panel: Redémarrage…
Nov 27 18:13:14 kali panel-11-notifi[2554]: g_file_new_for_path: assertion 'path != NULL' failed
Nov 27 18:13:14 kali panel-11-notifi[2554]: g_file_monitor_file: assertion 'G_IS_FILE (file)' failed
Nov 27 18:13:14 kali panel-11-notifi[2554]: invalid (NULL) pointer instance
Nov 27 18:13:14 kali panel-11-notifi[2554]: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
Nov 27 18:13:14 kali panel-11-notifi[2554]: Attempting to add a widget with type GtkToggleButton to a container of type XfcePanelPlugin, but the widget is already inside a container of type XfcePanelPlugin, please remove the widget from its existing container first.
Nov 27 18:13:14 kali panel-8-power-m[2548]: No outputs have backlight property
Nov 27 18:13:14 kali panel-1-whisker[2546]: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node button, owner GtkToggleButton)
Nov 27 18:13:14 kali panel-11-notifi[2554]: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node button, owner GtkToggleButton)
Nov 27 18:13:14 kali panel-9-pulseau[2549]: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node button, owner PulseaudioButton)
Nov 27 18:13:14 kali panel-8-power-m[2548]: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node button, owner PowerManagerButton)

nadvig

nadvig

2019-11-27 23:25

reporter   ~0011406

syslog:

Nov 27 18:15:30 kali /usr/lib/gdm3/gdm-x-session[1422]: xfce4-panel: Redémarrage…
Nov 27 18:15:30 kali xfce4-panel[2665]: Theme parsing error: gtk.css:2794:15: Not using units is deprecated. Assuming 'px'.
Nov 27 18:15:30 kali panel-1-whisker[2676]: Theme parsing error: gtk.css:2794:15: Not using units is deprecated. Assuming 'px'.
Nov 27 18:15:30 kali panel-7-systray[2679]: Theme parsing error: gtk.css:2794:15: Not using units is deprecated. Assuming 'px'.
Nov 27 18:15:30 kali panel-9-pulseau[2681]: Theme parsing error: gtk.css:2794:15: Not using units is deprecated. Assuming 'px'.
Nov 27 18:15:30 kali panel-8-power-m[2680]: Theme parsing error: gtk.css:2794:15: Not using units is deprecated. Assuming 'px'.
Nov 27 18:15:30 kali panel-7-systray[2679]: Failed to set property "xfce4-panel::/plugins/plugin-7/names-ordered": L’opération a été annulée
Nov 27 18:15:30 kali panel-11-notifi[2682]: Theme parsing error: gtk.css:2794:15: Not using units is deprecated. Assuming 'px'.
Nov 27 18:15:30 kali panel-8-power-m[2680]: No outputs have backlight property
Nov 27 18:15:30 kali dbus-daemon[1418]: [session uid=0 pid=1418] Activating via systemd: service name='org.freedesktop.Notifications' unit='xfce4-notifyd.service' requested by ':1.154' (uid=0 pid=2681 comm="/usr/lib/x86_64-linux-gnu/xfce4/panel/wrapper-2.0 ")
Nov 27 18:15:30 kali systemd[1400]: Starting XFCE notifications service...
Nov 27 18:15:30 kali panel-1-whisker[2676]: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node button, owner GtkToggleButton)
Nov 27 18:15:30 kali panel-11-notifi[2682]: g_file_new_for_path: assertion 'path != NULL' failed
Nov 27 18:15:30 kali panel-11-notifi[2682]: g_file_monitor_file: assertion 'G_IS_FILE (file)' failed
Nov 27 18:15:30 kali panel-11-notifi[2682]: invalid (NULL) pointer instance
Nov 27 18:15:30 kali panel-11-notifi[2682]: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
Nov 27 18:15:30 kali panel-11-notifi[2682]: Attempting to add a widget with type GtkToggleButton to a container of type XfcePanelPlugin, but the widget is already inside a container of type XfcePanelPlugin, please remove the widget from its existing container first.
Nov 27 18:15:30 kali dbus-daemon[1418]: [session uid=0 pid=1418] Successfully activated service 'org.freedesktop.Notifications'
Nov 27 18:15:30 kali systemd[1400]: Started XFCE notifications service.
Nov 27 18:15:30 kali panel-9-pulseau[2681]: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node button, owner PulseaudioButton)
Nov 27 18:15:30 kali panel-11-notifi[2682]: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node button, owner GtkToggleButton)
Nov 27 18:15:30 kali panel-8-power-m[2680]: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node button, owner PowerManagerButton)

daniruiz

daniruiz

2019-11-28 10:03

manager   ~0011409

Looks like the desktop settings you had before couldn't be saved properly. Did you update from a previous version or is it a clean install?
By the way, if you want to restore the default panel run
pkill xfconf; rm -rf ~/.config/xfce4/{panel,xfconf}; xfce4-panel -r

nadvig

nadvig

2019-11-28 23:45

reporter   ~0011462

what i have done ? i have do updates and then install desktop xfce like this help : https://www.kali.org/docs/general-use/xfce-faq/

daniruiz

daniruiz

2019-11-29 14:15

manager   ~0011481

Maybe some of the panel configuration from the previous kali release caused it this error. Did you try the command I wrote? That should revert all the desktop to its defaults

nadvig

nadvig

2019-11-29 23:38

reporter   ~0011495

i have decided to come back to 0 :
i have downloaded the .ova file : try the kali-undercover everything goes well.
i have downloaded the 64 bits iso: kali-undercover works only in one side kali switching to Windows but not Windows to Kali!!!!!!!!!!
what's wrong with me :-)

daniruiz

daniruiz

2019-12-02 11:06

manager   ~0011516

That makes no sense to me :( If you try kali-undercover with a new installation, it works perfectly. Didn't you make any change?
Could you also provide a complete screenshot of how the desktop looks after running kali-undercover the second time?

STE4LTH

STE4LTH

2019-12-02 12:39

reporter   ~0011519

Hello, I have the same problem, and it doesn't happen when I try on a VM (which was a gnome VM I've updated to Xfce Kali 2019.4).
I join a screenshot of what it looks after getting back to kali.
Thanks for your understanding !

daniruiz

daniruiz

2019-12-02 13:08

manager   ~0011520

Hello STE4LTH, try reseting the panel configuration pkill xfconf; rm -rf ~/.config/xfce4/{panel,xfconf}; xfce4-panel -r and then run kali-undercover again

STE4LTH

STE4LTH

2019-12-02 15:06

reporter   ~0011554

Yes, it works, but I just wanted to know if we could "repair" the undercover command (because this is not really convenient to use these commands each time...), or at least why is the desktop settings not saving properly.
Oh, and I don't know if it's because of this, but my settings (like the click with the trackpad and the invert scroll) are not saved at reboot.

daniruiz

daniruiz

2019-12-03 16:03

manager   ~0011557

Sure, I also want to fix it, the previous suggestion was just to discarding that possibility.
Ok then lets try another thing:
$ rm -rf ~/.config/xfce4/{panel,xfconf}; pkill -u $(whoami)
login again and then run:
$ /usr/share/kali-undercover/scripts/xfce4-desktop-profiles.py save desktop.tar.bz

That should create the desktop.tar.bz with all the desktop settings needed in it.
Extract it and send me the text inside panel.txt

STE4LTH

STE4LTH

2019-12-03 18:24

reporter   ~0011559

Thank you for the help, but it doesn't create the file...

STE4LTH

STE4LTH

2019-12-03 18:27

reporter   ~0011560

But there's an error message : GLib.Error('Key file contains line “Only” which is not a key-value pair, group, or comment', 'g-key-file-error-quark', 1)
So if it would help...

nadvig

nadvig

2019-12-04 00:29

reporter   ~0011564

hello i have done you said. here are the screenshots and the panel.txt
thanks!

and no have done nothing between the new installation and and the kali-undercover tries...

panel.png (116,735 bytes)   
panel.png (116,735 bytes)   
afterreboot.png (346,195 bytes)
afterpkill_u.png (473,802 bytes)
afterpkill.png (346,666 bytes)
after.png (331,086 bytes)
before.png (324,648 bytes)
daniruiz

daniruiz

2019-12-05 16:30

manager   ~0011583

There is the issue then. The script doesn't generate the desktop backup file
Please run xfconf-query -c xfce4-panel -lv and paste the result

STE4LTH

STE4LTH

2019-12-07 09:55

reporter   ~0011592

For me, the result is that

daniruiz

daniruiz

2019-12-09 15:35

manager   ~0011622

It seems fine, I really don't understand why this is failing and I'm completely unable to replicate it

nadvig

nadvig

2019-12-11 23:38

reporter   ~0011650

sorry for the delay:

root@kali:~# xfconf-query -c xfce4-panel -lv
/configver 2
/panels <<UNSUPPORTED>>
/panels/panel-1/icon-size 24
/panels/panel-1/length 100
/panels/panel-1/plugin-ids <<UNSUPPORTED>>
/panels/panel-1/position p=8;x=0;y=0
/panels/panel-1/position-locked true
/panels/panel-1/size 40
/plugins/plugin-1 whiskermenu
/plugins/plugin-10 clock
/plugins/plugin-10/digital-format %I:%M %p
/plugins/plugin-11 notification-plugin
/plugins/plugin-2 showdesktop
/plugins/plugin-3 directorymenu
/plugins/plugin-3/base-directory /root
/plugins/plugin-3/icon-name system-file-manager
/plugins/plugin-4 launcher
/plugins/plugin-4/items <<UNSUPPORTED>>
/plugins/plugin-5 tasklist
/plugins/plugin-5/show-handle false
/plugins/plugin-5/show-labels false
/plugins/plugin-6 separator
/plugins/plugin-6/expand true
/plugins/plugin-6/style 0
/plugins/plugin-7 systray
/plugins/plugin-7/names-ordered <<UNSUPPORTED>>
/plugins/plugin-7/show-frame false
/plugins/plugin-7/size-max 24
/plugins/plugin-7/square-icons true
/plugins/plugin-8 power-manager-plugin
/plugins/plugin-9 pulseaudio
/plugins/plugin-9/enable-keyboard-shortcuts true

daniruiz

daniruiz

2020-04-29 21:42

manager   ~0012693

As there have been no new reports of this issue I'll consider it as fixed with later updates.

Issue History

Date Modified Username Field Change
2019-11-27 22:43 nadvig New Issue
2019-11-27 22:43 nadvig File Added: Selection_007.png
2019-11-27 23:23 nadvig Note Added: 0011405
2019-11-27 23:25 nadvig Note Added: 0011406
2019-11-28 10:03 daniruiz Note Added: 0011409
2019-11-28 10:03 daniruiz Assigned To => daniruiz
2019-11-28 10:03 daniruiz Status new => assigned
2019-11-28 23:45 nadvig Note Added: 0011462
2019-11-29 14:15 daniruiz Note Added: 0011481
2019-11-29 23:38 nadvig Note Added: 0011495
2019-12-02 11:06 daniruiz Note Added: 0011516
2019-12-02 12:39 STE4LTH File Added: Capture d’écran_2019-12-02_13-35-08.png
2019-12-02 12:39 STE4LTH Note Added: 0011519
2019-12-02 13:08 daniruiz Note Added: 0011520
2019-12-02 15:06 STE4LTH Note Added: 0011554
2019-12-03 16:03 daniruiz Note Added: 0011557
2019-12-03 18:24 STE4LTH Note Added: 0011559
2019-12-03 18:27 STE4LTH Note Added: 0011560
2019-12-04 00:29 nadvig File Added: panel.png
2019-12-04 00:29 nadvig File Added: afterreboot.png
2019-12-04 00:29 nadvig File Added: afterpkill_u.png
2019-12-04 00:29 nadvig File Added: afterpkill.png
2019-12-04 00:29 nadvig File Added: after.png
2019-12-04 00:29 nadvig File Added: before.png
2019-12-04 00:29 nadvig Note Added: 0011564
2019-12-05 16:30 daniruiz Note Added: 0011583
2019-12-07 09:55 STE4LTH File Added: Capture d’écran_2019-12-07_10-53-18.png
2019-12-07 09:55 STE4LTH Note Added: 0011592
2019-12-09 15:35 daniruiz Note Added: 0011622
2019-12-11 23:38 nadvig Note Added: 0011650
2020-04-29 21:42 daniruiz Status assigned => resolved
2020-04-29 21:42 daniruiz Resolution open => unable to reproduce
2020-04-29 21:42 daniruiz Fixed in Version => 2020.1
2020-04-29 21:42 daniruiz Note Added: 0012693