Ubuntu Servers :: Connecting To A Shared Folder - From The Terminal On Guest?
Feb 11, 2010
I have Ubuntu karmic as my host OS and Ubuntu Server as a guest on Virtualbox. I have set a folder on my host as shared with the guest, but how can i connect to it from the terminal on my guest? I am also using webmin as i was trying to stay away from install a desktop
View 1 Replies
ADVERTISEMENT
Mar 4, 2010
OpenSUSE installed in a Virtualbox Virtual Machine and I want to set a shared folder.
1 - Set up a Virtual Machine and install OpenSUSE 11.2
2 - Create a shared folder on host (HostFolder)
3 - Setup the shared folder in Virtualbox Via the Virtual Machine details or via Devices > Shared Folders...
4 - Install dependencies for running the Virtualbox installer You need to install the right development kernelpackage for your machinetype (use 'zypper search -i kernel' to see what's installed) sudo zypper make gcc kernel-source kernel-hosttype/default-devel
5 - Run the Virtual Machine and go to Devices > Guest Additions This mounts an iso image in your OpenSUSE guest.
6 - Open a root terminal and run
cd /usr/src/linux
make oldconfig && make prepare && make scripts && make dep
cp ../linux-obj/$HOSTTYPE/default/Module.symvers .
make prepare
* A commenter on previously mentioned thread says this step is unnecessary but it doesn't work without on my system. I suggest trying step 7 first and returning to step 6 if that fails. *
7 - Run ./VirtualboxLinux yourhosttype .run from the mounted iso image.
8 - Create shared folder in OpenSUSE (GuestFolder)
9 - Test with sudo mount -t vboxsf HostFolder /home/user/GuestFolder It works? Great! Let's set up the system so it automounts for your regular useraccount instead of root-only access.
10 - Add this line to /etc/fstab HostFolder /home/user/GuestFolder vboxsf defaults,uid=1000,gid=1000 0 0
11 - It works for me but if it still doesn't automount after a reboot; sudo mount -a
View 1 Replies
View Related
Dec 3, 2010
I'm a Windows person and will soon be tasked with UNIX/LINUX projects. I'm trying to learn as much as possible in a very short period of time. I'm very familiar with VMPlayer and VirtualBox. Recently I installed OpenSUSE 11.3 as a guest OS on VMPlayer (bridged network). The host is WinXP. I have also enabled shared folder to the host @ CRepositoryInstalls. Question - How do I access the shared folder from OpenSUSE (the guest OS) and vice-versa?
View 2 Replies
View Related
Aug 31, 2010
I am attempting to make a shared folder for people that VPN into the network. This folder needs to be accessible to windows and mac machines. So far I have the VPN through ppptd working. I just don't know how to make a folder. I feel like this should be fairly easy. I am using Lucid Lynx server edition.
View 1 Replies
View Related
Mar 19, 2010
I am using putty(Windows XP) to connect to one of my remote ubuntu machine. I want to create a shared folder on that machine. Please help how to create a shared folder using terminal.
View 3 Replies
View Related
Nov 28, 2010
How do I set up a server to where it does not give a password prompt to access a shared folder?
View 1 Replies
View Related
May 11, 2010
I'm trying to install the Guest Additions for a VM running a guest Lucid Lynx Server. The problem I'm encountering is this: The vboxadd-install.log for vbox says it "couldn't find the sources of your current Linux kernel" and to "Specify KERN_DIR=<directory> and run Make again."
View 4 Replies
View Related
Aug 13, 2010
I have two partitions: one for Ubuntu 64-bit and another one with the format NTFS only for keeping documents. I have shared one folder of this NTFS partition, but every time I reboot the PC (or shutdown and start again for that matter) the folder is no longer shared.Why?How can I prevent this folder to be un-shared when I reboot the computer?
View 3 Replies
View Related
May 26, 2010
- I have ubuntu installed, and win7 is installed using vbox.
- I know how to set shared folder, so win7 can access the folder in ubuntu.
- I need to have an access to certain folder in win7 from ubuntu.
How can I do that?It is not about samba, right?
View 5 Replies
View Related
May 13, 2010
I wanted to enable file sharing in for one of my folders under the home directory. I noticed that the 'not shared' and 'shared' always defaulted back to 'not shared'. And now I see what looks like an electrical plug icon symbol over the folder icon symbol like I might see used for some of the root folders. What does the new icon indicate about the folder attributes and why does file sharing default to 'not shared'?
View 1 Replies
View Related
Dec 28, 2010
I have installed VMWare on XP(host) and installed Ubuntu 10.10 Guest on VMWare. I need to simulate remote server on my Ubuntu Guest and connect from XP to Ubuntu guest using WinScp or PUTTY. How do I do it? On my VMWare right now I have networking set as NAT.
View 2 Replies
View Related
May 1, 2010
Moved to virtualization forum: [URL].. I just upgraded my Ubuntu VirtualBox guest to Lucid. My host machine shares two folders with the guest. I have them listed in my /etc/fstab so they're automatically mounted:
share /mnt/share vboxsf defaults 0 0 For some reason, it looks like Ubuntu attempts to mount these shared folders twice. The first time, the mount doesn't succeed, but the second time, it does, so by the time I actually log in, the shares work properly.
Karmic would just print an error message at boot, but now Lucid makes me press a key to continue booting when the mount fails. Ideally, I'd like to figure out how to make the first mount attempt work properly. But if that's complicated, just disabling Lucid's prompt would make me happy.
View 1 Replies
View Related
Apr 15, 2011
I am trying to access shared folders in Virtual Box with Host OS being Windows7 and Guest OS is Fedora. Did anyone face a similar problem? I have been going through many solutions but none of them worked out. I am able to keep the required folders in Shared Folders making them Auto-Mount and Permanent. I tried to install Guest Additions from Devices, but I am not sure how to install the Guest-Additions software in Fedora. how to proceed so that I can access files in my shared folder.
View 1 Replies
View Related
Feb 18, 2010
I am new to Fedora and Linux. I have installed Fedora 12 on virtual box and installed Guest Additions. Later I did upgrade Fedora updates and noticed that my Guest Additions features were missing like Seamless mode, shared folders etc. Hence I had install Guest Additions again. So every time when I do Fedora updations, do I need to re-install Guest Additions or am I missing something very obvious?
View 9 Replies
View Related
Feb 1, 2011
Now I have set up a terminal server at work, with Ubuntu 10.04LTS and Free NX terminal server. All works great, over all expectations. But I have some file permission problems. In the home folder I have mad a folder where files that all users should have full access to is put. The problem is that when a user puts a file there, only that user have full access to that file, other users only have read rights. How can I make it so that all files put in this folder have full rights for members in the group "staff"?
View 3 Replies
View Related
Apr 24, 2011
I've recently acquired an old HP Pavilion ZT3000 and have decided to install Slackware, but I'm having trouble with the whole rc.inet1 configuration stuff. I've been able to connect to the internet manually with the following command:
Code: iwconfig eth0 essid [access-point-name] key restricted [my-wep-key]
(...and then use "dhcpcd" to get an ip address.)
As you can see, eth0 is my wireless interface. Not exactly sure why (the comp has a IR port,wifi and Ethernet.) I'm using a shared WEP key (I know the security implications of WEP). The key being shared is the reason restricted is a parameter in the iwconfig command. I've been trying to get it working through /etc/rc.d/rc.inet1 but I can't seem to setup rc.inet1.config correctly I'm not sure where to set the key to "shared"
I've searched the forums and I could use the working iwconfig command with ./bash_profile as a startup script. This has the problem I need sudo (ie setup /etc/sudoer), which seems like a lot of work, when rc.inet should work. And it also has the problem of having to enter my password THREE times (login, sudo iwconfig and for sudo dhcpcd) which is horrible (and I don't even know how it would work when I set X to begin on startup again). I probably could also install "wicd" but having to ferry across files and trying to setup things without the internet is a pain.
View 4 Replies
View Related
Sep 18, 2010
I cannot change directory to a more than three folder tree destination folder from ~ in terminal. I've checked everything. No Typos or misspell. The destination folder was recognized by "ls" command but when I went to it, the terminal said, "no such file or directory."
View 7 Replies
View Related
Feb 2, 2009
My Windows guests see my VMware Host Only folders as \.hostShared Folders. But when I try to see them from a Linux guest, all I get is frustrated. No permutation of that seems to work. Because the Windows guests see the shared folders I know the host is doing its part in providing them. After two days of not finding an answer on the VMware Workstation forum I finally figured out that the problem really is how to look for them with Linux. With Linux I can turn off all NICs accept the Host Only NIC, put smb://172.16.138.1 into the address bar and see all the shares on the host, but not the folder designated as the host only folder. How to look for the shares with Linux?
View 3 Replies
View Related
Feb 22, 2010
I have Apache installed on CentOS 4.5. My website have to play music on page and i have to show the file path. Eg : my website is in /var/lib/apache/webapp/mywebsite and my music folder is in : /music/myfile.wav and i want to play music on this /music folder and allow guest to download file. How can i do this?
View 1 Replies
View Related
May 24, 2009
I'm trying to set up a Samba printer in Debian linux. The printer is being shared by a computer running windows vista. Some of the information I've got in the process. Sharing seems to be working, the printer seems to be detected and authenticating (I've tried invalid values and the utility I'm using to set things up says it cannot verify when I use invalid values, but with things as they are it claims everything checks out).
When I go into CUPS it says it detects the printer and everything is working. However, printing a test page causes the job to be immediately complete and nothing happens. It seems that the job is getting lost somewhere in the process. Could it be a firewall issue? I feel like the right ports must be unblocked since I can query the computer and verify the printer, etc. I have a laptop with vista which I installed a printer on and was able to print to that computer just fine. So it doesn't seem to be a Vista thing.
Code:
Domain=[OFFICECOMPUTER] OS=[Windows Vista (TM) Home Premium 6000] Server=[Windows Vista (TM) Home Premium 6.0]
Sharename Type Comment
--------- ---- -------
ADMIN$ Disk Remote Admin
C$ Disk Default share
D$ Disk Default share
HP Deskjet D1500 series Printer HP Deskjet D1500 series
IPC$ IPC Remote IPC
print$ Disk Printer Drivers
session request to 192.168.0.10 failed (Called name not present)
session request to 192 failed (Called name not present)
session request to *SMBSERVER failed (Called name not present)
NetBIOS over TCP disabled -- no workgroup available
Code:
OfficePrinter (Default Printer) Description: Location:
Printer Driver: HP Deskjet d1500 Series hpijs, hpijs 3.9.2
Printer State: idle, accepting jobs, published.
Device URI: smb:///192.168.0.10/HP%20Deskjet%20D1500%20series
Code:
ID* Name* User* Size* Pages* State* Control*
OfficePrinter-6* Test Page* anonymous* 17k* Unknown* completed at
Sat 23 May 2009 08:28:39 PM CDT
View 2 Replies
View Related
Feb 19, 2010
I basically am hoping for a line of bash script I can put into "Open With" for folders so I can get a terminal with the right path. I hate manually typing in paths to places when I am looking right at them in nautilus. "gnome-terminal" doesn't work - it just opens a terminal to ~.
View 3 Replies
View Related
Feb 5, 2010
I've tried using the "devices->Shared Folders" to create a shared folder but it didn't work. I still couldn't see it from the guest OS (winXP). I also, tried sharing a folder in winXP and then tried adding a network folder in dolphin - also didn't work.
View 4 Replies
View Related
May 18, 2011
The following is my virtualbox ubuntu config. Virtualbox is the latest version.
Ubuntu 11.04
Base Memory 2G
Video Memory 64MB
3D acceleration: YES
The problem only happens after I close terminal. The individual program or software works fine. But as long as I use terminal, and close it, then the desktop environment freeze.
Is there anyone encountering the same problem, and how can I resolve it ?
View 1 Replies
View Related
Jul 13, 2010
I have a Win7 laptop with the latest version of VirtualBox installed. It's a dual core proc with ram to spare. So, I installed Slack64-13.1 and it rocks! I'm really impressed that Slack is running at what appears to be native speed, but in virtual machine. Hardware response is normal, WIFI and LAN are both working great for my normal tasks.So, I downloaded a few much needed patches, and new ISO image for one of my old desktop PCs. Now, my problem is I can't connect my USB cdwriter to my virtual slackware or share folders in the Win7 install with the virtual slackware. I read a few of tutorials on the Oracle VBox website, and several of the ones here on LQ, and none of them seem to solve my problems.
View 3 Replies
View Related
May 7, 2010
I'm having an issue setting up users for file sharing. In Ubuntu 10.04 (which is awesome btw) I right click the file, and share it on the network. I can see it right away on other machine, and login using the main user account on the server, no problem. I get an issue when I try to login to the share using additional account I setup. I get to the login screen, and it seems to accept the username and password as being valid (it doesn't bring up the login screen again), instead it brings up a error message saying it's unable to mount the share. It seems so much like a permission issue. I don't want to grant all kinds of access for these users, what do I do?
View 1 Replies
View Related
Oct 24, 2010
I've just discovered something I've not noticed before in earlier releases. I have samba installed but like to go the easy way when setting up smb shares by right-clicking on a folder and selecting 'Sharing Options' (That, by the way, sets up the configuration for the share in /var/lib/samba/usershares rather than in /etc/samba/smb.conf.)
Trying to get my Mac to be able to access the share, I was trying different modifications to the share with right-click > Sharing Options > Modify Share. Each time I did so, this caused Nautilus to restart - that is, the whole desktop blanked out to just the wallpaper and then my icons slowly reappeared. Worse, a file copy was interrupted. And much worse, a lengthy video encoding using OpenShot was interrupted. Both the latter irretrievably.This is unfortunate behaviour. Has anyone else seen it? Can anyone else confirm this? I couldn't find anything on Launchpad.
View 8 Replies
View Related
Jul 21, 2011
I'm using ubuntu 10.10 inside Virtual Box. i have shared a folder on win7. i can't for the life of me find where that folder is in ubuntu now? maybe i'm missing a step with the whole folder sharing but a shared folder is created and the box is ticked, so where in ubuntu is it?
View 5 Replies
View Related
Sep 16, 2010
I have set up Ubuntu 10.04 with a data partition mounted as /share that I would like to make available to all users. I have only managed to do this so far by using chmod and chown, can I flag the folder so that all users can read and write from it automatically? I'm looking for something a bit like "Ignore Ownership" on a Mac.
View 3 Replies
View Related
Mar 15, 2011
I would like to share a folder from a Linux Guest with a Windows host (with read and write access if possible) in VirtualBox. I read in these two links: here and here that it's possible to do this using Samba, but I am a little bit lost and need more information on how to proceed.
So far, I managed to set up two network adapters (one NAT and one host-only) and to install Samba on the Linux guest, but I have the following questions now: What do I need to type in samba.conf to share a folder from the Linux guest? (the tutorial provided in one of the links above only explains how to share home directories) Are there any Samba commands that I need to run on the guest to enable sharing? How do I make sure that these folders are only available to the host OS and not on the Internet? Once the Linux guest is setup, how do I access each of the individual shared folders from the Windows host? I read that I need to mount a drive on Windows to do this, but do I use Samba logins, or Linux logins, also do I use localhost? or do I need to set up an IP for this?
View 1 Replies
View Related
Jun 13, 2011
I would like to know how to share a folder in samba with no need of password for individual user without using guest
View 5 Replies
View Related