*BSDThis forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I wen't to the FreeBSD handbook and did exactly what they said to do through the setting up of X and it fails when I do the command startx and all it says is
Code:
Fatal Server error: no screens found
X connection to :0.0 broken (explicit kill or server shutdown). xauth: (argv):1: bad display name ".sd.cox.net:0" in "remove" command
I am confused since I did exactly what it said and played around and tried new things and nothing works please help.
If not, the following command will create a _basic_ one for you:
Code:
XFree86 -configure
Otherwise, can you post your `/etc/XF86Config', please?
The error ``xauth: (argv):1: bad display name ".sd.cox.net:0" in "remove" command'' means it can't resolve your computers hostname. What you need to do is place that entry in your `/etc/hosts' file:
Ok yes I did run XFree86 -configure, but when I ran the command xf86cfg -textmode I figured it would edit the correct file that I needed to use. When I typed "startx" it would go blank then it would say in all the text that it was using the config file /etc/X11/XF86Config so I wen't and looked at that and it looked correct then I looked at the one you said and it's configured wrong. So how can I do the "xf86cfg -textmode" configuration tool but edit the correct file?
for the hostname is this fine?
127.0.0.1 localhost sd.cox.net?
If not please clarify I don't understand what you mean. ( maybe an example?)
Thanks in advance.
The manual page `xf86cfg' tells me the argument `-xf86config' is the XF86Config file to edit. Thus `xf86cfg -xf86config /etc/XF86Config -textmode' should do the trick.
Usage: xf86cfg [-option...]
options:
-xf86config <XF86Config> Alternate configuration file.
-modulepath <module-path> XFree86 modules location.
-serverpath <server-path> X server to start (if $DISPLAY is not defined).
-fontpath <font-path> Font path for fonts.
-rgbpath <rgb-path> Where the rgb.txt file is located.
-textmode Use this option for the text only interface.
-nomodules Use this option if xf86cfg is slow to start.
-verbose <number> Verbosity used in the loader (default 1)
-verify Verify modules/options integrity.
So then I tried "xf86cfg XF86Config -textmode" (first option) and I got the exact same code. Then I just did "cp /etc/X11/XF86Config /etc/XF86Config" and then did "startx" and got the exact same thing even with the changes made to the /etc/hosts file I got the same message about the hostname.
=/
ok I replaced the old subsections with the ones above.
I took out all the contradicting code in /etc/rc.conf the reason why I think it did that was just recently I changed the security level to shutdown sendmail ssh all that stuff cuz I didn't know it could be shutdown by editing this file and i used /stand/sysinstall Which I think messes up on some things here and there.
btw I did startx and it says exact same thing. Here is what the error log says
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.