razius / ppy-opencv-vagrant

Vagrant machine for the Practical Python and OpenCV book.
18 stars 10 forks source link

Login details #1

Open ashewring opened 9 years ago

ashewring commented 9 years ago

How do I log in to the Ubuntu VM once it is installed?

razius commented 9 years ago

You can run the following command in the folder where the Vagrant file is:

vagrant up
vagrant ssh
edmundronald commented 9 years ago

I've added a desktop to the VM. What are the vagrant and root login details? Edmund

razius commented 9 years ago

I think you can use:

username: vagrant
password: vagrant
edmundronald commented 9 years ago

I think that doesn't work

what I did in the end was ssh in and "adduser" a new user.

a minor but classic irritant I think for all these setups is that without main root access you cannot easily setup the default desktop keyboard for the whole system. Or maybe you can but not as a beginner.

I got X to work with my Mac by adding these lines to the vagrantfile. config.ssh.forward_agent = true config.ssh.forward_x11 = true

I cannot get openCV compilation of C++ programs to work yet.

Edmund

hedoluna commented 6 years ago

You can follow this guide to add another user AND to grant him/her the root access: https://www.liquidweb.com/kb/how-to-add-a-user-and-grant-root-privileges-on-ubuntu-14-04/