LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 09-17-2021, 03:34 AM   #1
pbadillo555
LQ Newbie
 
Registered: Aug 2021
Posts: 11

Rep: Reputation: Disabled
FreeBSD 13 - xorg server will not load any desktop except for fluxbox


Hello

Prior to freebsd 13, I was able to install and get any desktop manager to load.

I tried xfce4, kde5, mate and ratpoison. Neither will load from the xorg server. All I get is a black screen. No icons or anything but a mouse pointer.

The only desktop that will start via xorg server is fluxbox.

These four desktops used to worked in freebasd 11 and under.

I've install virtualbox-ose-addtions and enabled them.

I added myself to the wheel group for X11.

dbus and hald is enabled. Proc filesystem is added to /etc/fstab.


In closing, only fluxbox works. The rest don't.

Any ideas or solution is appreciated. Thanks
 
Old 09-17-2021, 05:26 AM   #2
pbadillo555
LQ Newbie
 
Registered: Aug 2021
Posts: 11

Original Poster
Rep: Reputation: Disabled
i installed the xf86-video-vmware driver as virtualbox ver 6.1.26 uses VMSVGA for the display adaptor.

xserver starts now, but all I get is a bare bone X environment with three terminals.

I tried these two settings for .xinirc

exec ck-launch-session startxfce4
, next I tried exec /usr/local/bin/startxfce4

I did the same for .xsession as well. Same thing.


On a positive note, xfce4 worked in openbsd 6.9.

I mean, freebsd is supposedly the bigger, more popular of the BSDs. Weird...

Last edited by pbadillo555; 09-17-2021 at 05:27 AM.
 
Old 09-17-2021, 07:01 AM   #3
maw_walker
Member
 
Registered: Jul 2021
Location: US
Distribution: FreeBSD, Kali
Posts: 106

Rep: Reputation: Disabled
Nothing wrong with FreeBSD - it will run any window manager or desktop you'd like, including those with Wayland, although I never understood why, but that is another topic. There is an issue with your set up probably. I don't run FreeBSD with X so can't really help in that regard. Perhaps ask the question over at the FreeBSD Forums.
 
Old 09-17-2021, 09:17 AM   #4
enigma9o7
Senior Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi Linux
Posts: 1,056

Rep: Reputation: 421Reputation: 421Reputation: 421Reputation: 421Reputation: 421
GhostBSD comes with Mate preinstalled....
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2021-09-17 07-15-44.jpg
Views:	10
Size:	138.7 KB
ID:	37221  
 
Old 09-17-2021, 11:52 AM   #5
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
You waited until the fourth paragraph before dropping it in there that you're running FreeBSD in some crap x86 VM solution...

A lot of these big bloated desktops require hardware accel and/or other services such as dbus, the /proc file systen or whatever else - and even then they're designed for systemd/Linux. Hence why fluxbox or simple window managers will work whereas those may not.

It's not clear whether you're using a display manager or issuing startx from a terminal?

enigma9o7, GhostBSD is irrelevant.
 
1 members found this post helpful.
Old 09-17-2021, 03:12 PM   #6
enigma9o7
Senior Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi Linux
Posts: 1,056

Rep: Reputation: 421Reputation: 421Reputation: 421Reputation: 421Reputation: 421
Quote:
Originally Posted by cynwulf View Post
You waited until the fourth paragraph before dropping it in there that you're running FreeBSD in some crap x86 VM solution...

A lot of these big bloated desktops require hardware accel and/or other services such as dbus, the /proc file systen or whatever else - and even then they're designed for systemd/Linux. Hence why fluxbox or simple window managers will work whereas those may not.

It's not clear whether you're using a display manager or issuing startx from a terminal?

enigma9o7, GhostBSD is irrelevant.
OP tried openbsd cuz he couldnt get a window manager running, so he wasnt stuck on freebsd or something, and mate was one of the desktops he tried. So ghostbsd might possibly be an option, you're not OP are you, so how would you know what might be relevant? Plus its freebsd based... if OPs purpose was to make sure something compiles or runs under freebsd, it would be fine.

Anyways OP your issue is probably cuz of using VMSVGA in Virtualbox... instead use VboxSVGA, it recommends in the wiki...
https://wiki.freebsd.org/VirtualBox
https://docs.freebsd.org/en/books/ha...est-virtualbox
Attached Thumbnails
Click image for larger version

Name:	2021-09-17-131602.png
Views:	4
Size:	16.3 KB
ID:	37223  

