[Solved] VNC headless

Discussions related to using VirtualBox on Linux hosts.

[Solved] VNC headless

Postby miguelg » 15. Dec 2017, 15:52

I've set up a Ubuntu machine which I intend to run in headless mode. After playing around with the settings, I managed to set up the remote display server to use the VNC extension pack. However, when connecting to it with Remmina, it asks for a password but the authentication method is set to "Null". I've looked everywhere and couldn't find a way around this annoying limitation.

Why is it asking for a password and how can I set it up as to not ask for one?
Last edited by socratis on 16. Dec 2017, 15:19, edited 1 time in total.
Reason: Marked as [Solved].
miguelg
 
Posts: 4
Joined: 15. Dec 2017, 15:27

Re: VNC headless

Postby Perryg » 15. Dec 2017, 17:02

The VNC extension pack inclusion was basically set up to aid users that did not want to install the official version of the extension. Usually this is only used from a distro or user self compiled versions of VirtualBox so as far as support there is not much. So the question is are you running the distros fork of VirtualBox or are you building your own shake-n-bake version?

Also is the password that is being asked for the remote login or the OS password?

A guests log file ( as an attachment ) would help to answer these questions.
Perryg
Site Moderator
 
Posts: 34373
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: VNC headless

Postby miguelg » 15. Dec 2017, 20:04

Hi Perryg!

Thanks for the reply.

The password being asked is for the remote login; no username is asked for, just a password. As for the version I'm using, it is 5.0.40_Ubuntur115130 on Ubuntu 16.04.03 and Linux 4.4.0-101-generic, installed via the distro's own package manager.

I've attached the latest guest log file, as per requested -- apologies for not doing so in my OP.
Attachments
VBox.log
Latest guest log
(64.97 KiB) Downloaded 35 times
miguelg
 
Posts: 4
Joined: 15. Dec 2017, 15:27

Re: VNC headless

Postby Perryg » 15. Dec 2017, 20:28

You really should read section 9.23 of the users manual. Other than that you would need to ask the Ubuntu folks ( it is their fork ) or switch to the official version from virtualbox.org.
Perryg
Site Moderator
 
Posts: 34373
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: VNC headless

Postby miguelg » 16. Dec 2017, 11:36

Perryg wrote:You really should read section 9.23 of the users manual. Other than that you would need to ask the Ubuntu folks ( it is their fork ) or switch to the official version from virtualbox (dot) org.


Perfect! Reading the relevant section of the manual uncovered the setting I needed to tweak:

VBoxManage modifyvm "VM name" --vrdeproperty VNCPassword=secret

Once I set a password, I could then connect to the remove display.

Thanks Perryg!
miguelg
 
Posts: 4
Joined: 15. Dec 2017, 15:27

Re: VNC headless

Postby socratis » 16. Dec 2017, 15:18

Glad you got it going. Marking as [Solved].
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
socratis
Site Moderator
 
Posts: 27694
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5


Return to VirtualBox on Linux Hosts

Who is online

Users browsing this forum: No registered users and 20 guests