LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 04-21-2017, 08:06 PM   #1
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Rep: Reputation: 56
Black screen after starting headless VM


Hi all,

Host Ubuntu16.04
VM Ubuntu14.04
VirtualBox

Performed following steps:-

⟫ VBoxManage list vms
Code:
....
...
..
⟫ VBoxHeadless -s b504xxxx-xxx-xxx-xxx-xxxxxxde
Code:
Oracle VM VirtualBox Headless Interface 5.0.26
(C) 2008-2016 Oracle Corporation
All rights reserved.

VRDE server is listening on port 3389.
VM started but only a black screen.

Any advice? Thanks

Regards
satimis
 
Old 04-22-2017, 01:03 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,553

Rep: Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946
Quote:
Originally Posted by satimis View Post
Hi all,
Host Ubuntu16.04 VM Ubuntu14.04 VirtualBox

Performed following steps:-
⟫ VBoxManage list vms
Code:
....
...
..
⟫ VBoxHeadless -s b504xxxx-xxx-xxx-xxx-xxxxxxde
Code:
Oracle VM VirtualBox Headless Interface 5.0.26
(C) 2008-2016 Oracle Corporation
All rights reserved.

VRDE server is listening on port 3389.
VM started but only a black screen. Any advice?
Read the documentation???
https://www.virtualbox.org/manual/ch07.html

You started it for remote sessions...what do you THINK you'll see on the screen? You've been here fourteen years...and asking about VM's for quite a while. Are you able to apply the things you've learned/read?
http://www.linuxquestions.org/questi...-2-vms-838421/
http://www.linuxquestions.org/questi...ck-4175539467/
http://www.linuxquestions.org/questi...on-4175440824/
 
Old 04-22-2017, 04:30 PM   #3
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Preview is black on my headless also.
 
1 members found this post helpful.
Old 04-22-2017, 08:07 PM   #4
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Try going into the BIOS and make sure that the Virtualization Technology is 'enabled'-
 
Old 04-22-2017, 08:51 PM   #5
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Quote:
Originally Posted by Ztcoracat View Post
Try going into the BIOS and make sure that the Virtualization Technology is 'enabled'-
Hi

Thanks for your advice.

Whether you meant "Intel Virtualization Technology"?

I'm running AMD CPU

sudo lshw
Code:
.....
Description: Motherboard
       product: M5A97 LE R2.0
       vendor: ASUSTeK COMPUTER INC.
       physical id: 0
       version: Rev 1.xx
       serial: 141235722500456
       slot: To be filled by O.E.M.
.....
Just looked at the BIOS -> Advanced Mode
No such an item found

There are 2 VMs, say VM1 and VM2, which haven't been running for prolonged time;

Normal booting
VM-1 only a black screen without login screen popup nor I can input command
VM-2 after login without menu bar displayed.

Booting headless mode with same result.

I wonder whether the command "VBoxheadless -s xxxxx" is working properly. I tried other VMs, some booting up headless mode where I can input commands and others booting straight to login screen.

I also tried "VBoxHeadless --startvm xxx.xxxx.xxxx." with same result.

Actually I can delete them. Just for curiosity I continue.

Regards
satimis

Last edited by satimis; 04-22-2017 at 08:54 PM.
 
1 members found this post helpful.
Old 04-22-2017, 09:14 PM   #6
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by satimis View Post
Hi

Thanks for your advice.

Whether you meant "Intel Virtualization Technology"?

I'm running AMD CPU

sudo lshw
Code:
.....
Description: Motherboard
       product: M5A97 LE R2.0
       vendor: ASUSTeK COMPUTER INC.
       physical id: 0
       version: Rev 1.xx
       serial: 141235722500456
       slot: To be filled by O.E.M.
.....
Just looked at the BIOS -> Advanced Mode
No such an item found

There are 2 VMs, say VM1 and VM2, which haven't been running for prolonged time;

Normal booting
VM-1 only a black screen without login screen popup nor I can input command
VM-2 after login without menu bar displayed.

Booting headless mode with same result.

I wonder whether the command "VBoxheadless -s xxxxx" is working properly. I tried other VMs, some booting up headless mode where I can input commands and others booting straight to login screen.

I also tried "VBoxHeadless --startvm xxx.xxxx.xxxx." with same result.

Actually I can delete them. Just for curiosity I continue.

Regards
satimis
You're Welcome.

Ok, thanks for letting us know it's an AMD CPU:-

I've tried to run a handful of distro's myself in a VM and got the black screen too.
I'm not entirely sure what that's all about.

Quote:
I wonder whether the command "VBoxheadless -s xxxxx" is working properly.
That's certainly something to think about.
Look in the Virtual Box Forum. Might find a thread concerning that.

When you get the time read the documentation that TB0ne linked for you.
Often what's going on is something we didn't read up on thus leading us to not knowing things.

The very thing that you may not know at the moment could be the thing that fixes the issue.
Yeah, I know manuals are boring but I had to read the VBox manual twice and I'm glad I did.

https://forums.virtualbox.org/viewfo...c97a618730dbe7

