Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[SOLVED] Startx with openbox wm (virtualbox)

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Startx with openbox wm

#16 Post by GarryRicketson »

Just to say, after installing to the VM I am getting the same problem
as the OP,..

Code: Select all

Note: Some text was removed 
======================
[   220.369] (II) LoadModule: "vboxvideo"
[   220.369] (WW) Warning, couldn't open module vboxvideo
[   220.369] (II) UnloadModule: "vboxvideo"
[   220.369] (II) Unloading vboxvideo
[   220.369] (EE) Failed to load module "vboxvideo" (module does not exist, 0)
[   220.369] (II) LoadModule: "modesetting"
[   220.373] (EE) Screen(s) found, but none have a usable configuration.
[   220.373] (EE) 
====================
Fatal server error:
[   220.373] (EE) no screens found(EE) 
[   220.373] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[   220.373] (EE) Please also check the log file at "/home/garry/.local/share/xorg/Xorg.0.log" for additional information.
[   220.373] (EE) 
[   220.383] (EE) Server terminated with error (1). Closing log file.
 
by debiman »---snip-virtualbox was configured for a cli-only install, and the virtual hardware to run a gui simply isn't there. just a wild idea.
how did you install, btw?
I have never noticed a option for this on VirtualBox, but that does not meant there
is not one, based on the errors, it seems to be "on the right track" so to speak.
More important, is how the OP installed, but , I just installed the same way I do
everything,...for example when I installed Minix3 to the VM, Xorg installed, and just worked, but anyway this is Debian,...so that does not matter. I will also look into this
more, and see if I can find anything in the VB configurations that will help.
========= edited ==========
I could not get it to where startx will start as a normal user, but it does as
root, same as the OP,..and openbox runs fine, , Why ?
from what I could find, it is because no "guest additions" are available for
Debian stretch (testing) , that is what it showed me when I tried to install
guest additions,...
from: http://wiki.minix3.org/doku.php?id=user ... virtualbox
VirtualBox's guest additions are not available for MINIX3. Therefore, MINIX cannot correctly guess the screen resolution. The desired screen resolution has to be set manually in the xorg.conf file.
I know , it is not Debian, but the same could apply to Debian, in other words:
Without "guest additions", Debian stretch cannot correctly guess the screen resolution. The desired screen resolution has to be set manually in the xorg.conf file .
It goes on to explain how to do that, but I could not figure out how to do that
on Debian, for example, where to put the new xorg.conf file,?
Maybe KVM would work, or using Debian 8, or Debian 7 instead ?
I did not do any searches to see if there is a "guest additions" maybe available for Debian stretch, somewhere else, besides the debian repos,...
=====edited=======
Actually "guest additions" is available:
https://packages.debian.org/stretch/vir ... itions-iso
I did not have the "non-free" in my sources.list, so that is why it said it was
not available.
It is best to have that installed, before installing other packages, such as Xorg
though,..I am not sure if installing it now, and trying to reconfigure Xorg will work,...in any event I am to tired to try just now,..
If the OP had guest additions installed, then I don't know what else it might be,
they have not answered back , on what and how they installed VB, and set up the VM ...the guest additions is a important part.
===================

To me it is not important enough to pursue, since both OpenBsd, and Minix3,
"just worked", on a VirtualBox VM, both are minimal installations, with just Xorg and OpenBox, all though I do have a few applications (packages) I use also installed.
I think it would work, if one knows where to put the xorg.conf.new after they edit it, that is the part I can not figure out.
sorry for not being able to help.

Seventh
Posts: 44
Joined: 2017-04-01 10:13

Re: Startx with openbox wm

#17 Post by Seventh »

dasein wrote:At the risk of pointing out the obvious, VirtualBox abstracts hardware and presents that to the OS.

Seemingly pertinent: https://bugs.debian.org/cgi-bin/bugrepo ... bug=808794
Ok this has solved the error as linked above by dasein, installing

Code: Select all

# apt install xserver-xorg-legacy
startx now works and brings me to the openbox desktop as user.

Thankyou dasein and to all who have contributed to the thread. :D

@Gary, can you confirm this works for you?

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: [SOLVED] Startx with openbox wm (virtualbox)

#18 Post by GarryRicketson »

Sounds good, I just now saw this, and have not yet tried it,.. thanks for letting us know
I will get back as well,..thanks
======= edited ====
Yes it did work for me, as well,.....that sure turned out to be simple,..
thanks
===========================
Image
Last edited by GarryRicketson on 2017-04-11 15:30, edited 1 time in total.

User avatar
dasein
Posts: 7680
Joined: 2011-03-04 01:06
Location: Terra Incantationum

Re: Startx with openbox wm

#19 Post by dasein »

Seventh wrote:Thankyou dasein
You're welcome. Thanks for marking your thread as [SOLVED]

Post Reply