Showing posts with label Ubuntu. Show all posts
Showing posts with label Ubuntu. Show all posts

Thursday, 20 March 2014

Run both Chrome OS and Ubuntu on a Chromebook


The first thing you must do is enable the Chromebook's Developer Mode, but be aware that this will erase anything you may have saved to the device's internal storage. Press and hold the Esc and Refresh keys, and then press the power button. The Chromebook will reboot into Recovery Mode.



yellow exclamation point will appear on the screen with a warning message, press the Ctrl and D keys simultaneously to continue to the next screen. Press the keyboard's Enter key to turn OS verification off and confirm the decision to turn on the Chromebook's Developer Mode. A red exclamation point and a warning that OS verification has been turned off will be displayed on the screen, followed by two loud beeps, this is normal.

Sit back and wait as this process could take up to 10 minutes to complete. Don't panic if you see a red exclamation point after Developer Mode has been enabled, the system will reboot back into Chrome OS shortly.



will be required to input your network credentials and login information after the Chromebooks reboots. After doing so, you must download a tool known as Crouton, which will allow Ubuntu to run on top of Chrome OS. Save the file to your download folder and then open the Chromebook's terminal by pressing the Ctrl, ALT, and T keys together.

Type "shell" in the command line and hit the Enter key. Next, type "sudo sh -e ~/Downloads/crouton -t unity" and wait for Crouton to install. If your Chromebook has a touch screen use the command "sudo sh -e ~/Downloads/crouton -t touch,unity" instead.


You will be asked to enter a username and password once the installation process is complete. This is separate from your Chrome OS login and will be used inside of the Ubuntu operating system. To enter Ubuntu type the command "sudo startunity" into the terminal.

Click on the first icon on the left-hand side of the screen and search for the terminal. Once inside of it, type "sudo apt-get update" in the command line to update the operating system. When that's complete, type "sudo apt-get install software-center," this will allow you to easily install a wide variety of Linux programs. You can open the software center and search for the specific program you want, or you can download programs from the Web and install them through the software center.
For more from the XpertCrewTM team please follow us on Twitter @Techvedic or 

our Facebook Page- 

or  contact us at

U.S. +855-859-0057 (http://www.techvedic.com/  )
U.K. +800-635-0716 (http://www.techvedic.co.uk/ )
CA  1-855-749-5861 (http://www.techvedic.ca/ )
AU  1-800-197-298  (http://www.techvedic.com.au/ )
And yes, we are eagerly waiting for your valuable feedback. Do write us back. We would be more than happy to help you. We are available 24/7.



Wednesday, 19 March 2014

Fixing “Authentication is needed to run /usr/bin/dropbox as the super user

Fixing “Authentication is needed to run /usr/bin/dropbox as the super user” Issue In Ubuntu

If you have been using Dropbox in your Ubuntu (or any other distro) machine, after one of the upgrades, you might have noticed that it is starting to prompt you to enter your password and run as a superuser. This is not a normal incident as Dropbox is installed in your local home folder and shouldn’t require elevated permission to run. If you are running into this issue, here’s the fix.

Causes for this issue
If you didn’t realize it, the executable file for Dropbox lies in the “/usr/bin” folder and it is pointing to the “/var/lib/dropbox” folder for its config files. Since the “/var/lib/dropbox’ folder is in the root directory, it will need superuser permission for Dropbox to be able to access it.

However, that is not the main cause of the problem. The main issue is that your config file should lie in your home folder (~/.dropbox-dist/), and it shouldn’t point to the “/var/lib/dropbox” folder.

The Fix

Here’s the fix.

1. Open a terminal and type:
which dropbox
This will show you the actual filepath of the dropbox executable file. In most cases, it will be “/usr/bin/dropbox”

dropbox-location

dropbox-location

2. Open it with the nano text editor:

sudo nano /usr/bin/dropbox

3. Scroll down in the file until you find the lines:

PARENT_DIR = os.path.expanduser("/var/lib/dropbox")

DROPBOXD_PATH = "%s/.dropbox-dist/dropboxd" % PARENT_DIR
If you understand the code, it simply means that the “DROPBOXD_PATH” is pointing to the “PARENT_DIR”, which is “/var/lib/dropbox”.

All we need to do is to change the filepath “/var/lib/dropbox” to “~”, so it becomes:

PARENT_DIR = os.path.expanduser("~")
This will direct Dropbox to access your Home folder for the config files.

4. Save (Ctrl + o) and exit (Ctrl + x) the nano text editor. Restart Dropbox.

dropbox start -i
The -i flag prompts Dropbox to reinstall the module if it doesn’t exist in the Home folder.

That’s it. It won’t prompt you to enter password and run as superuser again (unless the next update breaks it again).

For more from the XpertCrewTM team please follow us on Twitter @Techvedic or 

our Facebook Page- 

or  contact us at

U.S. +855-859-0057 (http://www.techvedic.com/  )
U.K. +800-635-0716 (http://www.techvedic.co.uk/ )
CA  1-855-749-5861 (http://www.techvedic.ca/ )
AU  1-800-197-298  (http://www.techvedic.com.au/ )
And yes, we are eagerly waiting for your valuable feedback. Do write us back. We would be more than happy to help you. We are available 24/7.