i am using windows 8.1 on a 15 inch laptop. I have installed ubuntu 14.04.2 LTS on virtual box and have also installed the guest addition.But still i am not getting the "auto-resize guest display "or "seamless mode" option in the view menu?
From the menu bar,
Click on "Devices." You will see "Insert Guest Additions CD Image" option there.
"Insert Guest Additions CD Image" inserts a disk image on a virtual CD on your machine.
This virtual CD usually starts automatically with autorun, but if not, just go to "Computer" and launch the "VboxWindowsAdditions" exe file on the CD and follow the installation
sudo apt update && sudo apt upgrade
sudo apt install open-vm-tools open-vm-tools-desktop
Here below steps works for me ---
Upgraded linux-image and headers sudo apt-get install linux-image-3.11.0-15-generic linux-headers-3.11.0-15-generic (Perhaps virtual would work just as well as the generic one.):
Installed linux-image-extras with the hyperv-drivers:
sudo apt-get install linux-image-extra-virtual
Set video mode (Pretty much what you already did):
Set GRUB_CMDLINE_LINUX_DEFAULT="quiet splash video=hyperv_fb:1680x1050" in /etc/default/grub.
Update grub: sudo update-grub
Reboot
refer below link for more detail https://askubuntu.com/questions/384602/ubuntu-hyper-v-guest-display-resolution
First, type the following in the terminal:
sudo apt-get install gcc perl make
After this, you can follow these steps:
Click on "Devices." You will see "Insert Guest Additions CD Image" option there.
"After clicking a Dialog Box opens up, Click on Run.
After it is installed, restart the VM.
I was stuck with the same problem. I did it manually from the ubuntu terminal, here are the steps:-
1 cd /media
2 ls
3 mkdir device cdrom1
4 sudo mkdir device cdrom1
5 ls
6 sudo mount /dev/cdrom /media/cdrom1
7 cd cdrom1/
8 ls
9 sudo ./VBoxLinuxAdditions.run
10 sudo reboot
This worked for me.
Related
Problem with Kiosk mode and USB access.
I have installed buster on raspberry Pi 4. And for open chromiam browser at startup, I enabled kiosk mode.
Now I have a problem that, it does not mount USB device (flash drives) at /media/pi
Any help and suggestions would be very helpful!
Raspbian Buster lite (without GUI) doesn't mount USB devices automatically out of the box.
There is a software called "usbmount" which adds this functionality.
You can install it using
sudo apt-get install usbmount
Then reboot the Pi
sudo reboot now
http://www.howtoeverything.net/linux/raspberry-pi/automount-external-hard-disks-raspberry-pi
I'm using Buster Lite and ran into a problem with installing usbmount. The error I got was "unable to locate package usbmount". I found the solution, and I am append my solution to this thread since this thread shows up on some search-engines pretty high up.
The solution I used was to clone the github repo from https://github.com/rbrito/usbmount/ and build it (instructions below is partially from the readme)
git clone https://github.com/rbrito/usbmount.git
cd usbmount
sudo apt-get update && sudo apt-get install -y debhelper build-essential exfat-fuse exfat-utils
sudo dpkg-buildpackage -us -uc -b
cd ..
sudo dpkg -i usbmount_0.0.24_all.deb
Additionally, use
sudo nano /etc/usbmount/usbmount.conf
to add exfat to the list of file-systems
save and reboot
I am installed woeusb along this instruction https://github.com/slacka/WoeUSB.
git clone https://github.com/slacka/WoeUSB.git
./setup-development-environment.bash
sudo apt-get install devscripts equivs gdebi-core
mk-build-deps
sudo gdebi woeusb-build-deps_3.3.1-1-g7171bff_all.deb
This program didn't showing in applications, search don't finded it.Then i am installed from snap, don't finded too. What's a problem?
When I try to print report of any invoice this error pops up so i downloaded wkhtmltopdf from this link,http://wkhtmltopdf.org/downloads.html
After that in settings->system parameter I created a key called wkhtmltopdf and its value as C:\Program Files (x86)\wkhtmltopdf but still I am not able to print reports in pdf format as this error is not going. (I am on windows and this is the image)
Try to set the key as 'webkit_path' and also check the version of the 'wkhtmltopdf', it should '0.12.2.1'.
If you are using the config file to run Odoo, then try to provide a parameter 'bin_path' and the value as the path to your 'wkhtmltopdf' file.
To install wkhtmltopdf in linux/unix operating system,
sudo wget https://downloads.wkhtmltopdf.org/0.12/0.12.1/wkhtmltox-0.12.1_linux-trusty-amd64.deb
sudo dpkg -i wkhtmltox-0.12.1_linux-trusty-amd64.deb
sudo cp /usr/local/bin/wkhtmltopdf /usr/bin
sudo cp /usr/local/bin/wkhtmltoimage /usr/bin
Finally restart odoo server
On windows platform. Try to add the following parameter in .conf file of your odoo version.
bin_path = C:/Program Files/wkhtmltopdf/bin
Don't forget to restart your odoo afterwards.
It works for me.
If some one is looking for the answer in ubuntu 20.04 then here is it:
wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.4/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz
sudo dpkg -i wkhtmltox-0.12.1_linux-trusty-amd64.deb
If you get issue missing library libpng12-0:
sudo add-apt-repository ppa:linuxuprising/libpng12
sudo apt update
sudo apt install libpng12-0
If you get issue missing library libssl1.0.0:
wget http://security.ubuntu.com/ubuntu/pool/main/o/openssl1.0/libssl1.0.0_1.0.2n-1ubuntu5.7_amd64.deb
sudo dpkg -i libssl1.0.0_1.0.2n-1ubuntu5.7_amd64.deb
then re-run this command:
sudo dpkg -i wkhtmltox-0.12.1_linux-trusty-amd64.deb
Hope this helped.
Dropbox is not working on my laptop ubuntu 13.10, it is keep saying connecting and the Dropbox icon on the menu bar is grey.
I tried to install Dropbox with the following ways and all failed.
1) sudo apt-get install nautilus-dropbox
2) install from Ubuntu Software Center
3) downloads dropbox .deb file from dropbox offical website
Finally, I re-install my laptop with Ubuntu 12.04 LTS, and tried with 1) I mentioned above, and it works.
Is there anyone know why it is not working?
Add Dropbox’s repository key
sudo apt-key adv --keyserver pgp.mit.edu --recv-keys 5044912E
Add Dropbox’s repository
sudo add-apt-repository "deb http://linux.dropbox.com/ubuntu saucy main"
update and install Dropbox
sudo apt-get update && sudo apt-get install nautilus-dropbox
When prompted with the screen, click Next.
Click Start Dropbox to continue.
You can see that Saucy is available at http://linux.dropbox.com/ubuntu/dists/ so it should be working.
These two lines will fix your problem:
sudo rm -rf /var/lib/dropbox/.dropbox-dist
dropbox start -i
I am running a VM with Ubuntu Server 12.04.
I try to install a Ruby on Rails Application and first of all i needed to install Curl (which is done) and now i try to install RVM.
I am following this installation guide : ruby on rails installation
i am at the step when i have to run rvm to check. But it won't load when i try to enter :
source ~/.rvm/scripts/rvm
UPDATE :
I have this folder /usr/local/rvm
when i try to run this : rvm requirements
he says : the program 'rvm' is currently not installed....
but i did with this command :
\curl -L https://get.rvm.io | bash -s stable
as shown in the tutorial, or didn't it install ? i have no errors...
i even see : thank you for using rvm!
-sh: 1: source: not found
any ideas? i am relatively new to ubuntu. thanks in advance
as the message says:
-sh: 1: source: not found
where sh is your current shell - RVM is not compatible with it, you need to use bash:
sudo apt-get install -y bash && sudo chsh -s $(which bash)
I have not tested this steps so you might slightly adjust it for your system.
For RVM to work properly, you have to set the 'Run command as login shell' checkbox on the Title and Command tab inside of gnome-terminal's Settings page.
To do that open up a terminal by pressing CTRL+ALT+t. Once your terminal is open, right click the terminal, and click on Profiles then Profile Preferences.
Screen shot at http://rvm.io/integration/gnome-terminal