Last edited by enigma9o7; 09-17-2021 at 03:21 PM.
 
Old 09-17-2021, 05:12 PM   #7
pbadillo555
LQ Newbie
 
Registered: Aug 2021
Posts: 11

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by cynwulf View Post
You waited until the fourth paragraph before dropping it in there that you're running FreeBSD in some crap x86 VM solution...

A lot of these big bloated desktops require hardware accel and/or other services such as dbus, the /proc file systen or whatever else - and even then they're designed for systemd/Linux. Hence why fluxbox or simple window managers will work whereas those may not.

It's not clear whether you're using a display manager or issuing startx from a terminal?

enigma9o7, GhostBSD is irrelevant.
Xfce4 and Mate are not heavy desktop managers like KDE plasma or gnome. And xfce4 works in openbsd ver 6.9 with dbus and proc enabled.

In the VM, I gave 3GB for ram and 3 CPUs for freeebsd.That's enough for a freebsd system.

Openbsd worked fine with xfce4, dbus and proc enabled and with just 2GB ram and 2 CPUs.

Like I said, these desktops worked fine in freebsd 11 and under.

Last edited by pbadillo555; 09-17-2021 at 05:14 PM.
 
Old 09-17-2021, 05:23 PM   #8
pbadillo555
LQ Newbie
 
Registered: Aug 2021
Posts: 11

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by enigma9o7 View Post
OP tried openbsd cuz he couldnt get a window manager running, so he wasnt stuck on freebsd or something, and mate was one of the desktops he tried. So ghostbsd might possibly be an option, you're not OP are you, so how would you know what might be relevant? Plus its freebsd based... if OPs purpose was to make sure something compiles or runs under freebsd, it would be fine.

Anyways OP your issue is probably cuz of using VMSVGA in Virtualbox... instead use VboxSVGA, it recommends in the wiki...
https://wiki.freebsd.org/VirtualBox
https://docs.freebsd.org/en/books/ha...est-virtualbox
I tried to use the other display adapters like VBoxSVGA and VBoxVGA but it defaults back to VMSVGA.

When I select VBoxSVGA or VBoxVGA and click OK, The VM shows VMSVGA as the default. It doesn't let me change the adapter type.

And, I'm using the latest version of virtualbox and it's extension pack.

Weird...lol

P.S I never tried ghostbsd. The only BSDs I ever tried were freebsd, openbsd, netbsd and pcBSD.

I used these BSDs in VM mostly as linux is my main OS.

If there is no solution then I'll stick to fluxbox in freebsd or use openbsd instead.

Last edited by pbadillo555; 09-17-2021 at 05:30 PM.
 
Old 09-17-2021, 06:22 PM   #9
jggimi
Member
 
Registered: Jan 2016
Distribution: None. Just OpenBSD.
Posts: 271

Rep: Reputation: 140Reputation: 140
Quote:
Originally Posted by pbadillo555 View Post
And xfce4 works in openbsd ver 6.9 with dbus and proc enabled.
OpenBSD does not have a /proc structure. It did at one time, but it was problematic, unmaintained, and was removed more than 7 years ago.

X failures, if any, should be listed in /var/log/Xorg.0.log

Last edited by jggimi; 09-17-2021 at 06:24 PM. Reason: typo
 
Old 09-17-2021, 08:19 PM   #10
enigma9o7
Senior Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi Linux
Posts: 1,056

Rep: Reputation: 421Reputation: 421Reputation: 421Reputation: 421Reputation: 421
Quote:
Originally Posted by pbadillo555 View Post
When I select VBoxSVGA or VBoxVGA and click OK, The VM shows VMSVGA as the default. It doesn't let me change the adapter type.
There's no reason you shouldn't be able to change it, unless you're trying to do it while the VM is running or something. Set it to VboxSVGA and give it 128MB VRAM should be ok....
 
Old 09-18-2021, 12:08 AM   #11
pbadillo555
LQ Newbie
 
Registered: Aug 2021
Posts: 11

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by enigma9o7 View Post
There's no reason you shouldn't be able to change it, unless you're trying to do it while the VM is running or something. Set it to VboxSVGA and give it 128MB VRAM should be ok....

I only change the display type when the OS is not running.

Anyway, it doesn't keep the change I made. I changed it to VBoxSVGA, then I click OK.

I double check to see if it kept the change, and it doesn't. It reverts back to VMSVGA.

