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 10-23-2013, 03:12 AM   #1
slacker_
Member
 
Registered: Aug 2013
Distribution: Arch, Debian, Slackware
Posts: 333

Rep: Reputation: 3
I'd like to dedicate a seperate X display for a VM of suse, but it can't find VM suse


I know that may be confusing, short title space and all. Allow me to shed some light on the issue:


I want to run a virtual machine on a separate display. My default dispaly is on view port 7 (ctrl+alt+F7), and I want a virtual machine (in this case SuSe) on port 8 (ctrl+alt+F8).
I found this article about how to do this and followed along precisely with the last response:


Make a shell script for starting virtualbox's virtual machine (in this case named suse);
Code:
virtualbox --startvm suse --fullscreen
Run script with startx, directed at a different display;

Code:
sudo startx ./virt_suse.sh :1
The script works perfectly fine in my primary display, when I just run the script one it's own (./virt_suse in terminal) it can start the machine flawlessly. But when I try to launch it on the secondary display it starts up the secondary display, then a window pops up and says "There is no virtual machine named suse, could not find a registered machine named "suse"." On top of this, I also want to be able to have copy/paste working between displays (between VM on display 1, and main machine on display 0). So can anyone help me with this?


Primary system is Debian 7.2, virtualbox is version 4.2.16, and suse VM is openSUSE 12.3

Last edited by slacker_; 10-23-2013 at 03:14 AM. Reason: typos will be the deaf of me. (ha, get it?)
 
Old 10-24-2013, 04:20 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,692

Rep: Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275
I assume the system is buggy and sometimes it uses the default display (:0) instead of the associated one (:1). So try to use the real display on :1 and the virtual on :0. Also try to look for error messages in /var/log and in your home, probably that will give you some additional info.
 
Old 10-25-2013, 12:32 PM   #3
slacker_
Member
 
Registered: Aug 2013
Distribution: Arch, Debian, Slackware
Posts: 333

Original Poster
Rep: Reputation: 3
Quote:
Originally Posted by pan64 View Post
I assume the system is buggy and sometimes it uses the default display (:0) instead of the associated one (:1). So try to use the real display on :1 and the virtual on :0. Also try to look for error messages in /var/log and in your home, probably that will give you some additional info.
My primary display is always :0.0, always has been on any system I use. What kind of difference would it make to switch the numbers like this? I'm new to this type of thing so I just wannt know what this step would do.
 
Old 10-26-2013, 02:02 AM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,692

Rep: Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275
yes, :0.0 is the default and probably somewhere, somehow it is hardcoded. Therefore using :1 will (may) fail. Actually it should not happen, but in your case it looks like it happened....
In normal cases using :0 or :1 is completely identical, there should be no differences at all.
 
  


Reply

Tags
debian, display, suse, virtualbox


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
Upgrade to SuSE 10.1; could not find SuSe linux installation source tethysgods SUSE / openSUSE 1 11-28-2006 10:39 AM
Installing Suse 9.2 with RAID 0 - Seperate Drives Seen ppg SUSE / openSUSE 1 03-06-2005 01:51 PM
SUSE BOOT does not find SUSE/ usb drive PNUT Linux - Newbie 0 11-01-2003 12:48 PM
dual boot SuSE / XP on seperate drives with GRUB uploadjoe Linux - Software 2 02-20-2003 11:37 PM

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

All times are GMT -5. The time now is 08:20 AM.

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