LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-06-2017, 12:10 AM   #1
LouCFur
LQ Newbie
 
Registered: Oct 2017
Posts: 12

Rep: Reputation: Disabled
Question Please, Need help configuring X.org on FreeBSD


I have a Toshiba Satellite C55t-B5230 and I am trying to add x11/xorg to my FreeBSD base installation so that I can have a GUI. I want to be able to watch movies, browse web (w/ something other than elinks or lynx), listen to music etc... do things I can't do on the command line. I have installed xorg (# pkg install xorg) and all of its dependencies but when I try to start X by giving the command:
% startx
I get output saying that I can't connect to X-server and a bunch of other things, here is a copy of the output:

root@Alderaan:~# startx
xauth: file /root/.serverauth.945 does not exist



X.Org X Server 1.18.4
Release Date: 2016-07-19
X Protocol Version 11, Revision 0
Build Operating System: FreeBSD Alderaan.System 11.1-RELEASE FreeBSD 11.1-RELEASE #0 r321309: Fri Jul 21 02:08:28 UTC 2017 root@releng2.nyi.freebsd.org:/usr
/obj/usr/src/sys/GENERIC amd64
Build Date: 03 October 2017 09:22:31AM

Current version of pixman: 0.34.0
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Oct 5 20:40:58 2017
(==) Using default built-in configuration (39 lines)
scfb trace: probe start
scfb trace: probe done
(EE)
Fatal server error:
(EE) Cannot run in framebuffer mode. Please specify busIDs for all framebuffer devices
(EE)
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
root@Alderaan:~#

As you can probably guess, I am sorta new to this so I would appreciate any help at all. I'm guessing I need to make a configuration file(s) and maybe install some drivers but I really have no idea and am having a really hard time finding answers online so I thought I'd ask here. If anyone can give me some guidance here I would greatly appreciate it.

Thanks,

Lou
 
Old 10-07-2017, 05:43 AM   #2
fatmac
Senior Member
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: AntiX
Posts: 2,347

Rep: Reputation: Disabled
See your other post.
 
Old 10-07-2017, 05:04 PM   #3
LouCFur
LQ Newbie
 
Registered: Oct 2017
Posts: 12

Original Poster
Rep: Reputation: Disabled
Out of curiosity I gotta ask, why Devuan? Ive read its a good distro but why do you recommend it?
 
Old 10-07-2017, 05:23 PM   #4
sevendogsbsd
Member
 
Registered: Sep 2017
Location: Texas
Distribution: OpenSuse
Posts: 153

Rep: Reputation: Disabled
You should not be connecting to X using the root user. Do you have a regular user? With a regular user, after installing the xorg package, you should bbe able to run "startx" and you will get 3 xterms in the "twm" window manager.
 
Old 10-07-2017, 06:32 PM   #5
LouCFur
LQ Newbie
 
Registered: Oct 2017
Posts: 12

Original Poster
Rep: Reputation: Disabled
I do have a regular user but when i run startx, i get the same error messages as with the root user.
Should i include a copy of the /var/log/Xorg.0.log file?

Last edited by LouCFur; 10-07-2017 at 06:36 PM. Reason: Wanted to ask if log file would be useful
 
Old 10-07-2017, 07:06 PM   #6
sevendogsbsd
Member
 
Registered: Sep 2017
Location: Texas
Distribution: OpenSuse
Posts: 153

Rep: Reputation: Disabled
Do you have an xorg.conf file? What type of video card do you have?
 
Old 10-07-2017, 08:24 PM   #7
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, puppy, ubuntu
Posts: 2,396

Rep: Reputation: 355Reputation: 355Reputation: 355Reputation: 355
https://www.freebsd.org/doc/en_US.IS.../x-config.html
https://www.freebsdfoundation.org/fr...nt-on-freebsd/
Quote:
Should i include a copy of the /var/log/Xorg.0.log file?
Yes, that file tells what is happening with Xorg.

Last edited by colorpurple21859; 10-07-2017 at 08:27 PM.
 
Old 10-07-2017, 09:08 PM   #8
sevendogsbsd
Member
 
Registered: Sep 2017
Location: Texas
Distribution: OpenSuse
Posts: 153

Rep: Reputation: Disabled
xorg.conf is no longer necessary. Try renaming the file to save it and see what the results are.

Last edited by sevendogsbsd; 10-07-2017 at 09:10 PM.
 
Old 10-07-2017, 09:46 PM   #9
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, puppy, ubuntu
Posts: 2,396

