PDA

View Full Version : KDE4_enable="YES"?


nesrail
March 15th, 2009, 23:58
My computer is now installing KDE4(writing from my girlfriends computer) and in the Freebsd handbook it says, about gnome that you have to write "gnome_enable="YES"" to make it the default desktop.
What About KDE4????
Do I just write "KDE4_enable="YES""

I don't want to type startx everytime I want to use KDE. I just want it to start automatically like you can do with Gnome.

Djn
March 16th, 2009, 00:41
If you edit /etc/ttys , and change the line that says
ttyv8 "/usr/local/bin/xdm -nodaemon" xterm off secure to
ttyv8 "/usr/local/kde4/bin/kdm -nodaemon" xterm on secure

Then try kill -s HUP 1 and see what happens.

alie
March 16th, 2009, 04:01
if u dont want use KDM:
% echo "exec /usr/local/kde4/bin/startkde" > ~/.xinitrc

see the greatest handbook for further information:
http://www.freebsd.org/doc/en/books/handbook/x11-wm.html

Djn
March 16th, 2009, 04:13
He said he didn't want to use startx, though. Setting up a login manager seems more "automatic". :)

alie
March 16th, 2009, 05:58
oops :D

Brandybuck
March 16th, 2009, 07:06
All you need for KDE in is:

dbus_enable="YES"
hald_enable="YES"

...in your rc.conf.

You still need to login somehow. It would be very very very bad security to automatically boot into a KDE session. So please use either a login manager (kdm, xdm, gdm, etc) or run startx manually.

Djn
March 16th, 2009, 16:08
Though, mind you - if some unknown third person with malicious intent were to sit down at my home desktop, my first worry wouldn't be if they could get into my user account.

(In other words, they'd have broken the hardware-based security system I use - probably the "window"-aspect of my "private house"-solution. And knowing the typical profile of those intrusions, they'd probably be off with the PC instead of logging onto it.)

break19
November 5th, 2009, 14:41
In -my- case, I'd be more worried about their blood getting on my carpet from bleeding out..

avilla@
November 5th, 2009, 14:45
changing /etc/ttys is not suggested. have a look here: http://wiki.freebsd.org/KDE4/Install

sim
December 10th, 2009, 12:39
And knowing the typical profile of those intrusions, they'd probably be off with the PC instead of logging onto it.)

That way they have easy access to your data from the comfort of their own home/hideout/cave... ;)

sim

silverglade00
January 12th, 2010, 20:17
That way they have easy access to your data from the comfort of their own home/hideout/cave...

And this is why we use jails!

smooky
January 23rd, 2010, 01:16
put these line into your rc.conf:

local_startup="${local_startup} /usr/local/kde4/etc/rc.d"
kdm4_enable="YES"