LinuxQuestions.org
Help answer threads with 0 replies.
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 01-21-2006, 01:10 PM   #1
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
FreeBSD 6.0 X server configuration problems


Hi people, I've just successfully installed FreeBSD 6.0 (3rd time lucky ) and am having problems configuring X.org. I followed the instructions in the handbook, both editing xorg.conf by hand and then using xorgcfg but it doesn't seem to like it. When I do a "startx", I see the following lines:

xauth: (argv):1: bad display name "nick.Belkin:0" in "list" command
xauth: (stdin):1: bad display name "nick.Belkin:0" in "add" command.

After this, the server looks like it's starting, but all I see are loads of vertical lines, coloured in different shades of green.

For HorizSync and VertRefresh settings in xorg.conf, I tried to use the same values as I use in Slackware (this is ok, right? It just depends on the hardware so it should be, at least this is my thinking), but this didn't make a difference.

Graphics card: NVIDIA GeForce 6600 256 MB, monitor: Samsung SyncMaster 753s.

Xorg.0.log and xorg.conf. I hope these links work. If not, does anyone know where I can host them temporarily? I don't have webspace of my own and they're a bit too long to post here.

Also, how do I become root in FreeBSD? When I try "su", it gives "nick su: BAD SU nick to root on /dev/ttyv0" :/. I mean, I can log in as root, but I should be able to use su as well, shouldn't I?

One last thing: I'm amazed with how little needed doing to configure my wireless card!

Any help appreciated, thanks.
 
Old 01-21-2006, 09:52 PM   #2
nutbag
LQ Newbie
 
Registered: Jul 2005
Location: ventura ca
Distribution: FreeBSD 6.1 and Debian etch
Posts: 23

Rep: Reputation: 15
Nylex,
I have had the similiar problems in the past. Sometimes it's just a matter of syntax in your xinitrc file. For example exec kde won't work, it's "start kde". Hopefully it's something that simple. As for your su problem, check which groups you but your user in. I haven't had any problems including my user in wheel and operator. Hope this helps.
 
Old 01-22-2006, 12:23 AM   #3
rehab junkie
Member
 
Registered: Nov 2003
Location: /var/local/pub/bar
Distribution: OSX 10.4.9
Posts: 259

Rep: Reputation: 30
Quote:
Originally Posted by Nylex
Also, how do I become root in FreeBSD? When I try "su", it gives "nick su: BAD SU nick to root on /dev/ttyv0" :/. I mean, I can log in as root, but I should be able to use su as well, shouldn't I?
Your user needs to be part of the wheel group in order to be able to su to root.
 
Old 01-22-2006, 02:22 AM   #4
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Original Poster
Rep: Reputation: Disabled
Ok, adding my user to the wheel group fixed that problem. I don't have an .xinitrc and tried to add "gdm_enable="YES"" to my /etc/rc.conf, so GDM is started on boot.. but no, I still get a messed up display. In my Xorg.0.log, I see loads of lines like

(II) NV(0): Not using default mode "1600x1200" (hsync out of range).

Why can't I use the same hsync as I do under Linux? I get the same message as above :/.

Edit: I've found my monitor manual and the values to be used for HorizSync and VertRefresh are given as 30-70 kHz and 50-160 Hz, respectively. Changing the values in xorg.conf to match these doesn't solve the problem.

Any more ideas? Thanks again.

Last edited by Nylex; 01-22-2006 at 05:27 AM.
 
Old 01-22-2006, 08:04 AM   #5
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Original Poster
Rep: Reputation: Disabled
Update: I seem to have found a fix. If I change the driver for my graphics card from "nv" to "vesa" and comment out the line reading "BusID "PCI:1:0:0"" in the Device section, all seems to be good and I can startx, seeing TWM .

Thanks to all who tried to help!
 
Old 01-22-2006, 02:00 PM   #6
cnjohnson
Member
 
Registered: Nov 2002
Location: Nashville
Distribution: FreeBSD, Linux, OS-X
Posts: 544

Rep: Reputation: 30
I would still encourage you to experiment with the nvidia driver in the ports system.

Cheers--
Charles
 
Old 01-22-2006, 02:02 PM   #7
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Original Poster
Rep: Reputation: Disabled
Someone else also suggested that (on another forum). I may do, when I get used to using ports!

Thanks .
 
Old 01-22-2006, 08:09 PM   #8
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora, Lubuntu, FreeBSD
Posts: 3,930
Blog Entries: 5

Rep: Reputation: Disabled
Quote:
...when I get used to using ports!
Easy to get used to. In fact, as easy as typing:
Code:
cd /usr/ports/port_dir_here
make && make install clean
Dependencies are solved for you.



Read here to learn more: http://www.freebsd.org/doc/en_US.ISO...rts-using.html
 
  


Reply

Tags
ports


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
ipf freeBSD firewall configuration lord-fu *BSD 11 10-10-2005 08:04 AM
Problems with RH9 samba server configuration tool plunday Linux - Networking 7 08-31-2004 10:30 PM
Mysql problems keeps coming on FreeBSD server!! apache *BSD 1 07-06-2004 07:57 PM
Xnest: Remote X-Server Configuration Problems shinacalypse Linux - Newbie 1 04-30-2004 01:12 PM
FreeBSD x server problems razod *BSD 5 07-20-2003 08:16 PM


All times are GMT -5. The time now is 06:18 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration