How to install and configure a FreeBSD 8 Desktop with Xorg and KDE?

Hey all,

Check it an provide feedback as desired.

How to install and configure a FreeBSD 8 Desktop with Xorg and KDE?

Snippet....

I realize that PC-BSD exists, but sometimes, you need only FreeBSD without PBIs and you want it to do it all yourself because that is why you came to FreeBSD in the first place; to be an expert user and be able to set everything up yourself.

Requirements for Success
To consider the desktop a success, the user should be able to do the following after installation:

1. Have a graphical login screen.
2. Auto-mount CD/DVD and USB drives.
3. Connect a USB drive and read and write to it.
4. Browse the web with Firefox.
5. Create a document with Open Office.
6. Play an mp3.


Read more . . .
 
Great Howto! ;)

Btw there's no steps to turn on anti aliasing :) it would be if you mention how to turn on anti aliasing as well
 
Wow, looks great. If I ever decide again I want automounting, I'll copy-pasta the config files. xD

Anyway, a few, hopefully constructive, comments.

Add dbus to /etc/rc.conf. Either use easy editor, or use the following shell command to add it without using and editor.
Code:
FBSD# 	echo 'hald_enable="YES"' >> /etc/rc.conf

This step is about adding HAL, but the description says dbus.

Open Office: It's not really necessary to build your own, killasmurf86 built binary packages for FBSD-8.

Xmms:
FreeBSD has a binary package for K3b, so to install it you only have to run one command:

You meant Xmms there, not K3b.

Also, Xmms is pretty old-skool.. If we are to build a pretty Windows-like KDE desktop, I would heartily recommend Amarok. Though I remember there being some obstacles in getting Amarok 2 under KDE 4 to run properly.. Maybe an idea for an article? x)

I don't mean to be a nit-picker here, just the few typos there confused me for a moment while I was reading it. :)
 
Thanks...

I fixed the errors you mentioned.

Yeah, I used to always use xmms because it had an alarm clock plugin, but your right, it is old school.

Also juK plays MP3s just fine so I just removed the xmms section altogether and just comment that KDE4 comes with juK so you don't need to install a player.
 
First of all i wanna thank rhyous for the excellent tutorial.
Now i have a few questions, i did all the steps to automoung usb devices and cdroom devices, it works great with cd and dvd devices, but for USB it only mount correctly a kingston 2gb pendrive... when i plug a kingston 4gb pendrive it did not recognize it, the same happens with a sony usb pendrive.

another thing... when i boot in free bsd it appears 2 login screens, and i have to put my login password twice, how can i get rid of one of this screens ?

thank you in advance and sorry for my bad english.
 
...I did all the steps to automoung usb devices and cdroom devices, it works great with cd and dvd devices, but for USB it only mount correctly a kingston 2gb pendrive... when i plug a kingston 4gb pendrive it did not recognize it, the same happens with a sony usb pendrive.

If you notice that we entered a bunch of devices in the /etc/devfs.conf

Usually a USB stick comes in as /dev/da# (/dev/da0, /dev/da1, etc.). But sometimes they come in differently using different letters.

When you plug in the device, how does it show up under /dev. Is it /dev/da# or is it /dev/usb#?

