I‘m installing FreeBSD 10 Xorg and xfce4 desktop. But, getting the following error:

(EE) Failed to load module “fbdev” (module does not exist, 0)

How do I fix this problem on FreeBSD 10 amd64 based system?


Tutorial details
Difficulty level Easy
Root privileges Yes
Requirements FreeBSD
Est. reading time 2m
[/donotprint]You need to install the X.Org xf86-video-fbdev driver. This can be installed using either ports or binary package using the pkg command.

Fixing (EE) Failed to load module “fbdev” (module does not exist, 0) on a FreeBSD Xorg

Open the Terminal app and login as root user using su – command:
su -

Install the xf86-video-fbdev via the port

Type the following command:
# cd /usr/ports/x11-drivers/xf86-video-fbdev/
# make install clean

Install the xf86-video-fbdev via the binary package

Type the following command:
# pkg install x11-drivers/xf86-video-fbdev
# pkg install xf86-video-fbdev
Sample outputs:

Updating repository catalogue
The following 1 packages will be installed:
        Installing xf86-video-fbdev: 0.4.4_4
The installation will require 28 KB more space
11 KB to be downloaded
Proceed with installing packages [y/N]: y
xf86-video-fbdev-0.4.4_4.txz        100%   11KB  11.1KB/s  11.1KB/s   00:00    
Checking integrity... done
[1/1] Installing xf86-video-fbdev-0.4.4_4... done

Test new Xorg config

First, create an Xorg config file:
# Xorg -configure
This will generate a file named /root/xorg.conf.new which attempts to load the proper drivers for the detected hardware. Next, test that the automatically generated configuration file works with the graphics hardware by typing:
# Xorg -config xorg.conf.new -retro
If the test is successful, copy the configuration file to /etc/X11/xorg.conf:
# cp xorg.conf.new /etc/X11/xorg.conf


🐧 Get the latest tutorials on Linux, Open Source & DevOps via RSS feed or Weekly email newsletter.

🐧 0 comments... add one

CategoryList of Unix and Linux commands
Disk space analyzersdf ncdu pydf
File Managementcat cp mkdir tree
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network UtilitiesNetHogs dig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNAlpine CentOS 8 Debian 10 Firewall Ubuntu 20.04
0 comments… add one

Leave a Reply

Your email address will not be published.

Use HTML <pre>...</pre> for code samples. Still have questions? Post it on our forum