Skip to content
This repository has been archived by the owner on Apr 5, 2021. It is now read-only.

Latest commit

 

History

History
109 lines (65 loc) · 1.68 KB

File metadata and controls

109 lines (65 loc) · 1.68 KB

X Server Practical Configuration Steps - The Minumum Configurations to be able to login to Xfce session running on Nvidia

  1. Set the Display in BIOS to Discrete Graphics

  2. Install, enable and start service dbus

 # pkg install dbus

 # sysrc dbus_enable="YES"

 # service dbus start

  1. Enable hald
 # sysrc hald_enable="YES"

 # service hald start 
  1. Install Xorg and clear any Xorg configurations if any
 # pkg install xorg

 P.S. Do not run Xorg -configure at all
  1. Add your username to the correct group
 # pw groupmod video -m rosemary || pw groupmod wheel -m rosemaray
  1. Install Nvidia driver
 # portmaster -R x11/nvidia-driver
  1. Evaluate nvidia-xconfig
 # nvidia-xconfig
  1. Append the /etc/X11/xorg.conf as shown in the sample xorg_dot.conf provided

  2. Start X Server

 $ startx

By now, you must be logged to the default X Display Manager. Log out and continue.

  1. Install Xfce and Configure it as your default Xsession
 # pkg install xfce

 Compose ~/.xsession as follows

 #!/bin/sh
 exec /usr/local/bin/startxfce4 --with-ck-launch

 $ chmod +x ~/.xsession

 $ ln -s ~/.xsession ~/.xinitrc

 $ startx

  1. Install and try Slim as a Login Manager
 # portmaster -R x11/slim

 # service slim onestart

  1. Setup Slim Login Manager

 11.1 Replace item `ttyv8` line / Append in `/etc/ttys` with the following line
	ttyv8   '/usr/local/bin/slim'  xterm  on  secure
 11.2 Append `/etc/rc.conf` with
	slim_enable="YES"
  1. Setup synaptics
 12.1 Install module synaptics
 12.2 Configure `xorg.conf` as shown in the example provieded 

  1. Compiz Fusion

check Compiz