Maybe you just need to add a section in the /etc/devfs.conf for you device (just copy the section with /dev/da# and change the da to your letters.

Also PC-BSD has a file I didn't include called /etc/devfs.rules and it has the following text. I have never needed anything else but what I configured, but like you said, it works for one of your USB devices but not the other. Maybe this file is needed for your USB device:

Code:
[devfsrules_common=7]
add path 'ad*' mode 666 group operator
add path 'acd*' mode 666 group operator
add path 'cd*' mode 666 group operator
add path 'pass*' mode 666 group operator
add path 'xpt*' mode 666 group operator
add path 'ugen*' mode 666 group operator
add path 'usb*' mode 666 group operator
add path 'lpt*' mode 666 group cups
add path 'ulpt*' mode 666 group cups
add path 'unlpt*' mode 666 group cups
add path 'fd*' mode 666 group operator
add path 'uscan*' mode 666 group operator
 
another thing... when i boot in free bsd it appears 2 login screens, and i have to put my login password twice, how can i get rid of one of this screens ?

When you say you see two login screens, do you mean you see a shell login screen and then you see the GUI KDM login screen?

If so, this just means that KDM takes a little long to load on your device so the shell-based login screen is showing up.

If you mean something else, please explain further.
 
rhyous said:
When you plug in the device, how does it show up under /dev. Is it /dev/da# or is it /dev/usb#?

my devices are : /dev/da1 and /dev/da2

i made the file /etc/devfs.rules with the code you gave me and still nothing.

I have 2 of the following screens


i have to put my pass twice, first it appears one, it waits until y enter the right password, and then another appears y put the password and finally it loads KDE.

When i installed KDM for the first time, i had a problem during the installation it opens x window with the X only, and no kde, so i opened a second console and did the steps again. can this be the root of my problem ?

Another thing... when i boot in free bsd it appears a error message and it waits for almost 20 seconds and then boots correctly.
this is the error


Thanx for your help, please tell me if i can post something that could help you to understand how it is configured.
 
Package Selection X11 is Not there!

Hello! Needing some pointers please for missing Xorg package..

- I'm all the way in to #38 and Epic Fail, 2 CDs/ISOs and 4 installs..
- at #38 I get no option for the needed X11/Xorg working for KDE4.5

Simple Goal: FreeBSD, KDE 4.5, Amanda Backup

Pogress before halted:

- Download/Extract/Burn >> 1,996,298,670 FreeBSD-8.1-RELEASE-i386-dvd1.iso.gz
- Just over 2GB the largest install source, (also tried Disk1 645MB)
- Booted/Installed, Sucess through #11 Custom Distributions..
- I've selected; base, kernal/generic, doc, man, ports..
- Installing from CD/DVD to whole disk, no issues..
- Setup IP/Hostname etc. for Backup Server and the rest
- SSH and all the recommended selections..
- THEN - YES to FreeBSD package selection over 19,000 etc YES to Browse All!
- I see no X11, KDE4, xorg-7 etc. it looks like it's all DOCS to me..

I selected more than that I believe during Custom Distributions even going back in a number of times to be sure "ports" was still selected..
Thank you!
jc
 
Thanks again!

Excellent thanks for the setup and the pointers..

It looks like FreeBSD Package collection packages goes online is that correct..?

Reason is on my 3rd try, from home this time, X11 and everything I was looking for in the tutorial was there as expected!

We do have WebSense running and some other at work and seems like was blocking some content on me.

Thanks again!
jc
 
Thanks :)) !
The automounting part was of great help.
I installed it all before this reading, and I had a problem configuring my nVidia card with 2 monitors in X (single desktop extended on 2 monitors). Spent all day, in the end it proved to be the matter of which monitor of those connected to my dual head GeForce 7600 GS must be assigned to "Monitor0" and which to "Monitor1" for Screens 0 and 1 respectively, as in:

Code:
Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" LeftOf "Screen1" 
    Screen      1  "Screen1" 0 0 
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

For some reason, this option "RightOf" vs "LeftOf" could be only the one, and NOT the other (unlike my Linux installation, where I took my xorg.conf from). Until I used the correct one, the mouse would only access one screen, and hang the X server on trying to access the other.

So, those having this mouse hanging problem may check it out.
 
RE: thank you

I read your article how to install and configure a FreeBSD desktop with Xorg and KDE. Thank you. After reading it carefully I have discovered what I may have not been doing correctly to get Gnome to be configured as a GUI and therefore may have answered my thread about my inability to install packages/ports on my salvaged x386 Compaq system. Thank you.:)
 
vermaden said:
The same 'howto' in one line: download PC-BSD and click 'install' and then 'reboot' ;)

I've used PC-BSD since version .0.7.5, am on my PC-BSD 9.0 Isotope box now and love it, but a couple weeks ago built FreeBSD 7.4 with Fluxbox as the desktop for the first time from scratch and must say I've learned more about UNIX in the past 2 weeks than the past 7 years.
 
Trihexagonal said:
I've used PC-BSD since version .0.7.5, am on my PC-BSD 9.0 Isotope box now and love it, but a couple weeks ago built FreeBSD 7.4 with Fluxbox as the desktop for the first time from scratch and must say I've learned more about UNIX in the past 2 weeks than the past 7 years.

Yeah, that's the 'problem' when everything works automatically. You don't have to think about what you're doing. Some people just want a system that works, for them PC-BSD is perfect. Others (like me) want to know why and how it works ;)
 
I wanted to add that I used this tutorial to do it, and while I could have done the build on my own there were many after install tasks I wouldn't have had any way of knowing about or how to get done without it.
 
I am a big fan of PC-BSD. I hope that my article in no way diminishes PC-BSD, and I would like to think I am a big PC-BSD promoter. I believe the first line gives a shout out to PC-BSD and clearly states that this is for those who "want to do it all yourself".
 
Back
Top