I did a reinstall of virtualbox awhile back and it still reverts back to VMSVGA.


It could be a bug, or virtualbox doesn't work well in linux Mint 22.

PS" I changed the VRAM to 128MB and it kept that change. Virtualbox keeps the changes for other settings, but it won't keep the display setting. Weird?????

Anyway, even with 128MB of VRAM, freebsd 13 still won't load xfce4. I still get the bare bones X environment with three terminals.

fluxbox and blackbox are the only ones that work.

Last edited by pbadillo555; 09-18-2021 at 12:09 AM.
 
Old 09-18-2021, 01:55 AM   #12
pbadillo555
LQ Newbie
 
Registered: Aug 2021
Posts: 11

Original Poster
Rep: Reputation: Disabled
Thanks to all here for the replies and suggestions.

I spend many hours and tried many suggestions I found online and nothing worked.

I have removed freebsd 13 from the VM and will stick to openbsd 6.9 for now.

Hopefully, a future release like freebsd 14 or higher may work.

Again, thanks to all.
 
Old 09-18-2021, 10:44 PM   #13
pbadillo555
LQ Newbie
 
Registered: Aug 2021
Posts: 11

Original Poster
Rep: Reputation: Disabled
I fixed the issue. It wasn't freebsd 13. The culprit was having 3D acceleration enabled.

If 3D acceleration is enabled. It will not let me use VBoxVGA nor VBoxVGA. It reverts back to VMSVGA.

Once I disabled 3D acceleration. I can now use VboxSVGA. And it finally keeps that setting.

Now xfce4 loads up in FreeBSD.

Having 3D acceleration enabled and VMSVGA is no problem with linux as a guest OS. I have to remind myself that FreeBSD is not linux. Linux supports more drivers and features.

On the other hand, OpenBSD worked with 3D acceleration enabled and with VMSVGA. And it loaded xfce4.

Weird...lol

Last edited by pbadillo555; 09-18-2021 at 10:51 PM.
 
Old 09-19-2021, 12:00 AM   #14
enigma9o7
Senior Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi Linux
Posts: 1,056

Rep: Reputation: 421Reputation: 421Reputation: 421Reputation: 421Reputation: 421
For the record, you should still be able to enable acceleration on that driver; I have it enabled on my ghostbsd VM. But I dunno if its actually working or not; it does work on xp but only with old version of virtualbox (not 6.1; i think only 5.x?) so back when I was testing games on windows I used another version of virtualbox for that.... but anyways unless yer playing games in VM tho 3D doesnt really matter much.
Attached Thumbnails
Click image for larger version

Name:	shot-2021-09-18_21-59-24.jpg
Views:	4
Size:	225.9 KB
ID:	37229  
 
Old 09-19-2021, 01:14 AM   #15
pbadillo555
LQ Newbie
 
Registered: Aug 2021
Posts: 11

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by enigma9o7 View Post
For the record, you should still be able to enable acceleration on that driver; I have it enabled on my ghostbsd VM. But I dunno if its actually working or not; it does work on xp but only with old version of virtualbox (not 6.1; i think only 5.x?) so back when I was testing games on windows I used another version of virtualbox for that.... but anyways unless yer playing games in VM tho 3D doesnt really matter much.
I don't know what the developers are doing with virtualbox.

At least with my version of virtualbox 6.1.26, if 3D is enabled I cannot use VBoxSVGA nor VBoxVGA. It will revert back to VMSVGA. For me to use VBoxSVGA/VBoxVGA, I need to disable 3D.

The weird part is that openBSD worked with 3D and VMSVGA on. And xfce4 loaded as well.

PS: I don't do gaming in virtual machines, it's resource intensive. I do gaming on my linux host using MAME. I love the old classic MAME arcade games.

Last edited by pbadillo555; 09-19-2021 at 01:29 AM.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
DOSBox refuses to load any conf file except original seannachie Debian 8 07-06-2016 02:43 PM
My Dell PE2650 server won't load any distro except rh psychie devwink Linux - Hardware 8 12-30-2008 05:11 PM
Websites load slow, but once they load, any links inside them load fast smurcoch Mandriva 3 02-06-2006 12:47 AM
Fluxbox error /usr/share/fluxbox/nls/en_GB/fluxbox.cat humbletech99 Debian 2 12-29-2005 10:16 AM
FreeBSD dual screen xorg fluxbox garnser *BSD 1 12-04-2004 11:40 PM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 07:28 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