Categories
Debugging Kali Linux Tutorial

How to Install Alien in Kali Linux

Hi Geeks,

This post was prepared for guide you how to resolve the following error and how to install Alien file converter in Kali Linux. The steps followed in this post is also same to all other Debian distributions.

package build failed. here's the log:
dh
dh: error:specify sequence to run
make:***[debian/rules:7:binary]Error 25

Most of the peoples are encountered by this error,  during ZenMap installation.

Why this error occurs?

If you install alien via apt command, then the following error was occurs. So, first of all you need to remove this alien and install it in my method.

Resolving Steps:

  • Remove Alien
  • Download Alien Debian Packages

Remove Alien:

Run the following command for removing the packages installed via apt command.

mk007@linuxlia:$ sudo apt-get autoremove alien

Download Alien Debian Packages:

Download Alien deb packages in this site.

In terminal switch the directory to where was the debian packages are located.

mk007@linuxlia:$ cd Downloads

Here run the following command,

mk007@linuxlia:/Downloads$ sudo dpkg -i alien.deb

Alien:

Alien is a tool, used for converting various file formats in Linux. Mainly its used for converting Debian (.deb) packages to RPM packages.

What is RPM Files?

RPM means RedHat Package Manager. RPM packages are containing arbitrary set of files.

What is DEB Files?

Deb is a abbreviation of Debian Packages, as opposed to source package.

File Conversion:

In this post I will teach you how to convert the following formats.

  • RPM to DEB
  • DEB to RPM

RPM to DEB:

If you want to convert rpm packages to deb, then run the command in below format.

mk007@linuxlia:$ sudo alien package_name.rpm

The generated Debian package ownership was under root. You need to change the ownership of the file before you use it. Run the following command for changing ownership.

mk007@linuxlia:$ sudo chown -v 'username' genarated_package_name.deb

 

DEB to RPM:

For converting Debian packages to rpm, run the command in below format.

mk007@linuxlia:$ sudo alien -r package_name.deb

The generated RPM package ownership is under root. Run the following command for changing the ownership of the file.

mk007@linuxlia:$ sudo chown -v 'username' genarated_package_name.rpm

 

Conclusion:

If you have any doubts about this post please leave a comment otherwise ping me in Instagram. Am ready to solve your doubts.

Categories
Debugging Kali Linux VBox Parrot Security Tutorial

Black Screen With Blinking Cursor

   Every Linux lovers have some small amount of love towards Windows. Like that, every Windows lovers have small minimum amount of love towards Linux Distributions. So the windows users are want to experience the Linux. For that they choose to dual boot it with there existing OS, otherwise installing it in VMWare or Virtual Machines. Not only this users, some Linux geeks also installing Linux in VMWare or VirtualBox due to some specifications.

   But here all the users are facing the most popular VMWare error. It makes them more disappointed and decrease the interest towards Linux. That error is “Black Screen With Blinking Cursor”.

So this post was prepared for show you how to resolve this error and avoid to reinstalling Linux.

Why this error occurs?

   The black screen occurs due to corruption of  VMWare Files. During running Guest OS (Linux) in VMWare , all the Linux files are opened and ready to moderate. If you shutdown your Guest OS during some process are running in background. It leads to file corruption. This is the reason for this error.

Solution:

You need to configure the corrupted VMWare packages manually.

In VMWare, open the Guest OS (Linux)

In login screen choose ‘Advanced Options for Linux/GNU’.

Now it switch your screen to new menu. Here choose the second option named ‘Linux/GNU, with 6.6.5. (Recovery Mode)’.

After choosing the recovery mode, the following screen was opened.

Here enter “Root Password” for authentication and press Ctrl+D for Continue. Now the terminal was opened.

In terminal, run the following command for configuring corrupted VMWare Packages.

root@linux:$ dpkg --configure -a

After the complete configuration, manually restart VMWare.

Alright, now the Guest was started to boot without errors.

Hope this post brings your smile back 🙂

If you have any doubts about Parrot Security booting in VMWare. Then read this Article.

Conclusion:

    If you have any doubts about this post please leave a comment otherwise ping me in Instagram. Am ready to solve your doubts.

Categories
Debugging Kali Linux Tutorial

Grub Boot loader Not showing in Dual Boot

How to Repair Grub Boot Load Error in Dual Boot

Hi Geeks,

    If you was dual booted Kali Linux with Windows 10 in UEFI BOIS Mode. The booting process of UEFI is completely different from Legacy BIOS. Do you find that Kali Linux is missing from boot menu options?.  If your system directly booted to Windows 10.

    This is what happened to me. The same thing happened to you? Yes, You have come to the right place. The steps followed in this post is same to all other Debian distributions

Why this error occurred?

    This error was occurred when the grub loader was not installed perfectly in your Linux distro. So you want to install the grub boot loader manually. When some people encounter this error they immediately think it is a big error and start to reboot.

    But here no need for rebooting your Linux distro.

Solution for Grub Boot Load Error:

    First of all you want to open Kali Linux for downloading the missed packages. Use Live USB stick or enter Kali Linux via Boot Menu (Turn on the system and press the boot key for entering boot menu. Here choose Kali Linux).

    Here you want to install the missed packages of grub boot loader. Now open a Terminal and run the following commands for installing Grub boot loader.

mk007@linuxlia:$ sudo mount /dev/sda* /mnt
mk007@linuxlia:$ sudo grub-install /dev/sda
mk007@linuxlia:$ update-grub

    After the complete installation of grub boot loader, shutdown your system and remove the USB stick carefully. Again turn on the system for checking the boot loader was installed or not. If it installed, then you can use the Kali Linux as usual. Otherwise you want to dual boot kali Linux again.

    We also have a tutorial about Kali Linux Dual Booting. Check it out.

       After the successful installation of Kali Linux. Learn something about Penetration Testing.

Conclusion:

    If you have any doubts about this post please leave a comment otherwise ping me in Instagram. Am ready to solve your doubts.

Categories
Debugging Python

UnicodeDecodeError: E: sub process returned an error code

How to fix ‘UnicodeDecodeError’ in Linux

Hi Geeks,

In this post, am going to show you how to solve the following error in Kali Linux. The steps followed in this post is same to all Debian Linux distributions. Read the whole blog for better understanding.

E: problem executing scripts APT::update:post-invoke-success
file /usr/share/commnd-not-found/CommandNorFound/db/creator.py
UnicodeDecodeError: 'utf-8' code can't decode byte 0xed in position 15: Invalid continuation byte
E: sub process returned an error code

Why this error Occurred ?

 When I ran any commends in Linux terminal the following error message was showed. It is a python DPKG error. In your system any python packages are missing, then you was encountered by this error. During executing python, you was encountered by this error. Then no problem.

But it shows the message all the time. Even update commend also encountered by this error. But it doesn’t stop the process of the commend. Only shows the useless error message. But it makes you feel annoying. So you want to debug this error.

E: problem executing scripts APT::update:post-invoke-success 
file /usr/share/commnd-not-found/CommandNorFound/db/creator.py 
UnicodeDecodeError: 'utf-8' code can't decode byte 0xed in position 15: Invalid continuation byte 
E: sub process returned an error code

Solution for UnicodeDecodeError:

In your system you want to install the missed python packages. No need for installing the missed packages manually. Simply update and upgrade your system. Finally reboot it. During this process all the missed python packages are automatically installed.

Open a terminal and run the following commends,

mk007@linuxlia:~$ sudo apt-get update
mk007@linuxlia:~$ sudo apt-get dist-upgrade
mk007@linuxlia:`$ sudo reboot

Some other Python Bugs:

pip: command not found error in Kali Linux

https://linuxlia.com/2021/01/30/import-error-no-module-named/

‘Python 2.7 End of life’- What happened to Python 2.7?

Python & Debugging Tutorial

Pychram Tutorial

If you want to learn about PyCharm and software development. Then this is for you geeks.

Conclusion:

If you have any doubts about this post please leave a comment otherwise ping me in Instagram. Am ready to solve your doubts.

Categories
Debugging Penetration Testing

Was not possible to install The Packages Labeled (Not Ok)

How to Install FatRat in Kali Linux 2021

Hi Geeks,

This post was prepared for guide you how to solve  “Was not possible to install The Packages Labeled (Not Ok) in this list above” error and how to install Fatrat without error. Follow the steps carefully for perfect installation.

This error was occurred during Fatrat Installation. When I run run the set up command, the command was encountered by the “Was not possible to install The Packages Labeled (Not Ok) error.

mk007@linuxlia:~ /TheFatRat $ sudo ./setup.sh
Reading Packages list.... Done
Was not possible to install The Packages Labeled (Not Ok) in this list above.
Try : (apt-get remove --purge <package name> && apt-get autoremove && apt-get install -f
before running fatrat script again.

Don’t waste your time in running the APT commands mentioned in that error message. Because that commands also encountered by the same error.

Content:

  • Why this error occurred?
  • How to Fix the Error ?
  • Old SANA Repsitory
  • How to add Repositories to source list
  • Update your System
  • Fatrat Installation

Why this error occurred ?

This error was occurred, due to repositories. Because our systems default or APT repositories don’t have permission to access those packages. Fatrat packages are listed in Old Sana Repositories. So first of all you want to add it to your system.

How to Fix this Error ?

If you need all the old and new packages of Kali Linux. Get all the packages of Kali Rolling from Kali SANA 2.0.

Old SANA 2.0 Repository:

Copy the below codes and paste them in sources list and update the system.

deb http://old.kali.org/kali sana main non-free contrib 
# For source package access, uncomment the following line 
deb-src http://old.kali.org/kali sana main non-free contrib

How to add repositories to Source list?

  • You want to add the repositories to the source list.
  • Open a terminal and type the following command.
mk007@linuxlia:~$ sudo nano /etc/apt/sources.list
  • Paste the copied repositories and save it.
  • Ctrl+O for saving. Ctrl+X for exit.

Update your system:

After adding repositories to the source list, update your system.

mk007@linuxlia:~$ sudo apt-get update
mk007@linuxlia:~$ sudo apt-get dist-upgrade

Fatrat Installation:

After updating the repositories, your system was able to access Fatrat Packages.

Open a terminal and switch the directory to FatRat.

mk007@linuxlia:~ cd TheFatRat

Here run the following command for installing the packages,

mk007@linuxlia:~ /TheFatRat $ sudo ./setup.sh

Press ‘Y’ and hit enter.

Finally the packages are started to downloading.

After the successful installation of FatRat. Learn something about Penetration Testing.

Conclusion:

If you have any doubts about this post please leave a comment otherwise ping me in Instagram. Am ready to solve your doubts.

Categories
Debugging Kali Linux Tutorial Penetration Testing

Failed to Execute Default Web Browser | BeEF-XSS

How to Install BeEF-XSS in Kali Linux 2021

Hi Geeks,

During BeEF-XSS  installation most of the users are encountered by this error “Failed to execute Default web browser”. So this post was prepared for guiding you how to fix this error and how to install BeEF-XSS properly.

Failed to execute default web browser

Content:

  • What is BeEF-XSS?
  • Why this error occurred?
  • Remove the Packages (Downloaded via APT Command)
  • Install BeEF-XSS (Proper Method)

Why this error occurred?

If you tried to install BeEF using APT commend. Then you was encountered by this error (Failed to Execute Default Web Browser). Via APT command you doesn’t able to install or download all the packages of BeEF-XSS. So this is the only reason why this error was occurred.

Remove the Packages:

So, first of all you want to remove the packages downloaded via APT command. Open a terminal and run the following commands for removing the packages..

mk007@linuxlia:~$ sudo apt-get autoremove beef
mk007@linuxlia:~$ sudo apt-get autoremove beef-xss

What is BeEF?

BeEF is short for The Browser Exploitation Framework. It is a penetration testing tool that focuses on the web browser.

Install Beef-XSS (Proper method)

Stpes:

  • Clone Git Packages
  • Set up BeEF-XSS
  • Change Default Username and Password
  • Execute BeEF-XSS

Clone Git Packages:

The proper way to installing BeEF-XSS is using Git.

Open a terminal and run the following command for download Git packages of BeEF-XSS.

mk007@linuxlia:~$ git clone https://github.com/beefproject/beef.git

Set up BeEF-XSS:

Now switch the directory to cloned directory.

Here run the following command for installing BeEF-XSS packages.

mk007@linuxlia:~$ sudo ./install

Press ‘Y’ for and hit enter for downloading packages. Downloading speed is dependent on your system’s network speed.

Now all the packages are installed successfully. But RubyGem was missing.

Run the following command for installing RubyGem,

mk007@linuxlia:~$ bundle install

Alright, It’s the time to executing BeEF.

Run the following command for executing BeEF-XSS.

mk007@linuxlia:~$ sudo ./beef

Change Default Username and Password:

Before executing BeEF-XSS, you want to change the default username and password in config.yaml.

In terminal run the following command,

mk007@linuxlia:~$ sudo nano config.yaml

In this file change the default username and password of BeEF-XSS and save it.

Press Ctrl+O for saving the file and Press Ctrl+X for exit.

Execute BeEF-XSS:

Finally, its time to execute BeEF-XSS.

Open a terminal and switch the directory to BeEF-XSS and run the following command.

mk007@linuxlia:~$ cd beef
mk007@linuxlia:~ /beef $ sudo ./beef

Copy the UI URL and open it in your web browser.

Here enter the username and password you changed in config.yaml file.

After the successful installation of BeEF-XSS. Learn something about Penetration Testing.

Conclusion:

If you have any doubts about this post please leave a comment otherwise ping me in Instagram. Am ready to solve your doubts.

Categories
Debugging Kali Linux Tutorial

How to reset Xfce4 panel settings in Kali Linux

Reset Xfce4 Panel Settings to Default in Linux

Hi Geeks,

This post was prepared for guiding you how to reset xfce4 panel or top panel settings to default settings in Kali Linux. This method is working well in Xfce desktop environment.

Xfce4:

The Xfce Panel is part of the Xfce Desktop Environment and features application launchers, panel menus, a workspace switcher and more. Many aspects of the panel can be configured through the GUI , but also by GTK+ style properties and hidden Xfconf settings.

Reset Xfce4 panel:

Steps:

  • Shut Down Xfce4 Panel
  • Kill Xfce4 Configuration
  • Delete Panel Settings
  • Delete xfconfd Settings
  • Restart the Panel

Shut Down Panel:

Before reset, first shut down the xfce4 panel.

Open a terminal and run the following command for panel shut down,

mk007@linuxlia:~$ sudo xfce4-panel --quit

Kill Xfce4 Configuration:

Next kill the xfce4 configuration daemon by running the follwoing command,

mk007@linuxlia:~$ sudo pkill xfconfd

Delete Panel Settings:

Now delete the panel settings by the following command.

mk007@linuxlia:~$ sudo rm -rf ~/.config/xfce4/panel

Delete xfconfd Settings:

In this final step, clear out the xfconfd settings.

Open a terminal and run the following command.

mk007@linuxlia:~$ sudo rm -rf ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml

Finally the xfce4 panel settings changed to the default system settings.

Restart Panel:

After the reset, you want to restart xfce4 panel manually. Otherwise it doesn’t appear in top of the display.

So run the following command for restarting it.

mk007@linuxlia:~$ sudo xfce4-panel

Alright, now the xfce4 panel settings was changed to default system settings.

Finally inner peace.

 

GDBUS Error:

For some unlucky geeks, during the process they are encountered by the following error,

GDBus:Error:org.freedesktop.DBus| Failed to show the preferences dialogue

For resolving this error,you want to delete the cache.

open a terminal and run the following commands for deleting the cache files.

First switch the directory to Desktop.

mk007@linuxlia:~$ cd Desktop

Now run the following command for  clearing the caches.

mk007@linuxlia:~$ sudo rm -rf ~/.cache/sessions

Conclusion:

If you have any doubts about this post please leave a comment otherwise ping me in Instagram. Am ready to solve your doubts.

Categories
Debugging

Updating from such a repository can’t be done securely.

N: Updating from such a repository can’t be done securely, and is therefore disabled by default.

N: See apt-secure (8) manpage for repository creation and user configuration details.

Hi Geeks,

This post was prepared for guiding you how to resolve the following error in Kali Linux. The steps followed in this post is also similar to other debian Linux distributions.

W: GPG error: http://www.deb-multimedia.org jessie InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 5C808C2B65558117
E: The repository 'http://www.deb-multimedia.org jessie InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Content:

  • Why this error occurs?
  • What is repositories?
  • Solution
  • Add Official Repositories?

Why this error occurs?

All the Linux distros have separated repositories. The system was connected to there rolling distributions via repositories. Each repositories are have separate job or access. Via this repositories you able to access your Linux distributions packages.

If you want to access Kali Linux packages then you want to use its official repositories. Like that all other distributions have separated repositories.

At the same time Kali Linux repositories are not working in ubuntu, parrot,…. and Ubuntu repositories are doesn’t working in Kali Linux, parrot security, blackhat,…

Mistakenly you added some other repositories in your Linux system, then you was encountered by “updating from such a repository” error.

What is Repositories ?

Repository –  “A place where things or packages are stored”.

Solution:

For resolving this error you want to remove that wrong repositories from your source list.

Open a terminal  and run the following command for removing that wrong repositories.

mk007@linuxlia:~$ sudo add-apt-repository --remove "That wrong repository"

Alright, now the repository was removed successfully. Finally update and upgrade your system. It helps to reconnect your system to the rolling repositories.

mk007@linuxlia:~$ sudo apt-get update
mk007@linuxlia:~$ sudo apt-get dist-upgrade

In case, unfortunately you encountered by the following error then visit this blog post.

 Errors were encountered while processing:
 E:Subprocess/usr/bin/dpkg returned an error code(1)

Add Official Repositories?

You must want to add the official repositories of Kali Linux in your system. The following guide helps you.

All Repositories for Kali Linux ( APT, Sana and Network Mirrors)

Conclusion:

If you have any doubts about this post please leave a comment otherwise ping me in Instagram. Am ready to solve your doubts.

Categories
Debugging

Errors were encountered while processing:

Errors were encountered while processing: 

E:Subprocess/usr/bin/dpkg returned an error code(1)

Hi Geeks,

In this post I give the solution for the following bug in Kali Linux. The steps to solve this bug is same to all other Debian Linux distributions.

Why this error occurred ?

During using apt commend I was encountered by the following error (Errors were encountered while processing). Its a dpkg error. This error was occurred due to missing of some Debian packages.

 Errors were encountered while processing:
 E:Subprocess/usr/bin/dpkg returned an error code(1)

What I did ?

I run the upgrade command in my terminal. Now, I was encountered by the following error.

E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

First fix the broken installed packages. For that run the below command in terminal,

mk007@linuxlia:~$ sudo apt --fix-broken install

Here press ‘Y’ for downloading the missed packages.

Only now does the problem begin.

Solution:

Try to remove that mentioned broken packages otherwise install it completely.

I will force to remove that files via the following dpkg file.

mk007@linuxlia:~$ sudo dpkg -i --force-all 'Package Name'

 Alright, now all the broken dpkg packages are successfully removed. Finally upgrade your system.

mk007@linuxlia:~$ sudo apt-get update
mk007@linuxlia:~$ sudo apt-get dist-upgrade

Conclusion:

If you have any doubts about this post please leave a comment otherwise ping me in Instagram. Am ready to solve your doubts.

Categories
Debugging

Xsession: warning: unable to write to /tmp; exit with an error code

Xsession: warning: unable to write to /tmp; X session may exit with an error.

Hi Geeks,

In this post I give the solution for the xsession warning error in Linux. The steps followed in this post is same to all Linux distributions.

Why this error occurs ?

This error occurs when your tmp directory have not enough space to run the system. In Linux, when you turn on your machine, some important packages are running automatically and creating some temporary files in tmp directory for running.

This files are automatically removed when you close your system. But sometimes it lags because of any malfunction you did in packages. So tmp directory was not able to run the files when you open a system.

So the following error was occurred, when you open your system.

Xsession: warning: unable to write to /tmp: Xsession may exit with an error

After clicking OK I get thrown back to the login screen. Logging in through the console and trying ‘startx’ gives the same thing, only I don’t get a cursor to click the okay button and have to press the power button to reboot.

Solution:

This error making hyper tension for every Linux users. Because this error was occurred in login screen, so you doesn’t able to access your terminal. This is the only reason to making this error complicated.

Fortunately, you will able to access your terminal then only follow this post.

Unfortunately, doesn’t able to access a terminal then go this blog post,

Xsession: Warning: 

Content:

  1. Delete tmp files
  2. Reboot your system

Delete tmp files:

First check the storage usage in your system.

Open a terminal and run the following command.

mk007@linuxlia:~$ df -H

You will notice, in my system tmp directory was full. First of all clear this.

Open a terminal and type the following commend for deleting temporary files in your system.

mk007@linuxlia:~$ sudo mount
mk007@linuxlia:~$ df /
mk007@linuxlia:~$ sudo tune2fs -c 1 /dev/sdb1

Alright now all the laggy temporary files are removed.

Reboot your system:

Finally reboot your system. In my system the login screen was opened.

Finally Inner peace.

Conclusion:

If you have any doubts about this post please leave a comment otherwise ping me in Instagram. Am ready to solve your doubts.

Categories
Debugging

Xsession: warning: unable to write to /tmp; exit with an error code

Xsession: warning: unable to write to /tmp; X session may exit with an error.

Hi Geeks,

In this post I give the solution for the xsession warning error in Linux. The steps followed in this post is same to all Linux distributions.

Why this error occurs ?

This error occurs when your tmp directory have not enough space to run the system. In Linux, when you turn on your machine, some important packages are running automatically and creating some temporary files in tmp directory for running.

This files are automatically removed when you close your system. But sometimes it lags because of any malfunction you did in packages. So tmp directory was not able to run the files when you open a system.

So the following error was occurred, when you open your system.

Xsession: warning: unable to write to /tmp: Xsession may exit with an error

  After clicking OK I get thrown back to the login screen. Logging in through the console and trying ‘startx’ gives the same thing, only I don’t get a cursor to click the okay button and have to press the power button to reboot.

Solution:

This error making hyper tension for every Linux users. Because this error was occurred in login screen, so you doesn’t able to access your terminal. This is the only reason to making this error complicated.

Fortunately, you will able to access your terminal then go this post,

Xsession: Warinig:

Unfortunately, you doesn’t able to run your terminal then only follow this post.

You need to delete that laggy temporary files in tmp directory for running your system. So make any bootable live usb and insert it in your system. I am using Linux mint for doing this.  Right now you able access the terminal.

Content:

  1. Make Bootable Linux Mint USB
  2. Run Linux Mint
  3. Delete tmp files
  4. Reboot your system

Make Bootable Linux Mint USB:

Am already posted a video about How to boot Linux mint in USB in YouTube.

See this video and make a bootable lLinux mint USB.

Run Linux Mint:

Now insert the USB in your system. And run mint in Live mood.

Delete tmp Files:

  Right now, you able to open a terminal. So run the following commands for deleting temporary files.

  First check the storage usage of your system.

Open a terminal and run the following command.

mk007@linuxlia:~$ df -H

You will notice, in my system tmp directory was full. First of all clear this.

  Run the following command for removing tmp files.

mk007@linuxlia:~$ sudo rm -rf /tmp/*

  Also remove the files in var/tmp directory. Change the location to /var/tmp in terminal.

mk007@linuxlia:~@ cd /var/tmp
mk007@linuxlia: /var/tmp$ ls

  Run the following command for removing this files.

mk007@linuxlia:~$ sudo rm -rf /var/tmp/*

Alright, now all the lagy temporary files are removed successfully. Once again check your storage usage.

mk007@linuxlia:~$ df -H

Reboot the system:

Finally reboot your system. In my system the login screen was opened.

Conclusion:

If you have any doubts about this post please leave a comment otherwise ping me in Instagram. Am ready to solve your doubts.

Categories
Customize Desktop Environment Debugging

Failed to add Plugin to the panel in Gnome Desktop

GDBus.Error:org.freedesktop.DBus.Error

Hi Geeks,

This post was prepared for guide you how to resolve “Failed to add Plugin to the panel” error and how to add custom installed software icon in Gnome Desktop. The steps followed in this post is also similar to other Debian distributions.

Failed to add plugin to the panel
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown:
The name org.xfce.Panel was not provided by any.sevice
files

Content:

  • Why this error occurs?
  • Solution

Why this error occurs ?

During installing Tor Browser in my Kali (Gnome Desktop), I was encountered by the following error.

  This error was occurred due to gnome panel. In XFCE4 Desktop during installing Tor, am doesn’t face any errors. In gnome’s new version the permission of the panel was completely changed. So you don’t have permission to add any third party icons to the panel. so you was failed to add plugin or icon to the panel.

Solution:

You have two ways to resolve this bug,

  • You want to change the permission of gnome panel.
  • Otherwise register your app in your system’s default application list.

Changing permission of gnome panel is difficult. So, I prefer second option.

Register your Application:

Open a terminal and switch the directory to where the file was located.

Now type the following command for registration,

mk007@linuxlia:~# ./start-tor-browser.desktop --register app

Finally the app was successfully registered to the Kali Linux default App list. Now the application have the permission to adding it’s icon to the panel. So, it start to execute with out any errors.

After the complete execution the icon was successfully added to the gnome panel.

Another method:

In gnome desktop there is no inbuilt option for adding icons. So you want to add gnome extensions for adding icons to the desktop.

Gnome Extensions:

GNOME Shell Extensions is a collection of extensions providing additional and optional functionality to GNOME Shell.

Content:

  • Download and Add Gnome extensions in your browser.
  • Install Desktop icon Extension.

Read the full post here.

Conclusion:

If you have any doubts about this post please leave a comment otherwise ping me in Instagram. Am ready to solve your doubts.

Categories
Debugging Kali Linux VBox

VBoxclient: Failed to get display change request

VBoxclient: failed to register resizing support.

Hi Geeks,

This post was prepared for resolving the VBoxClient error in Kali Linux. The steps to solve VBoxClient problem is same to all other Debian distributions.

VBoxclient: failed to register resizing support. 
VBoxclient: Failed to get display change request.

Why this error occurs ?

I came across issues when installing VirtualBox guest additions. When I tried to install the VB guest additions for Linux, I got a message saying “Failed to register resizing support, rc=VERR_INVALID_FUNCTION”.
Is this because I’m attempting to resize an RC.

Solution:

You must want to reinstall the guest additions tools for resolving this.

Steps:

  • Run VBox
  • Insert guest addition CD image
  • Change permissions for VBox Guest additions
  • Install VBox Guest additions
  • Reboot the system
  • Eject guest addition CD image
  • Change Resolution
  • Turn on Full screen Mode

Run VBox:

Open your virtual machine and run the Kali Linux. Let’s Kali started to running in small screen. Like the following image,

And its started to loading Kali’s logo in Small Screen.

Now, the login page was opened. Here enter your username and password.

Only now does the problem begin, It started to showing the following error.

VBoxclient: failed to register resizing support.
VBoxclient: Failed to get display change request.

It’s ok. Now the system was opened in a small screen.

Insert guest addition CD image:

In virtual box panel, it shows some options like File, machine, view, input, devices and help.

Click that fifth option devices and choose the last one “Insert guest additions CD image “

 Check in my system, the ‘VBox guest additions CD image’ was inserted to Desktop directory.


Change permissions for VBox Guest additions:

First open a terminal and change the directory to guest additions (/media/cdrom0)

Home@linuxlia:~# cd /media/cdrom0

Now change the permission of VBoxLinuxAdditions.run to read only file system by running the following command.

mk007@linuxlia/media/cdrom0:~# chmod 755 VBoxLinuxAdditions.run

Alright now the permission of the file was changed. Right now you will able to install vbox guest additions tools.

Install VBox Guest additions:

Run the below command for downloading guest addition tools,

mk007@linuxlia/media/cdrom0:~# sh VBoxLinuxAdditions.run

Reboot the system:

After installing guest addition tools you must want tot restart your system.

Eject guest addition CD image:

After rebooting your system, you must want to eject that inserted CD image. Right click the cd image and eject it.

Alright, the guest addition tools are successfully installed. Next you want to change the display resolution.

Change resolution:

Open display settings in your system.

Here change the display’s resolution to your system’s maximum display resolution. My systems displays maximum resolution is 1360×768.

Turn on Full screen Mode:

Now turn on the full screen mode for enjoying the Kali in full screen.

In Virtual box top panel choose third option ‘view’. Here click full screen mode.

After the successful installation Kali Linux, Learn some thing about Pentesting.

Conclusion:

If you have any doubts about this post please leave a comment otherwise ping me in Instagram. Am ready to solve your doubts.

Categories
Debugging

How to delete permission denied files in Kali Linux

Could not delete lock files (Permission Denied)

Hi Geeks,

This post was prepared for show you how to delete permission denied files in Kali Linux. The steps to solve this problem is same to all other Debian Distributions.

Why this error was occurred ?

This happens because you don’t own the directory or the directory is owned by root. So to delete it you can either change the ownership and then delete it otherwise get the superuser access.

SuperUser (or) RootUser:

In Linux, the superuser is a special user account used for system administration. Depending on Linux operating system, the actual name of this account might be root.

Only in root account you was able to make changes in default system packages.

What is SuperUser Permission (or) Grant Root Access:

In User Account you don’t have permission to make changes in system default packages. But you want to make changes, then every time you need to type SUDO SU for getting permission or root access. It was the annoying one for lot of users.

If you want to avoid to type SUDO SU every time. Then set up Grant Root Access in your user account. Follow the below steps for Grant Root Access.

Solution:

  •  Locate that permission denied file
  •  Change the ownership
  • Delete the file

Step 1: Locate that permission denied file

First of all, you need to change the ownership of the file which you want to delete. Open a terminal and switch the directory to where was the file located. In my case the file was located in Desktop directory. So the command is,

mk007@linuxlia:~$ cd Desktop
mk007@linuxlia:~$ ls

Now, it shows the files that are located in the directory.

Step 2: Change the ownership

Chown command is used for changing the ownership of the file.

mk007@linuxlia:~$ sudo chown -v 'username' 'filename'

 

Now the ownership of that  file or directory was successfully changed.

Step 3: Delete the file

Right click that file, now you can see the delete option in the menu.

Alright, now that file was successfully deleted.

Conclusion:

If you have any doubts about this post please leave a comment otherwise ping me in Instagram. Am ready to solve your doubts.