Rep: Reputation: 355Reputation: 355Reputation: 355Reputation: 355
Quote:
xorg.conf is no longer necessary. Try renaming the file to save it and see what the results are.
Not always true if Xorg probing doesn't get it right. Sometimes some sort of configuration file is needed to get Xorg working. If more than one configuration file is needed in xorg.conf.d then sometimes it is easier working with one file instead of multiple files.
 
Old 10-07-2017, 09:54 PM   #10
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 13,704
Blog Entries: 22

Rep: Reputation: 3601Reputation: 3601Reputation: 3601Reputation: 3601Reputation: 3601Reputation: 3601Reputation: 3601Reputation: 3601Reputation: 3601Reputation: 3601Reputation: 3601
Have you consulted the FreeBSD Handbook? https://www.freebsd.org/doc/en_US.IS...dbook/x11.html

If so, what have you done so far and where in the configuration process is the problem?

When I installed FreeBSD (in a VM), I followed the Handbook's directions and ran into no issues.

Last edited by frankbell; 10-07-2017 at 09:55 PM.
 
Old 10-09-2017, 07:33 AM   #11
fatmac
Senior Member
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: AntiX
Posts: 2,347

Rep: Reputation: Disabled
Quote:
Originally Posted by LouCFur View Post
Out of curiosity I gotta ask, why Devuan? Ive read its a good distro but why do you recommend it?
Just called back in & saw this, I use both systemd free systems, AntiX (Debian based) & Vuu-Do (Devuan based).
Devuan is doing its best to keep a Debian like OS free from the systemd cancer, that is why I have it in my sig.
 
Old 10-12-2017, 10:16 AM   #12
LouCFur
LQ Newbie
 
Registered: Oct 2017
Posts: 12

Original Poster
Rep: Reputation: Disabled
Hello,
Sorry it took so long to reply but I have some info that may be useful. I am a complete newb so I can't understand everything in the file yet, but from what I can gather it seems to be that I need to make some configuration files to get xorg to detect the screen (among other issues). However, I really don't know exactly which config files to make and I have no examples of what a proper config file should look like/how it should be formatted. I'm gonna look through the handbook again for info about how to make X.org manual config files, but if anybody knows how to do this any advice would be appreciated.

Here is a copy of the "/var/log/Xorg.0.log" file from when I try to run 'startx' on the command line:



[ 69.366]
X.Org X Server 1.18.4
Release Date: 2016-07-19
[ 69.367] X Protocol Version 11, Revision 0
[ 69.367] Build Operating System: FreeBSD 11.0-RELEASE-p12 amd64
[ 69.367] Current Operating System: FreeBSD Cloudcity.system 11.1-RELEASE FreeBSD 11.1-RELEASE #0 r321309: Fri Jul 21 02:08:28 UTC 2017 root@releng2.nyi.freebsd.org
[ 69.367] Build Date: 10 October 2017 01:14:51AM
[ 69.367]
[ 69.367] Current version of pixman: 0.34.0
[ 69.367] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 69.367] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 69.368] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Oct 11 06:49:15 2017
[ 69.518] (==) Using config directory: "/usr/local/etc/X11/xorg.conf.d"
[ 69.519] (==) Using system config directory: "/usr/local/etc/X11/xorg.conf.d"
[ 69.536] (==) No Layout Section. Using the first Screen section.
[ 69.536] (==) No screen section available. Using defaults.
[ 69.536] (**) |-->Screen "Default Screen Section" (0)
[ 69.536] (**) | |-->Monitor "<default monitor>"
[ 69.546] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[ 69.546] (**) | |-->Device "Card0"
[ 69.546] (**) | |-->GPUDevice "Card0"
[ 69.546] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 69.547] (==) Automatically adding devices
[ 69.547] (==) Automatically enabling devices
[ 69.547] (==) Not automatically adding GPU devices
[ 69.553] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 69.633] (==) FontPath set to:
/usr/local/share/fonts/misc/,
/usr/local/share/fonts/TTF/,
/usr/local/share/fonts/OTF/,
/usr/local/share/fonts/Type1/,
/usr/local/share/fonts/100dpi/,
/usr/local/share/fonts/75dpi/
[ 69.633] (==) Module path set to "/usr/local/lib/xorg/modules"
[ 69.633] (II) The server relies on devd to provide the list of input devices.
If no devices become available, reconfigure devd or disable AutoAddDevices.
[ 69.644] (II) Loader magic: 0x813b70
[ 69.644] (II) Module ABI versions:
[ 69.644] X.Org ANSI C Emulation: 0.4
[ 69.644] X.Org Video Driver: 20.0
[ 69.644] X.Org XInput driver : 22.1
[ 69.644] X.Org Server Extension : 9.0
[ 69.644] (--) PCI:*(0:0:2:0) 8086:0f31:1179:f910 rev 14, Mem @ 0xd0000000/4194304, 0xc0000000/268435456, I/O @ 0x0000f080/8, BIOS @ 0x????????/65536
[ 69.644] (II) LoadModule: "glx"
[ 69.666] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[ 69.834] (II) Module glx: vendor="X.Org Foundation"
[ 69.834] compiled for 1.18.4, module version = 1.0.0
[ 69.834] ABI class: X.Org Server Extension, version 9.0
[ 69.834] (==) AIGLX enabled
[ 69.835] (II) LoadModule: "radeon"
[ 69.835] (II) Loading /usr/local/lib/xorg/modules/drivers/radeon_drv.so
[ 69.893] (II) Module radeon: vendor="X.Org Foundation"
[ 69.893] compiled for 1.18.4, module version = 7.9.0
[ 69.893] Module class: X.Org Video Driver
[ 69.893] ABI class: X.Org Video Driver, version 20.0
[ 69.894] (II) LoadModule: "vesa"
[ 69.894] (II) Loading /usr/local/lib/xorg/modules/drivers/vesa_drv.so
[ 69.904] (II) Module vesa: vendor="X.Org Foundation"
[ 69.904] compiled for 1.18.4, module version = 2.3.4
[ 69.904] Module class: X.Org Video Driver
[ 69.904] ABI class: X.Org Video Driver, version 20.0
[ 69.904] (II) RADEON: Driver for ATI/AMD Radeon chipsets:
####LONG LIST OF SUPPORTED CHIPSETS
[ 69.910] (II) VESA: driver for VESA chipsets: vesa
[ 69.910] (--) Using syscons driver with X support (version 2.0)
[ 69.910] (--) using VT number 9

