LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   *BSD (https://www.linuxquestions.org/questions/%2Absd-17/)
-   -   FreeBSD 6.0 X server configuration problems (https://www.linuxquestions.org/questions/%2Absd-17/freebsd-6-0-x-server-configuration-problems-406222/)

Nylex 01-21-2006 01:10 PM

FreeBSD 6.0 X server configuration problems
 
Hi people, I've just successfully installed FreeBSD 6.0 (3rd time lucky :D) 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.

nutbag 01-21-2006 09:52 PM

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.

rehab junkie 01-22-2006 12:23 AM

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.

Nylex 01-22-2006 02:22 AM

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.

Nylex 01-22-2006 08:04 AM

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!

cnjohnson 01-22-2006 02:00 PM

I would still encourage you to experiment with the nvidia driver in the ports system.

Cheers--
Charles

Nylex 01-22-2006 02:02 PM

Someone else also suggested that (on another forum). I may do, when I get used to using ports!

Thanks :).

anomie 01-22-2006 08:09 PM

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


All times are GMT -5. The time now is 09:49 AM.