Categories
Kali Linux Tutorial Kali Linux VBox Parrot Security Tutorial

Share Files Between Host to Guest in VMWare

  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.

   They all are want to share the files between Host (Windows) to Guest (Linux). So this post was prepared for show you how share the files between them.

Steps:

  • Check IP Connection
  • Check Shared Files
  • Manage Sharing Settings
  • Create Shared Folder
  • Check Shared Folder
  • Add Shared Folder to Guest
  • Shared Folder Location

Step 1: Check IP Connection

First of all check the Guest IP was connected to the Host or Not.

In Guest OS (Linux) open a terminal and run the following command.

mk007@linuxlia:$ ifconfig

Here note your Guest IP Address.

In Host OS (Windows) open a command prompt and run the following command.

C:\Users\MK007> ipconfig

Check that your Guest OS (Linux) IP address was shown in the command prompt.

It means they are interconnected.

Step 2: Check Shared Files

Check any shared files are available in your Host or not. In Host OS (Windows) run the following command in command prompt.

C:\Users\MK007> net share

It shows no shared files between them. So first of all you need to create shared folder between them.

Step 3: Manage Sharing Settings

Before creating the shared folder enable the following options in your host OS.

Manage advanced sharing settings > Change sharing option for different network profiles > Private

Manage advanced sharing settings > Change sharing option for different network profiles > Guest

Manage advanced sharing settings > Change sharing option for different network profiles > All Networks

Step 4: Create Shared Folder

In Host OS create new folder and customize there settings towards sharing type.

New folder > Properties > Sharing > Advanced Sharing

Here enable “Share this Folder” option.

New folder > Properties > Sharing > Advanced Sharing > Permissions

Save the changes and close the tab.

Now customize security settings of the folder.

New folder > Properties > Security > Edit

Security > Edit > Add

Here add ‘everyone’ group and give full control access.

save the change and close the tab. Finally the shared folder is created in Host.

Step 5: Check Shared Folder

Now check the shared folder is created or not. Follow the same steps instructed in Step 2.

Finally Shared folder was successfully created .

Step 6: Add Shared Folder to Guest

Add the shared folder to the Guest OS.

Follow the steps:

The shared folder was successfully connected to the Guest OS.

Step 7: Shared Folder Location

Shared Folder location in Guest OS.

File System > mnt > hgfc > SharedFiles

Use this folder for sharing files between Guest to Host. This folder containing files are accessible to both OS.

If you want to know about any other VMWare stuffs, then visit this Category.

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 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.