1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to start kde4 on FreeBSD 8.0 in VirtualBox

Discussion in 'KDE' started by romulo, Dec 16, 2009.

  1. romulo

    romulo New Member

    Messages:
    1
    Thanks Received:
    0
    Hi there.
    I've installed the latest version of FreeBSD on my laptop in VirtualBox, I know that kde4 is installed, but there is no 'startx' command. The new system is different of the series 7.x.
    Is there some guide 'How to configure KDE4 on FreeBSD 8.0'?
     
  2. alie

    alie Member

    Messages:
    576
    Thanks Received:
    50
    romulo thanks for this.
  3. zeiz

    zeiz New Member

    Messages:
    691
    Thanks Received:
    54
    Instead of using startx I would use kdm.
    From alie's link:
    Edit system file /etc/ttys
    # ee /etc/ttys
    find a line starting with ttyv8 and edit it to:
    Code:
    ttyv8 "/usr/local/kde4/bin/kdm -nodaemon" xterm on secure
    

    If you didn't already do so enable hald and dbus in your /etc/rc.conf:
    # ee /etc/rc.conf
    add:
    Code:
    dbus_enable="YES"
    hald_enable="YES"

    reboot.
     
    romulo thanks for this.
  4. phoenix

    phoenix Moderator Staff Member Moderator

    Messages:
    3,450
    Thanks Received:
    770
    You don't use ttys to start kdm from KDE4. There's a kdm rc script available on the FreeBSD wiki. And I've written a simple one that's available in the forums, as well.
     
    romulo thanks for this.
  5. zeiz

    zeiz New Member

    Messages:
    691
    Thanks Received:
    54
    Interesting! Is any advantage to use the script instead of standard mean with ttys?
     
    romulo thanks for this.
  6. phoenix

    phoenix Moderator Staff Member Moderator

    Messages:
    3,450
    Thanks Received:
    770
    Yes, the ttys support for kdm is going away. And everything is moving to the RC script method. GDM went first. KDM4 is following. XDM will probably follow afterward.

    IOW, /etc/ttys will be for non-X stuff.

    Using the script also gives you control for start/stop/restart, which isn't nearly as simple to do with the ttys method.
     
    romulo thanks for this.