[ 69.917] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 69.917] (EE) Screen 0 deleted because of no matching config section.
[ 69.917] (II) UnloadModule: "vesa"
[ 69.917] (EE) Device(s) detected, but none match those in the config file.
[ 69.917] (EE)
Fatal server error:
[ 69.918] (EE) no screens found(EE)
[ 69.918] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 69.918] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 69.918] (EE)
[ 69.924] (EE) Server terminated with error (1). Closing log file.



I hope this helps, I'm struggling with this and could use any help that anyone has to offer.

Thanks,
Lou

Last edited by LouCFur; 10-12-2017 at 10:18 AM.
 
Old 10-12-2017, 07:17 PM   #13
LouCFur
LQ Newbie
 
Registered: Oct 2017
Posts: 12

Original Poster
Rep: Reputation: Disabled
Also, in answer to a couple questions some members asked me. Yes, I have read through the handbook several times and the part where im stuck is: after i successfully install the xorg package and all its dependencies I try to run the command 'startx' and I get the error/failure message that I posted in my first post.
Also, I have not made a xorg.conf file yet(i get the feeling i will have make one soon) and my graphics card is an AMD Radeon HD 8210.
I hope these answers help.

Thanks,
Lou
 
Old 10-12-2017, 08:46 PM   #14
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, puppy, ubuntu
Posts: 2,396

Rep: Reputation: 355Reputation: 355Reputation: 355Reputation: 355
Did you look at this to see if your graphics card is supported by freebsd
https://wiki.freebsd.org/Graphics
 
Old 10-14-2017, 07:31 PM   #15
LouCFur
LQ Newbie
 
Registered: Oct 2017
Posts: 12

Original Poster
Rep: Reputation: Disabled
GPU is Intel HD NOT RADEON

Hello,
I made a mistake and said this toshiba satellite laptop has a 'radeon' gpu, when in fact it has an 'Intel HD Graphics' card, so I'm guessing I might need to get the driver software. Anyway, just wanted to clear up the issue with the graphics card, looking forward to hearing some suggestions about how to solve this problem.

Thanks,
Lou
 
  


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
freebsd problem configuring everything in gnome malanco *BSD 1 12-23-2008 02:22 PM
configuring gnome in FreeBSD jcai *BSD 2 11-15-2004 09:56 PM
configuring and freebsd router tandre *BSD 2 12-11-2003 03:25 AM
Configuring Freebsd's boot loader Inexactitude *BSD 0 11-29-2003 09:17 PM
configuring x on freeBSD porous *BSD 2 10-19-2003 09:23 AM

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

All times are GMT -5. The time now is 09:20 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration