Results 1 to 2 of 2

Thread: How to change the background image of cryptsetup screen on encrypted kali ???

  1. #1
    Join Date
    2020-Apr
    Posts
    3

    How to change the background image of cryptsetup screen on encrypted kali ???

    Hi there,

    I just want to know, How to change or disable the background image of cryptsetup screen on encrypted kali, I mean the screen with the kali dragon logo where we have to put our encryption password to decrypt kali. I need this in order to stay discreet from letting anyone know that i am using kali because that branded screen eventually kills every discreteness of the feature "Undercover Mode or Windows Mode".

    I will be glad to receive any proper guidance regarding this.

    Regards.

  2. #2
    Join Date
    2020-Nov
    Posts
    1

    Edit kali.script file.

    Hey.

    I am not sure if this is still relevant to you, but it could be for someone else as well.
    I was digging through kali filesystem, because I wanted to achieve the same thing...and I found that kali uses plymouth which provides graphical boot process. Plymouth is using it's own scripting language that is similar to Javascript, so it's easy to read and understand.


    Solution:

    All you need to do is edit /usr/share/plymouth/themes/kali/kali.script file.
    [CODE]sudo nano /usr/share/plymouth/themes/kali/kali.script[/CO​DE]

    You need to be careful when editing this file, if you break the script it doesn't load at all and you will be stuck with a black screen after reboot. However, you are still able to enter the password and log in, which is good.

    I think the best way to remove kali logo and still keep the functionality is to comment out following lines in the kali.script file:

    Code:
    Line
    
      72  // showKaliLogo();
     ...
    
     119  // showKaliLogo();
     ...
    
     132  // container.sprite.SetOpacity(1);
    
     133  // outline.sprite.SetOpacity(1);
     ...
    
     156  // Plymouth.SetBootProgressFunction(bootProgressCallback);
    
    Function in line 72 and 119 shows the kali logo while entering decryption password and rest of the lines shows the logo during initial boot, when password was successfully entered.

    After any change to the file we need to apply changes by generating new boot file with the command:
    Code:
    sudo plymouth-set-default-theme -R kali
    I hope this helps.

Similar Threads

  1. Replies: 3
    Last Post: 2019-11-19, 04:09
  2. Change Kali Login Background on Gnome 3.20.2
    By razorspells in forum How-To Archive
    Replies: 8
    Last Post: 2018-02-11, 08:34
  3. Replies: 2
    Last Post: 2017-02-23, 01:41
  4. How to fix kali which only showing desktop-background image and icons
    By tlmyasirs in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2016-04-08, 01:23

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •