Advertisement
codegazer

How to change kali login screen image

Mar 8th, 2023
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.28 KB | None | 0 0
  1. How to change kali login screen image.
  2.  
  3. Found package kali-desktop-base installed.
  4.  
  5. Looked at files installed by kali-desktop-base
  6.  
  7. ┌──(user㉿kali)-[~]
  8. └─$ dpkg-query -L kali-desktop-base
  9. /.
  10. /usr
  11. /usr/share
  12. /usr/share/desktop-base
  13. /usr/share/doc
  14. /usr/share/doc/kali-desktop-base
  15. /usr/share/doc/kali-desktop-base/changelog.gz
  16. /usr/share/doc/kali-desktop-base/copyright
  17. /usr/share/icons
  18. /usr/share/icons/vendor
  19. /usr/share/icons/vendor/128x128
  20. /usr/share/icons/vendor/128x128/emblems
  21. /usr/share/icons/vendor/256x256
  22. /usr/share/icons/vendor/256x256/emblems
  23. /usr/share/icons/vendor/64x64
  24. /usr/share/icons/vendor/64x64/emblems
  25. /usr/share/icons/vendor/scalable
  26. /usr/share/icons/vendor/scalable/emblems
  27. /usr/share/images
  28. /usr/share/images/desktop-base
  29. /usr/share/lintian
  30. /usr/share/lintian/overrides
  31. /usr/share/lintian/overrides/kali-desktop-base
  32. /usr/share/wallpapers
  33.  
  34. Identified /usr/share/images/desktop-base/ as a likely directory for the login screen image.
  35.  
  36. ┌──(user㉿kali)-[~]
  37. └─$ eom /usr/share/images/desktop-base/desktop-background
  38.  
  39. # Found the image ^
  40.  
  41. ┌──(user㉿kali)-[~]
  42. └─$ ls -l /usr/share/images/desktop-base/desktop-background
  43. lrwxrwxrwx 1 root root 36 Feb 16 2022 /usr/share/images/desktop-base/desktop-background -> /etc/alternatives/desktop-background
  44.  
  45. # It is a symb-link^ which points to a 2nd symb-link.
  46.  
  47. ┌──(user㉿kali)-[~]
  48. └─$ ls -l /etc/alternatives/desktop-background
  49. lrwxrwxrwx 1 root root 74 Feb 16 2022 /etc/alternatives/desktop-background -> /usr/share/desktop-base/kali-theme/wallpaper/contents/images/3840x2160.png
  50.  
  51.  
  52. # Preferred login background image is:
  53. /usr/share/backgrounds/kali/kali-layers-16x9.png
  54.  
  55. # backup then switch the symbolic link:
  56.  
  57. ┌──(root㉿kali)-[~]
  58. └─# mv /etc/alternatives/desktop-background /etc/alternatives/desktop-background_2022_02_16
  59.  
  60. ┌──(root㉿kali)-[~]
  61. └─# ln -s /usr/share/backgrounds/kali/kali-layers-16x9.png /etc/alternatives/desktop-background
  62.  
  63. ┌──(root㉿kali)-[~]
  64. └─# ls -l /etc/alternatives/desktop-background
  65. lrwxrwxrwx 1 root root 48 Mar 8 12:42 /etc/alternatives/desktop-background -> /usr/share/backgrounds/kali/kali-layers-16x9.png
  66.  
  67. # Verify with screen lock and re-login
  68.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement