How to Install and run KDE

Hi,

Today I've decided to choose freebsd 13 as my desktop system, and now I want to ask for recepie to continue. I've typed in:
# pkg install graphics/drm-kmod # pkg install -y kde5 sddm xorg
What should I do after that steps if I wan't to just start desktop on startup with some login manager and use all KDE apps? And start moving out from my Windows.

Thank you very much
 
 
… What should I do after that steps …

After you ran each one of the commands, did you also do what was suggested in the on-screen package messages?

<https://community.kde.org/FreeBSD/Setup#Quick_start>

1638417705398.png

Also: <https://forums.freebsd.org/members/blind0ne.69149/#profile-post-3490>
 
finally, with some help, I seeng the KDE on my screen, but mouse and keyboard do not responding at all, so I'm forced to shutdown pc from button. Here is the output in xorg log file as photo in attachment.
 

Attachments

  • xorg.jpg
    xorg.jpg
    117 KB · Views: 462
Also, already installed xf86-input-mouse and keyboard "driver". Maybe someone now what exact step is needed to resolve this issue?
 
Also, already installed xf86-input-mouse and keyboard "driver". Maybe someone now what exact step is needed to resolve this issue?
In my case, making sure I have /proc mounted in the /etc/fstab file (as specified in the Handbook) was the difference to making the mouse/keyboard work.
 
In my case, making sure I have /proc mounted in the /etc/fstab file (as specified in the Handbook) was the difference to making the mouse/keyboard work.
Thanks, but the point is that this entery is already in fstab =(

It feels like I'm stack in windows.
 
Please share the results of these four commands:

service -e
pkg -vv | grep -e url -e enabled
freebsd-version -kru
uname -aKU


Also, if you like, share the result of a hardware probe:

pkg install sysutils/hw-probe sysutils/hwstat sysutils/lsblk sysutils/pciutils sysutils/usbutils
hw-probe -all -upload

  • the first command, one-off, installs utilities that help to get the most from a probe
  • the second performs the probe and uploads the result to <https://bsd-hardware.info/>
 
oh, and you can do the following to make it easy for sharing:
Code:
# script 
Script started, output file is typescript
# service -e
# pkg -vv | grep -e url -e enabled
# freebsd-version -kru
# uname -aKU
# exit
Script done,    output file is typescript
# cat ./typescript | nc termbin.com 9999
Then all OP has to do is to accurately type in the output from the very last command. ;)
--
FWIW, it was from one of SirDice 's posts where I got the idea.
 
You got Internet access on the machine, the commands I gave you are not that scary to run, they won't bite... ? All you need is a bit of attention to detail.
 
From <https://community.kde.org/FreeBSD/Setup#Graphics_first>:

"… if not using NVIDIA hardware: the usual solution is graphics/drm-kmod ?…"

blind0ne thanks for the hardware probe, your computer does use NVIDIA graphics. At <https://bsd-hardware.info/?probe=5186b81327#pci:10de-1401-1043-854d>:

GM206 [GeForce GTX 960]

<https://bsd-hardware.info/?probe=5186b81327&log=pkglist> does not list drm-kmod, so I guess that you already deleted drm-kmod (after realising that it's not required). You can also run:

pkg delete gpu-firmware-kmod

The list of packages does include x11/nvidia-driver version 470.86.

What's the result of this command?

sysrc kld_list

Output from kldstat at <https://bsd-hardware.info/?probe=5186b81327&log=kldstat> shows both nvidia.ko and nvidia-modeset.ko, I don't know enough about NVIDIA to tell whether nvidia-modeset is appropriate for a GeForce GTX 960.

Parts of the FreeBSD Handbook and FAQ are misleading (bug 260183) …
 
x11/nvidia-xconfig/

Run:

pkg install x11/nvidia-xconfig

Then you can run:

nvidia-xconfig

If you previously made graphics-related changes to any X.Org-related configuration file, it might be necessary to undo/remove those changes (in addition to running NVIDIA's utility).
 
Hello, now I'm on freebsd X11 kde5. Just installed fresh installation. But, nvidia driver does not work. After running nvidia-xconfig and startx I'm receiving (EE) no screens found.
Help me please, The X is laggy, nvidia driver don't work properly.
 
Try a different display driver. Off the top of my head, I think that VESA might work. Also - re-read the links that SirDice gave you. ? Especially pay attention to the section titled 'Other video cards'. If you have the packages (the ones the section mentions) already installed, then just specify vesa.ko or scfb.ko in rc.conf. Remove nvidia.ko, replace it with vesa/scfb.
 
pkg delete drm-kmod
pkg delete nvidia-xconfig
pkg autoremove

rm /usr/local/etc/X11/xorg.conf

Create a /usr/local/etc/X11/xorg.conf.d/driver-nvidia.conf:
Code:
Section "Device"
        Identifier "Card0"
        Driver     "nvidia"
EndSection

sysrc kld_list+="nvidia-modeset"

nvidia driver don't work properly.
Which NVidia card do you have? For some of the older cards you might need to use the legacy version of the driver.
 
Hi,

Today I've decided to choose freebsd 13 as my desktop system, and now I want to ask for recepie to continue. I've typed in:
# pkg install graphics/drm-kmod # pkg install -y kde5 sddm xorg
What should I do after that steps if I wan't to just start desktop on startup with some login manager and use all KDE apps? And start moving out from my Windows.

Thank you very much
Have you tried sysutils/desktop-installer? There's actually a lot involved in setting up a desktop system well and desktop-installer handles most of it for you.
https://acadix.biz/desktop-installer.php
 
So I would say there is a lot involved in setting up a desktop environment but not a desktop system. For my use case, I never use a full desktop environment in FreeBSD and prefer only a window manager. That set up on my hardware is very easy. I know. I am picking nits, but getting a useable desktop up in FreeBSD is simple, but a desktop environment is an entirely different thing. I agree the desktop installer is probably a good idea.
 
So I would say there is a lot involved in setting up a desktop environment but not a desktop system. For my use case, I never use a full desktop environment in FreeBSD and prefer only a window manager. That set up on my hardware is very easy. I know. I am picking nits, but getting a useable desktop up in FreeBSD is simple, but a desktop environment is an entirely different thing. I agree the desktop installer is probably a good idea.
Actually, there's really no difference in setup between a desktop env and a simple window manager from the end-user's perspective. It's pretty much

pkg install kde5

vs

pkg install openbox

The kde5 port/package does most of the DE-specific work for you.

Most other aspects are the same. Desktop installer supports both DEs and WMs. The only difference between any of them is a short list of add-on apps chosen for each, e.g. qpdfview for Lumina and most WMs, evince for XFCE.

Most of the complexity is in desktop-independent setup: Making sure the ports tree and package repo are in sync, GPU driver selection, devfs for USB devices, fdescfs for bash process substitutions, sound, procfs, ntp, bluetooth, CUPS, vbox-guest-additions if appropriate, ...
 
Back
Top