Not sure if this will help because this member is using a Mac pc.
https://forums.virtualbox.org/viewtopic.php?f=2&t=15102

The first 2 hits in this search look like a start.

https://www.google.com/search?client...g+on+port+3389

HTH

Last edited by Ztcoracat; 04-22-2017 at 09:16 PM.
 
Old 04-23-2017, 03:38 AM   #7
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Quote:
Originally Posted by Ztcoracat View Post
You're Welcome.

Ok, thanks for letting us know it's an AMD CPU:-

I've tried to run a handful of distro's myself in a VM and got the black screen too.
I'm not entirely sure what that's all about.


That's certainly something to think about.
Look in the Virtual Box Forum. Might find a thread concerning that.

When you get the time read the documentation that TB0ne linked for you.
Often what's going on is something we didn't read up on thus leading us to not knowing things.

The very thing that you may not know at the moment could be the thing that fixes the issue.
Yeah, I know manuals are boring but I had to read the VBox manual twice and I'm glad I did.

https://forums.virtualbox.org/viewfo...c97a618730dbe7

Not sure if this will help because this member is using a Mac pc.
https://forums.virtualbox.org/viewtopic.php?f=2&t=15102

The first 2 hits in this search look like a start.

https://www.google.com/search?client...g+on+port+3389

HTH
Hi,

Thanks for your continue support

I couldn't start Headless as root. I suspect whether there are some problem on Headless mode here.

On
VirtualBox Manager (graphic interface mode)

select VM -> right click
Code:
Start
-> Normal Start
-> Headless Start
-> Detachable Start
On some VMs no difference between Normal and Headless Start the VM boots as Normal
On some VMs Headless Start boots to a black screen only without cursor blinking
On some VMs Headless boots to a login screen as Normal Start and after login no desktop displayed
etc.

I suppose the easier way to rescue a problematic VM is booting it with LiveCD i.e. attaching a Ubuntu16.04 ISO to IDE Controller on Settings -> Storage -> Controller:IDE

I'll stop my testing here. Again lot of thanks for your support and effort

Regards
satimis
 
Old 04-23-2017, 03:42 AM   #8
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
are you sure that this isn't the solution:
Quote:
You started it for remote sessions...what do you THINK you'll see on the screen?
???
 
Old 04-23-2017, 02:13 PM   #9
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,553

Rep: Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946
Quote:
Originally Posted by satimis View Post
Hi,
Thanks for your continue support
And you're very welcome for my answers too.
Quote:
I couldn't start Headless as root. I suspect whether there are some problem on Headless mode here.

On VirtualBox Manager (graphic interface mode) select VM -> right click
Code:
Start
-> Normal Start
-> Headless Start
-> Detachable Start
On some VMs no difference between Normal and Headless Start the VM boots as Normal
On some VMs Headless Start boots to a black screen only without cursor blinking
On some VMs Headless boots to a login screen as Normal Start and after login no desktop displayed etc.

I suppose the easier way to rescue a problematic VM is booting it with LiveCD i.e. attaching a Ubuntu16.04 ISO to IDE Controller on Settings -> Storage -> Controller:IDE I'll stop my testing here. Again lot of thanks for your support and effort
The easiest thing to do would be to pay attention. The Virtualbox documentation has covered this plenty, and you have been asking about things like this for MANY years...why are you unable to apply anything you've been told previously, or learn on your own??

You were given the answer: you started headless, which AGAIN, is covered in the documentation which I handed to you in my first reply. It HAS nothing to show you on the screen...it is HEADLESS. It's waiting for you to connect to it via RDE...AGAIN, as is told to you plainly in the documentation. If you don't want to read/learn/research things on your own, or even acknowledge you get answers, there's little point in posting questions.
Quote:
Originally Posted by Ztcoracat
The first 2 hits in this search look like a start.
...and the second one, from their documentation, is what I handed the OP to start with, in the very first reply. Apparently, he doesn't want to read it.
 
Old 04-23-2017, 03:30 PM   #10
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Don't run Virtuablbox as root.
15 years here and you run as root?

What has that ever fixed?
 
1 members found this post helpful.
Old 04-23-2017, 05:06 PM   #11
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,553

Rep: Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946
Quote:
Originally Posted by Habitual View Post
Don't run Virtuablbox as root. 15 years here and you run as root? What has that ever fixed?
Yep...the OP has posted NUMEROUS times about Virtualbox over the past 14 years. I've asked the same question before, and have given info too..OP doesn't seem to answer.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
get a black screen after RHEL AS starting first boot. desun Red Hat 4 08-09-2008 12:47 AM
black screen after starting gnome gcoleson Linux - Newbie 3 11-15-2005 03:27 PM
SUSE 9.3 Screen goes black when starting up. elmikeg SUSE / openSUSE 3 08-22-2005 06:04 AM
Black screen of death When starting X btrsteve Linux - Newbie 8 05-29-2005 01:07 AM
Black screen when starting X -- solution! glorinc Linux - Hardware 1 07-22-2002 05:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 04:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration