How to remove dummy icons appearing in shared folder in virtual box Guest OS

Asked by S.S.Mani

After my initial learning phase with Kubuntu, I decided to install Kubuntu again as a virtual system in windows 7 using virtual box.

I did everything successfully, of course struggling in my way, referring to many posts here and there and succeeded ultimately up to Guest addition.

However after that I struggled for 2 days in making shared folders work.

In the bargain a lot of icons of all my 'attempted' shared folders by name started appearing with the prefix of 'sf' and subsequently without sf, but nothing opened.

At last I learnt to put a new folder named windows-share with an additional command after specifying the name of the folder.
shared, as found in one site.

Now everything is working, and today I even went to the extent of installing the latest release of Libre offfice in the VM!

HOWEVER, the non working icons still remain inside the folder media under root, where all shared folder are appearing by default.

How do I remove them?

Thanks in advance.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu ubiquity Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
S.S.Mani (airomatic) said :
#1

Correction a para above:

At last I learnt to put a new folder named windows-share, with an additional command after that specifying the name of the shared folder, as advised in one site.

Revision history for this message
Manfred Hampl (m-hampl) said :
#2

What is the output of the terminal commands

uname -a
lsb_release -a
groups
ls -l /media

Revision history for this message
S.S.Mani (airomatic) said :
#3

The command and the outputs are

uname -a

LinuxVirtualKubuntu 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:12 UTC 2014 i686 i686 i686 GNU/Linux

lsb_release -a

No LSB modules are available
Distributor ID: Ubuntu
Description:Ubuntu 14.04.1 LTS
Release 14.04
Codename: trusty

Groups

mani adm cdrom sudo dip plugdev lpadmin sambashare vboxsf

ls -l /media

total 28
drwxr-xr-x 2 root root 4096 Aug 3 10:12 Documents
drwxr-x---+ 2 root root 4096 Aug 3 07:40 mani
drwxrwx--- 2 root vboxsf 4096 Aug 3 08:29 sf_Documents
drwxrwx--- 2 root vboxsf 4096 Aug 3 10:22 sf_Downloads
drwxrwx--- 1 root vboxsf 4096 Aug 3 21:16 sk_Kubuntu
drwxrwx--- 1 root vboxsf 0 Apr 1 13:57 sf_Library
drwxrwx--- 2 root vboxsf 4096 Aug 3 11:30 sf_Retrofit_Campaign
drwxr-xr-x 2 root root 4090 Aug 4 10:32 windows-share

(The last word alone in all the lines appear in colour)

Hope the above output is correct, AS I HAD TO TYPE ALL, SINCE THIS KONSOLE, UNLIKE ONE A PHYSICAL MACHINE IS NOT ALLOWING ME TO CUT/PASTE EITHER WAY!

Out of the above, Library and Kubuntu folders open showing the contents etc.
Nothing else shows any data inside, but on clicking them it does not give any error message. Simply opens blank.

If any more data is needed please advise me.

Thanks for your time and efforts

Mani

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of Manfred Hampl
Sent: 04 August 2014 19:07
To: <email address hidden>
Subject: Re: [Question #252593]: How to remove dummy icons appearing in shared folder in virtual box Guest OS

Your question #252593 on ubiquity in Ubuntu changed:
https://answers.launchpad.net/ubuntu/+source/ubiquity/+question/252593

    Status: Open => Needs information

Manfred Hampl requested more information:
What is the output of the terminal commands

uname -a
lsb_release -a
groups
ls -l /media

--
To answer this request for more information, you can either reply to this email or enter your reply at the following page:
https://answers.launchpad.net/ubuntu/+source/ubiquity/+question/252593

You received this question notification because you asked the question.

Revision history for this message
Best Manfred Hampl (m-hampl) said :
#4

1. To be able to copy/paste between the host OS and the guest OS you have to enable that function in the VM settings

2. If the directories in /media that you want to get rid of are empty, and no device is mounted on them, you should be able to just delete them.
Most probably you need administrative rights to do that, so I guess terminal commands like

sudo rmdir -v /media/sf_Downloads

should do that.

Revision history for this message
S.S.Mani (airomatic) said :
#5

Thank you Manfred Hampl. That solved my present problem.

I am experiencing a few more. I will post that seperately, if I am unable to find solution myslf.

Thanks once again

Revision history for this message
S.S.Mani (airomatic) said :
#6

Thanks Manfred Hampl, that solved my question.