LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 07-22-2019, 04:51 PM   #1
Linux Hal
LQ Newbie
 
Registered: Jul 2012
Posts: 12

Rep: Reputation: Disabled
fail to connect to xorg


I can't install xorg in FreeBSD 12. The message says "xinit: giving up; xinit: unable to connect to X server: connection refused; xinit: server error". It then refers me to wiki.x.org. Does anyone know why BSD can't download xorg?
 
Old 07-22-2019, 08:21 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,324
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
Have you installed X? It's not in FreeBSD out-of-the-box.

https://www.freebsd.org/doc/en_US.IS...dbook/x11.html
 
Old 07-23-2019, 12:38 AM   #3
Hannes Worst
Member
 
Registered: Jul 2008
Location: Tilburg, The Netherlands
Distribution: Void Linux, Slackware, Nixos
Posts: 179

Rep: Reputation: 122Reputation: 122
What computer are you on, what hardware are you using? It could be, you need to install the correct videodrivers. Please give us details.
 
Old 07-23-2019, 10:53 AM   #4
Linux Hal
LQ Newbie
 
Registered: Jul 2012
Posts: 12

Original Poster
Rep: Reputation: Disabled
I have two Samsung 500 Gb SSD and 16 Gb of ram. I do not know what you mean by X. Is that xorg? All I
can say is that I successfully downloaded xorg before and had both KDE and XFCE on each SSD, but but now all I get when trying to get a GUI is what I described above.
 
Old 07-23-2019, 11:10 AM   #5
jggimi
Member
 
Registered: Jan 2016
Distribution: None. Just OpenBSD.
Posts: 289

Rep: Reputation: 169Reputation: 169
Let's avoid further confusion. X.Org is an implementation of the X Window System, sometimes named by its version number, X11.

On FreeBSD, you install X.Org (X11, or the X Window System) after having already installed the OS. There are three ways to install it, as outlined on this page --->>> https://www.freebsd.org/doc/en_US.IS...x-install.html

Which method did you use?

Last edited by jggimi; 07-23-2019 at 11:11 AM.
 
Old 07-23-2019, 01:12 PM   #6
Linux Hal
LQ Newbie
 
Registered: Jul 2012
Posts: 12

Original Poster
Rep: Reputation: Disabled
I downloaded the binary pkg with # pkg install xorg command. As I previously said, I have obtained
xorg in the past and had a GUI, but now I can't. It seems like xorg will not allow me to use the xorg server.
 
Old 07-23-2019, 01:32 PM   #7
Slackware_fan_Fred
Member
 
Registered: Oct 2018
Distribution: Slackware64-14.2 Multilib
Posts: 113

Rep: Reputation: 34
I've always wondered why Does FreeBSD not come with xorg and at-least one desktop? Why not do like Slackware and give people the option to install them from the start or go cli only. IMO having it with no xorg and gui would just turn people away from trying it.
 
Old 07-23-2019, 02:25 PM   #8
jggimi
Member
 
Registered: Jan 2016
Distribution: None. Just OpenBSD.
Posts: 289

Rep: Reputation: 169Reputation: 169
I'm not a FreeBSD user, so this is just conjecture, but the separate installation and provisioning required might account for the popularity of "desktop-included" FreeBSD distributions like GhostBSD and TrueOS.

After the installation page in the Handbook I referenced above, there's a page for configuring, a page for fonts, a page for the display manager, a page for window managers, a page for a compositor, and a page for troubleshooting.

Last edited by jggimi; 07-23-2019 at 02:27 PM. Reason: typo
 
Old 07-23-2019, 08:36 PM   #9
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,324
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
OP, have you checked the log files? They ouoght to offer some clues.

Slackware_fan_Fred, I suspect the answer to your question is that FreeBSD is more likely to be used as a server OS than a desktop OS. As an aside, I ran FreeBSD in a VM for a while. I found putting together the system a marvelous learning experience. The FreeBSD Handbook is one of the best pieces of documentation I've seen.

Last edited by frankbell; 07-23-2019 at 08:40 PM.
 
Old 07-24-2019, 01:02 AM   #10
Hannes Worst
Member
 
Registered: Jul 2008
Location: Tilburg, The Netherlands
Distribution: Void Linux, Slackware, Nixos
Posts: 179

Rep: Reputation: 122Reputation: 122
My best guess it is about the videocard. The link Jggimi posted gives a clue about how to handle them. Checking the Xorg.0.log files as Frankbell suggested is also worthwhile.
 
Old 07-24-2019, 10:35 AM   #11
Linux Hal
LQ Newbie
 
Registered: Jul 2012
Posts: 12

Original Poster
Rep: Reputation: Disabled
To answer the shebang question the first line is ! /bin/sh. How can my problem
be the videocard if I can still get a GUI if I install a linux distro? If BSD
is primarily for servers, am I barking up the wrong tree to run BSD as a desktop
OS? If so what is the most secure linux distro? Since I heavily depend on this
single app (6.5 hours per weekday) I am considering buying a low priced Windows laptop with 12 Gb of ram just to run this single app.
 
Old 07-24-2019, 11:06 AM   #12
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
Without posting any useful command output or log file contents, you are quite simply pissing in the wind in expecting others to come up with ideas to resolve this for you.

Your choices are simple:

1) examine the log files, read the handbook and learn to set up the OS
2) Use Linux / another OS to achieve whatever it is you're trying to achieve
 
Old 07-24-2019, 11:50 AM   #13
Slackware_fan_Fred
Member
 
Registered: Oct 2018
Distribution: Slackware64-14.2 Multilib
Posts: 113

Rep: Reputation: 34
Quote:
Originally Posted by Linux Hal View Post
To answer the shebang question the first line is ! /bin/sh. How can my problem
be the videocard if I can still get a GUI if I install a linux distro? If BSD
is primarily for servers, am I barking up the wrong tree to run BSD as a desktop
OS? If so what is the most secure linux distro? Since I heavily depend on this
single app (6.5 hours per weekday) I am considering buying a low priced Windows laptop with 12 Gb of ram just to run this single app.
I'm of no help on BSD since I've never used it but you could give MidnightBSD a try if you prefer BSD over Linux, the maker of it has a video on Youtube on how to install XFCE... if I remember.
https://www.midnightbsd.org/
 
Old 07-24-2019, 01:39 PM   #14
Linux Hal
LQ Newbie
 
Registered: Jul 2012
Posts: 12

Original Poster
Rep: Reputation: Disabled
I am sorry for wasting the time of the members who tried to help me. Since I had
previously installed xorg in FreeBSD 12, I thought the problem was not that difficult, but I have been shown the contrary. Regarding the comment of cynwulf "expecting others to come up with ideas to resolve this for you" I would like to
say that I found nothing in the FreeBSD documentation that could help me. I know
the open souce intellects like to say RTFM. I have a response to that acronym
with another acronym and that is YDKWYDK and it means You Do Not Know What You Do Not Know. In other words if you can't find it in the manual, what are you to do?

cynwulf, I was looking for help not charity. Your super intelligence and arrogance reminds me of two others prominent in the computer field-Bill Gates and Mark Zuckerberg. I will plod on with my open source efforts but I will no longer
waste LQ's time. I find it ironic that when I installed FreeBSD it congratulates me and urges me to pass a copy along to my friends. I will not do that to my friends!
 
Old 07-24-2019, 02:25 PM   #15
jggimi
Member
 
Registered: Jan 2016
Distribution: None. Just OpenBSD.
Posts: 289

Rep: Reputation: 169Reputation: 169
If you have not yet wiped the system, posting the contents of /var/log/Xorg.0.log might offer us some clues as to the source of the problem. If it's too late, or you're no longer interested in pursuing it further, I'm sorry, and I wish you better luck in the future.
 
  


Reply



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
[SOLVED] if [[ -n "$1" ]]; then FAIL FAIL FAIL rbees Programming 7 03-25-2015 02:39 PM
arch linux xorg fail e1e_ Linux - Newbie 6 09-21-2014 01:37 PM
LXer: Ubuntu Karmic fail report: Xorg update breaks screensaver on Intel 830m video LXer Syndicated Linux News 0 12-03-2009 02:11 AM
nVidia Drivers fail on Slackware 12 and Xorg 1.4 jroggow Slackware 2 11-10-2007 12:43 PM
Xorg, Xorg -configure fail kupek85 Linux - Software 3 08-05-2004 08:09 PM

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

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