[desktop] gnome3-kde4-xfce4

 

FreeBSD gnome3 , kde4 , xfce4 설치 문서 입니다.

pkg install 로 설치 하였고 Test는 VM환경에서 하였습니다.

ports Collection 을 이용하여 설치 하여도 되지만 시간이 오래 걸리는 관계로 pkg install 로 진행 하였습니다.

ports 업데이트 -> xorg 설치및 gnome3 설치전까지는 gnome3 / kde4 / xfce4 동일한 설정 입니다.

 

 

ports 업데이트 

root@bsd11:~ # portsnap fetch
root@bsd11:~ # portsnap update
root@bsd11:~ # portsnap fetch update

 

Xorg 참고 페이지 : https://www.freebsd.org/doc/handbook/x-understanding.html

 

xorg 설치 

root@bsd11:~ # pkg install xorg

 

설치 완료 메세지

================================================================================
You installed xterm with wide chars support. This introduces some limitations
comparing to the plain single chars version: this version of xterm will use
UTF-8 charset for selection buffers, breaking 8-bit copy/paste support unless
you are using UTF-8 or ISO8859-1 locale. If you want 8-bit charset selections to
work as before, use "eightBitSelectTypes" XTerm resource setting.

For further information refer to the SELECT/PASTE section of xterm(1) manual
page.
================================================================================

 

 

X윈도우 사용시 3D가속 사용을 위한 wheel group 추가 

root@bsd11:~ # pw user add user_name -m -g wheel
oot@bsd11:~ # pw groupmod video -m user_name 

 

boot loader  추가 

root@bsd11:~ # vi /boot/loader.conf
kern.vty=vt
kern.maxfiles="25000"

 

xorg-drivers 설치 (드라이버를 설치 하지 않을경우 정상적으로 Xorg 가 작동하지 않습니다.)

root@bsd11:~ # pkg install xorg-drivers
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking integrity... done (0 conflicting)
The following 5 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        xorg-drivers: 7.7_5
        xf86-video-vesa: 2.3.4_1
        xf86-video-scfb: 0.0.4_5
        xf86-input-mouse: 1.9.2_1
        xf86-input-keyboard: 1.9.0_1

Number of packages to be installed: 5

Proceed with this action? [y/N]: y
[1/5] Installing xf86-video-vesa-2.3.4_1...
[1/5] Extracting xf86-video-vesa-2.3.4_1: 100%
[2/5] Installing xf86-video-scfb-0.0.4_5...
[2/5] Extracting xf86-video-scfb-0.0.4_5: 100%
[3/5] Installing xf86-input-mouse-1.9.2_1...
[3/5] Extracting xf86-input-mouse-1.9.2_1: 100%
[4/5] Installing xf86-input-keyboard-1.9.0_1...
[4/5] Extracting xf86-input-keyboard-1.9.0_1: 100%
[5/5] Installing xorg-drivers-7.7_5...
root@bsd11:~ #

 

 

open-vm-tools 설치 (vmware 해당)

root@bsd11:~ # pkg install open-vm-tools
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 6 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        open-vm-tools: 10.1.10_4,2
        gtkmm24: 2.24.4_3
        xerces-c3: 3.2.0_2
        apache-xml-security-c: 1.7.3
        libdnet: 1.12_1
        libmspack: 0.5

Number of packages to be installed: 6

The process will require 36 MiB more space.
5 MiB to be downloaded.

Proceed with this action? [y/N]: y
[1/6] Fetching open-vm-tools-10.1.10_4,2.txz: 100%  563 KiB 576.1kB/s    00:01
[2/6] Fetching gtkmm24-2.24.4_3.txz: 100%    1 MiB   1.3MB/s    00:01
[3/6] Fetching xerces-c3-3.2.0_2.txz: 100%    2 MiB   2.1MB/s    00:01
[4/6] Fetching apache-xml-security-c-1.7.3.txz: 100%  703 KiB 719.8kB/s    00:01
[5/6] Fetching libdnet-1.12_1.txz: 100%   64 KiB  65.6kB/s    00:01
[6/6] Fetching libmspack-0.5.txz: 100%   73 KiB  74.6kB/s    00:01
Checking integrity... done (0 conflicting)
[1/6] Installing xerces-c3-3.2.0_2...
[1/6] Extracting xerces-c3-3.2.0_2: 100%
[2/6] Installing gtkmm24-2.24.4_3...
[2/6] Extracting gtkmm24-2.24.4_3: 100%
[3/6] Installing apache-xml-security-c-1.7.3...
[3/6] Extracting apache-xml-security-c-1.7.3: 100%
[4/6] Installing libdnet-1.12_1...
[4/6] Extracting libdnet-1.12_1: 100%
[5/6] Installing libmspack-0.5...
[5/6] Extracting libmspack-0.5: 100%
[6/6] Installing open-vm-tools-10.1.10_4,2...
Extracting open-vm-tools-10.1.10_4,2: 100%
Loading vmmemctl kernel module: done.
vmware_guestd not running? (check /var/run/vmware_guestd.pid).
Starting vmware_guestd.
root@bsd11:~ #

 

/etc/rc.conf 설정 (vmware 해당)

root@bsd11:~ # vi /etc/rc.conf
# Vmware Settings
vmware_guest_vmblock_enable="YES"
vmware_guest_vmhgfs_enable="YES"
vmware_guest_vmmemctl_enable="YES"
vmware_guest_vmxnet_enable="YES"
vmware_guestd_enable="YES"

 

xf86-video-vmware xf86-input-vmmouse 설치 (vmware 만 해당)

root@bsd11:~ # pkg install xf86-video-vmware xf86-input-vmmouse
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 2 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        xf86-video-vmware: 13.2.1_1
        xf86-input-vmmouse: 13.1.0_1

Number of packages to be installed: 2

34 KiB to be downloaded.

Proceed with this action? [y/N]: y
[1/2] Fetching xf86-video-vmware-13.2.1_1.txz: 100%   24 KiB  24.2kB/s    00:01 
[2/2] Fetching xf86-input-vmmouse-13.1.0_1.txz: 100%   10 KiB  10.5kB/s    00:01
Checking integrity... done (0 conflicting)
[1/2] Installing xf86-video-vmware-13.2.1_1...
[1/2] Extracting xf86-video-vmware-13.2.1_1: 100%
[2/2] Installing xf86-input-vmmouse-13.1.0_1...
Extracting xf86-input-vmmouse-13.1.0_1: 100%
root@bsd11:~ #

 

리부팅후 Xorg 설정

root@bsd11:~ # init 6

 

xorg.conf 파일생성

별도의 설정을 만들지 않아도 작동은 하지만 vmware 의경우 마우스 감도가 떨어져 별도로 수정을 해줍니다.

root@bsd11:~ # Xorg -configure

X.Org X Server 1.18.4
Release Date: 2016-07-19
X Protocol Version 11, Revision 0
Build Operating System: FreeBSD 11.0-RELEASE-p15 amd64
Current Operating System: FreeBSD bsd11 11.1-RELEASE FreeBSD 11.1-RELEASE #0 r321309: Fri Jul 21 02:08:28 UTC 2017     root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
Build Date: 16 November 2017  09:17:14AM

Current version of pixman: 0.34.0
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sun Nov 26 03:20:57 2017
List of video drivers:
        vmware
        vesa
        modesetting
        scfb
scfb trace: probe start
(++) Using config file: "/root/xorg.conf.new"
(==) Using system config directory "/usr/local/share/X11/xorg.conf.d"


Xorg detected your mouse at device /dev/sysmouse.
Please check your config if the mouse is still not
operational, as by default Xorg tries to autodetect
the protocol.

Your xorg.conf file is /root/xorg.conf.new

 

xorg.conf.new 파일을 카피

root@bsd11:~ # cp xorg.conf.new /usr/local/etc/X11/xorg.conf.d/xorg.conf

 

xorg.conf 파일 설정

root@bsd11:~ # vi /usr/local/etc/X11/xorg.conf.d/xorg.conf
Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
        Option          "AutoAddDevices" "Off"
EndSection

Section "Files"
        ModulePath   "/usr/local/lib/xorg/modules"
        FontPath     "/usr/local/share/fonts/misc/"
        FontPath     "/usr/local/share/fonts/TTF/"
        FontPath     "/usr/local/share/fonts/OTF/"
        FontPath     "/usr/local/share/fonts/Type1/"
        FontPath     "/usr/local/share/fonts/100dpi/"
        FontPath     "/usr/local/share/fonts/75dpi/"
EndSection

Section "Module"
        Load  "glx"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "vmmouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/sysmouse"
        Option      "ZAxisMapping" "4 5 6 7"
EndSection

 

Secriton “ServerLayout” 에서 Option 을 추가하여 자동으로 Device 가 추가 되는것을 방지 합니다.

 

Section “InputDevice” 에서

mount 를 vmmouse 로 변경 합니다.

 

 

 

Gnome3 install 

pkg 명령어를 이용하여 install  합니다.

root@bsd11:~ # pkg install gnome3

 

설치 완료 메세지

===========================================================================

Note that some standard Python modules are provided as separate ports
as they require additional dependencies. They are available as:

py36-gdbm       databases/py36-gdbm
py36-sqlite3    databases/py36-sqlite3
py36-tkinter    x11-toolkits/py36-tkinter

===========================================================================
Message from xmlcatmgr-2.2_2:

The following catalogs are installed:

 1) /usr/local/share/sgml/catalog

   The top level catalog for SGML stuff.  It is not changed
   by any ports/packages except textproc/xmlcatmgr.

 2) /usr/local/share/sgml/catalog.ports

   This catalog is for handling SGML stuff installed under
   /usr/local/share/sgml.  It is changed by ports/packages.

 3) /usr/local/share/xml/catalog

   The top level catalog for XML stuff.  It is not changed
   by any ports/packages except textproc/xmlcatmgr.

 4) /usr/local/share/xml/catalog.ports

   This catalog is for handling XML stuff installed under
   /usr/local/share/xml.  It is changed by ports/packages.
Message from trousers-0.3.14_1:

To run tcsd automatically, add the following line to /etc/rc.conf:

tcsd_enable="YES"

You might want to edit /usr/local/etc/tcsd.conf to reflect your setup.

If you want to use tcsd with software TPM emulator, use the following
configuration in /etc/rc.conf:

tcsd_enable="YES"
tcsd_mode="emulator"
tpmd_enable="YES"

To use TPM, add your_account to '_tss' group like following:

# pw groupmod _tss -m your_account
Message from libinotify-20170711_1:

============================================================================

Libinotify functionality on FreeBSD is missing support for

  - detecting a file being moved into or out of a directory within the
    same filesystem
  - certain modifications to a symbolic link (rather than the
    file it points to.)

in addition to the known limitations on all platforms using kqueue(2)
where various open and close notifications are unimplemented.

This means the following regression tests will fail:

Directory notifications:
   IN_MOVED_FROM
   IN_MOVED_TO

Open/close notifications:
   IN_OPEN
   IN_CLOSE_NOWRITE
   IN_CLOSE_WRITE

Symbolic Link notifications:
   IN_DONT_FOLLOW
   IN_ATTRIB
   IN_MOVE_SELF
   IN_DELETE_SELF

Kernel patches to address the missing directory and symbolic link
notifications are available from:

https://github.com/libinotify-kqueue/libinotify-kqueue/tree/master/patches

=============================================================================
You might want to consider increasing the kern.maxfiles tunable if you plan
to use this library for applications that need to monitor activity of a lot
of files.

If the default on your system is too low, add the following line to
/boot/loader.conf, then reboot the system:

    kern.maxfiles="25000"
=============================================================================
Message from gamin-0.1.10_9:

===============================================================================

Gamin will only provide realtime notification of changes for at most n files,
where n is the minimum value between (kern.maxfiles * 0.7) and
(kern.maxfilesperproc - 200). Beyond that limit, files will be polled.

If you often open several large folders with Nautilus, you might want to
increase the kern.maxfiles tunable (you do not need to set
kern.maxfilesperproc, since it is computed at boot time from kern.maxfiles).

For a typical desktop, add the following line to /boot/loader.conf, then
reboot the system:

    kern.maxfiles="25000"

The behavior of gamin can be controlled via the various gaminrc files.
See http://www.gnome.org/~veillard/gamin/config.html on how to create
these files.  In particular, if you find gam_server is taking up too much
CPU time polling for changes, something like the following may help
in one of the gaminrc files:

# reduce polling frequency to once per 10 seconds
# for UFS file systems in order to lower CPU load
fsset ufs poll 10

===============================================================================

===>   NOTICE:

The gamin port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port
Message from libcdio-0.94:

===>   NOTICE:

The libcdio port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port
Message from samba44-4.4.16:

===============================================================================

How to start: http://wiki.samba.org/index.php/Samba4/HOWTO

* Your configuration is: /usr/local/etc/smb4.conf

* All the relevant databases are under: /var/db/samba4

* All the logs are under: /var/log/samba4

* Provisioning script is: /usr/local/bin/samba-tool

For additional documentation check: http://wiki.samba.org/index.php/Samba4

Bug reports should go to the: https://bugzilla.samba.org/

===============================================================================
Message from webcamd-4.12.0.1:

*********************************************************************
1) webcamd requires the cuse4bsd(3) or cuse(3) kernel module, depending on
how webcamd was compiled. Please load this dependency by doing:

       # FreeBSD < 11.x, package from ports
       # kldload cuse4bsd
or
       # FreeBSD >= 11.x, part of default kernel build
       # kldload cuse

or by adding

       cuse4bsd_load="YES"
or
       cuse_load="YES"

to your /boot/loader.conf.

2) add webcamd_enable="YES"

to your /etc/rc.conf

3) Please restart devd to start webcamd

        # service devd restart

4) Optionally add a user to the "webcamd" group

        # pw groupmod webcamd -m <username>

5) If webcamd still did not start, consult the installed webcamd rc.d
script for more help and instructions on how to start webcamd.
*********************************************************************
Message from wv-1.2.9_4:

*******************************************************************

Some output formats (for example: DVI, PDF, and PS) require a LaTeX
implementation, such as print/teTeX, to be installed. Text output
will be of better quality if www/elinks, www/links, or www/lynx is
installed.

*******************************************************************

===>   NOTICE:

The wv port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port
Message from raptor-1.4.21_6:

===>   NOTICE:

The raptor port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port
Message from libcdio-paranoia-10.2+0.94+1:

===>   NOTICE:

The libcdio-paranoia port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port
Message from fusefs-libs-2.9.5:

Install the fuse kernel module to use this port.
Message from ibus-1.5.14_3:

-------------------------------------------------------------------
ibus installation finished. To use ibus, please do the following:

If you are using bash, please add following lines to your $HOME/.bashrc:

export XIM=ibus
export GTK_IM_MODULE=ibus
export QT_IM_MODULE=xim
export XMODIFIERS=@im=ibus
export XIM_PROGRAM="ibus-daemon"
export XIM_ARGS="--daemonize --xim"

If you are using tcsh, please add following lines to your $HOME/.cshrc:

setenv XIM ibus
setenv GTK_IM_MODULE ibus
setenv QT_IM_MODULE xim
setenv XMODIFIERS @im=ibus
setenv XIM_PROGRAM ibus-daemon
setenv XIM_ARGS "--daemonize --xim"

If you are using KDE4, you may create a shell script in $HOME/.kde4/env,
and add following lines:

#!/bin/sh
export XIM=ibus
export GTK_IM_MODULE=ibus
export QT_IM_MODULE=xim
export XMODIFIERS=@im=ibus
export XIM_PROGRAM="ibus-daemon"
export XIM_ARGS="--daemonize --xim"

Following input methods/engines are available in ports:

chinese/ibus-chewing            Chewing engine for IBus
chinese/ibus-libpinyin          Intelligent Pinyin engine based on libpinyin
chinese/ibus-pinyin             The PinYin input method
japanese/ibus-anthy             Anthy engine for IBus
japanese/ibus-mozc              Mozc engine for IBus
japanese/ibus-skk               SKK engine for IBus
korean/ibus-hangul              Hangul engine for IBus
textproc/ibus-kmfl              KMFL IMEngine for IBus framework
textproc/ibus-table             Table based IM framework for IBus
textproc/ibus-typing-booster    Faster typing by context sensitive completion

and QT4 input method module, textproc/ibus-qt.

If ibus cannot start or the panel does not appear, please ensure
that you are using up-to-date python.
-------------------------------------------------------------------
Message from pulseaudio-11.0_1:

Pulseaudio tries to determine default values for FreeBSD OSS driver at first
start, based on /dev/sndstat output. The hw.snd.default_unit sysctl may affect
these values, but restart of the Pulseaudio might be needed to rescan it again,
e.g. `pacmd exit`.

Pulseaudio has separate input and output configure lines. You can change them
with using following commands:

To change the default sink (output):
# pacmd set-default-sink 3
To change the default source (input):
# pacmd set-default-source 3

This can also be set in /usr/local/etc/pulse/default.pa

Replace the number '3' with the new default you want to set.


The audio/freedesktop-sound-theme is needed if the default sound files
are uncommented in the /usr/local/etc/pulse/default.pa file.
Message from glew-1.13.0_1:

===>   NOTICE:

The glew port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port
Message from freeglut-3.0.0_1:

Joystick support is untested and it is unknown if it works.

Do not hesitate to contact x11@FreeBSD.org if this causes issues.
Message from ghostscript9-agpl-base-9.16_5:

Note: in order to use the script "dvipdf", dvips must be installed.
This program is provided by another package print/tex-dvipsk.

FAPIfontmap and FAPIcidfmap in /usr/local/share/ghostscript/9.16/Resource/Init
have to be configured if you want to use FAPI feature.
Message from schroedinger-1.0.11_4:

===>   NOTICE:

The schroedinger port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port
Message from opencv-core-2.4.13.1_1:

===>   NOTICE:

The opencv-core port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port
Message from aalib-1.4.r5_11:

===>   NOTICE:

The aalib port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port
Message from portaudio-19.20140130_6:

===>   NOTICE:

The portaudio port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port
Message from cheese-3.18.1_2:

For cheese to work, webcamd needs to be running and the user which wants
to run cheese needs to be added to the webcamd group.

This can be done by:

# pw groupmod webcamd -m jerry
Message from libgtop-2.32.0:

===============================================================================

In order to use the File System read/write monitor, you must chmod
/dev/devstat so that all users can open it read-only.  For example:

# chmod 0444 /dev/devstat

In order for this to persist across reboots, add the following to
/etc/devfs.conf:

perm    devstat 0444

===============================================================================
Message from djvulibre-3.5.27_1:

===>   NOTICE:

The djvulibre port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port
Message from sdl-1.2.15_10,2:

------------------------------------------------------------------------------
 Your SDL library has been built with libvgl support, which means that you
 can run almost any SDL application straight on your console (VESA 2.0
 compatible videocard is required).

 To do this you have to load the vesa kernel module or enable it in your
 kernel, and set environment variable "SDL_VIDEODRIVER=vgl".
------------------------------------------------------------------------------

===>   NOTICE:

The sdl port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port
Message from libdca-0.0.5_1:

===>   NOTICE:

The libdca port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port
Message from py36-setuptools-36.2.2:

*******************************************************************

  Only /usr/local/bin/easy_install-3.6 script has been installed
  since Python 3.6 is not the default Python version.

*******************************************************************
Message from dotconf-1.3_1:

===>   NOTICE:

The dotconf port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port
Message from cyrus-sasl-2.1.26_12:

You can use sasldb2 for authentication, to add users use:

        saslpasswd2 -c username

If you want to enable SMTP AUTH with the system Sendmail, read
Sendmail.README

NOTE: This port has been compiled with a default pwcheck_method of
      auxprop.  If you want to authenticate your user by /etc/passwd,
      PAM or LDAP, install ports/security/cyrus-sasl2-saslauthd and
      set sasl_pwcheck_method to saslauthd after installing the
      Cyrus-IMAPd 2.X port.  You should also check the
      /usr/local/lib/sasl2/*.conf files for the correct
      pwcheck_method.
      If you want to use GSSAPI mechanism, install
      ports/security/cyrus-sasl2-gssapi.
      If you want to use SRP mechanism, install
      ports/security/cyrus-sasl2-srp.
      If you want to use LDAP auxprop plugin, install
      ports/security/cyrus-sasl2-ldapdb.
Message from cdrtools-3.01_1:

===========================================================================

Note: The location of the cdrtools `defaults' files has been set to

        /usr/local/etc

This is the FreeBSD ports standard config file location, NOT the cdrtools
standard location, which is /etc/default.

The reason for this is that FreeBSD ports and packages should not use
configuration files outside of /usr/local.

===========================================================================
Message from spandsp-0.0.6:

===>   NOTICE:

The spandsp port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port
Message from boost-libs-1.65.1:

You have built the Boost library with thread support.

Don't forget to add -pthread to your linker options when
linking your code.
Message from unoconv-0.6:

===============================================================================

Universal Office Converter (unoconv) has been installed.

For Document conversions is needed that is LibreOffice or OpenOffice installed

editors/libreoffice

editors/openoffice*

===============================================================================
Message from gnome-shell-3.18.5_4:

Gnome-shell requires acceleration of to work. For this a nvidia card
with the nvidia-driver, or a Intel/ATI KMS enabled card is needed.

For the nvidia users no other changes are needed. For Intel/ATI KMS
driver the user needs to have read/write permissions on
/dev/dri/cardN (usually N=0). If gnome-shell is launched from gdm, the
gdm user also needs this access.

Access can be granted by adding the user(s) to the video group.

% pw groupmod video -m jerry

Additional for FreeBSD versions before FreeBSD 11.0-CURRENT revision
286524, and any FreeBSD 10.x version.

By using a devfs.rules(5) to change the mode of the /dev/dri/card0 on creation.

        add path 'dri/*' mode 0666 group video
Message from xterm-330:

================================================================================
You installed xterm with wide chars support. This introduces some limitations
comparing to the plain single chars version: this version of xterm will use
UTF-8 charset for selection buffers, breaking 8-bit copy/paste support unless
you are using UTF-8 or ISO8859-1 locale. If you want 8-bit charset selections to
work as before, use "eightBitSelectTypes" XTerm resource setting.

For further information refer to the SELECT/PASTE section of xterm(1) manual
page.
================================================================================
Message from gnome-keyring-3.18.3_4:

Gnome-keyring uses pinentry-gnome3 for gpg interactions, please add the
following line to your ~/.gnupg/gpg-agent.conf to enable the pinentry
dialog.

pinentry-program /usr/local/bin/pinentry-gnome3
Message from dvd+rw-tools-7.1_1:

===>   NOTICE:

The dvd+rw-tools port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port
Message from gdm-3.16.4_3:

GDM is installed.

Do _NOT_ use /etc/ttys to start gdm at boot time.  This will result in gdm
hanging or restarting constantly. Instead, add gdm_enable="YES" to
/etc/rc.conf. GDM will be started automatic on the next reboot.
Message from bitstream-vera-1.10_7:

IMPORTANT - READ CAREFULLY: Please read the COPYRIGHT included with these fonts
before using.  The copyright can be found at /usr/local/share/fonts/bitstream-vera/COPYRIGHT.TXT.  To
use these fonts, follow the instructions below.

Make sure that the freetype module is loaded.  If it is not, add the following
line to the "Modules" section of your X Windows configuration file:

        Load "freetype"

Add the following line to the "Files" section of X Windows configuration file:

        FontPath "/usr/local/share/fonts/bitstream-vera/"

Note: your X Windows configuration file is typically /etc/X11/xorg.conf
Message from gnome3-3.18.0:

**************************************************************************
Congratulations!  GNOME 3 has been successfully installed on your system.
For help on starting it up, as well as answers to common questions, and
some known issues, please see the FreeBSD GNOME homepage at:

                       http://www.FreeBSD.org/gnome/

**************************************************************************
root@bsd11:~ #

 

FreeBSD 의 경우 pkg 가 설치 되고 나면 설정 포인트가 나옵니다.

설치 완료후에 별도로 완료 메시지만 보실 경우에는 아래와 같은 방법으로 보실수 있습니다.

ex) gnome3

root@bsd11:~ # pkg info -D -x gnome3
gnome3-3.18.0:
Always:
**************************************************************************
Congratulations!  GNOME 3 has been successfully installed on your system.
For help on starting it up, as well as answers to common questions, and
some known issues, please see the FreeBSD GNOME homepage at:

                       http://www.FreeBSD.org/gnome/

**************************************************************************

pinentry-gnome3-1.0.0:
root@bsd11:~ #

 

ex) ibus

root@bsd11:~ # pkg info -D -x ibus
ibus-1.5.14_3:
Always:
-------------------------------------------------------------------
ibus installation finished. To use ibus, please do the following:

If you are using bash, please add following lines to your $HOME/.bashrc:

export XIM=ibus
export GTK_IM_MODULE=ibus
export QT_IM_MODULE=xim
export XMODIFIERS=@im=ibus
export XIM_PROGRAM="ibus-daemon"
export XIM_ARGS="--daemonize --xim"

If you are using tcsh, please add following lines to your $HOME/.cshrc:

setenv XIM ibus
setenv GTK_IM_MODULE ibus
setenv QT_IM_MODULE xim
setenv XMODIFIERS @im=ibus
setenv XIM_PROGRAM ibus-daemon
setenv XIM_ARGS "--daemonize --xim"

If you are using KDE4, you may create a shell script in $HOME/.kde4/env,
and add following lines:

#!/bin/sh
export XIM=ibus
export GTK_IM_MODULE=ibus
export QT_IM_MODULE=xim
export XMODIFIERS=@im=ibus
export XIM_PROGRAM="ibus-daemon"
export XIM_ARGS="--daemonize --xim"

Following input methods/engines are available in ports:

chinese/ibus-chewing            Chewing engine for IBus
chinese/ibus-libpinyin          Intelligent Pinyin engine based on libpinyin
chinese/ibus-pinyin             The PinYin input method
japanese/ibus-anthy             Anthy engine for IBus
japanese/ibus-mozc              Mozc engine for IBus
japanese/ibus-skk               SKK engine for IBus
korean/ibus-hangul              Hangul engine for IBus
textproc/ibus-kmfl              KMFL IMEngine for IBus framework
textproc/ibus-table             Table based IM framework for IBus
textproc/ibus-typing-booster    Faster typing by context sensitive completion

and QT4 input method module, textproc/ibus-qt.

If ibus cannot start or the panel does not appear, please ensure
that you are using up-to-date python.
-------------------------------------------------------------------

root@bsd11:~ #

 

해당 포트 디렉토리에서도 확인 가능 합니다. (Ports 설치시)

pkg-message file

 

설지 완료후 나온 메시지를 보면 2가지 정도의 셋팅이 필요 할것으로 보입니다.

libinotify , ibus 설정 gnome3 의 경우 FreeBSD handbook 을 이용하여 셋팅 합니다.

libinotify 설정

root@bsd11:~ # vi /boot/loader.conf
kern.vty=vt
kern.maxfiles="25000"

 

ibus 설정

c shell 사용시 (tcsh 동일)

root@bsd11:~ # vi .cshrc
setenv XIM ibus
setenv GTK_IM_MODULE ibus
setenv QT_IM_MODULE xim
setenv XMODIFIERS @im=ibus
setenv XIM_PROGRAM ibus-daemon
setenv XIM_ARGS "--daemonize --xim"

 

bash 사용시 

root@bsd11:~ # vi .bashrc
export XIM=ibus
export GTK_IM_MODULE=ibus
export QT_IM_MODULE=xim
export XMODIFIERS=@im=ibus
export XIM_PROGRAM="ibus-daemon"
export XIM_ARGS="--daemonize --xim"

 

 

FreeBSD handbook 참고: https://www.freebsd.org/doc/handbook/x11-wm.html

 

proc filesystem 추가

root@bsd11:~ # vi /etc/fstab
proc        /proc               procfs  rw      0       0

 

실행스크립트 설정 /etc/rc.conf

root@bsd11:~ # vi /etc/rc.conf
# Gnome Settings
dbus_enable="YES"
hald_enable="YES"
gdm_enable="YES"
gnome_enable="YES"
moused_enable="YES"

 

.xsession 파일 생성 (gdm_enable 시 자동으로 gnome3 가 구동 됩니다.)

root@bsd11:~ # echo "exec /usr/local/bin/gnome-session" > ~/.xsession
root@bsd11:~ # chmod +x .xsession

 

 

 

 

시스템 리부팅후 Gnome3 로그인화면을 볼수 있습니다.

 

chsh 로 Username 편집후 확인 

root@bsd11:~ # su - test
Need to quickly return to your home directory? Type "cd".
                -- Dru <genesis@istar.ca>
$ chsh test

#Changing user information for test.
Shell: /bin/sh
Full Name: User &
Office Location:
Office Phone:
Home Phone:
Other information:

Full Name: User & 에서 User_name 으로 변경 합니다.

ex)test

rebooting 후 확인

 

 

 

추가적인 방법 Gnome User list Disable

User & 부분이 신경쓰여 Gnome User list 를 Disable 합니다.

설정 (파일이 없어 별도로 만들어 줍니다.)

root@bsd11:~ # vi /usr/local/etc/dconf/profile/gdm

user-db:user
system-db:gdm
file-db:/usr/share/gdm/greeter-dconf-defaults

root@bsd11:~ # mkdir /usr/local/etc/dconf/db/gdm.d
root@bsd11:~ # mkdir /usr/local/etc/dconf/db/gdm.d/00-login-screen
[org/gnome/login-screen]
# Do not show the user list
disable-user-list=true


root@bsd11:~ # dconf update
root@bsd11:~ #

 

rebooting 후 확인

 

 

KDE 설치 

공통 부분의 경우 gnome3 설치전까지 입니다.

xorg 설치 및 설정이 필요 합니다.

 

root@bsd11:~ # pkg install x11/kde4
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 414 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        kde: 4.14.3_1
        kde-workspace: 4.11.22_12
        xsetroot: 1.1.1
        gcc6: 6.4.0_2
        gcc-ecj: 4.5
        mysql56-client: 5.6.37_1
        libevent: 2.1.8
        xmessage: 1.0.4
        xcb-util-keysyms: 0.4.0_1
        xcb-util-image: 0.4.0_1
        qimageblitz: 0.0.6_2
        qt4-gui: 4.8.7_3
        qtchooser: 39
        qt4-corelib: 4.8.7_9
~ 중략

 

proc filesystem 추가 

root@bsd11:~ # vi /etc/fstab
proc            /proc           procfs          rw      0       0

 

/etc/rc.conf 실행스크립트 추가 

root@bsd11:~ # vi /etc/rc.conf
# KDE Settings
dbus_enable="YES"
hald_enable="YES"
kdm4_enable="YES"
moused_enable="YES"

 

ibus 의 경우 default 로 설치가 진행되지 않았습니다.

 

리부팅 후 확인

 

 

xfce4 설치

공통 부분의 경우 gnome3 설치전까지 입니다.

xorg 설치 및 설정이 필요 합니다.

 

root@bsd11:~ # pkg install xfce

 

 

설치 완료후 메세지

The following catalogs are installed:

 1) /usr/local/share/sgml/catalog

   The top level catalog for SGML stuff.  It is not changed
   by any ports/packages except textproc/xmlcatmgr.

 2) /usr/local/share/sgml/catalog.ports

   This catalog is for handling SGML stuff installed under
   /usr/local/share/sgml.  It is changed by ports/packages.

 3) /usr/local/share/xml/catalog

   The top level catalog for XML stuff.  It is not changed
   by any ports/packages except textproc/xmlcatmgr.

 4) /usr/local/share/xml/catalog.ports

   This catalog is for handling XML stuff installed under
   /usr/local/share/xml.  It is changed by ports/packages.
Message from python36-3.6.2_1:

===========================================================================

Note that some standard Python modules are provided as separate ports
as they require additional dependencies. They are available as:

py36-gdbm       databases/py36-gdbm
py36-sqlite3    databases/py36-sqlite3
py36-tkinter    x11-toolkits/py36-tkinter

===========================================================================
Message from libcdio-0.94:

===>   NOTICE:

The libcdio port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port
Message from libinotify-20170711_1:

============================================================================

Libinotify functionality on FreeBSD is missing support for

  - detecting a file being moved into or out of a directory within the
    same filesystem
  - certain modifications to a symbolic link (rather than the
    file it points to.)

in addition to the known limitations on all platforms using kqueue(2)
where various open and close notifications are unimplemented.

This means the following regression tests will fail:

Directory notifications:
   IN_MOVED_FROM
   IN_MOVED_TO

Open/close notifications:
   IN_OPEN
   IN_CLOSE_NOWRITE
   IN_CLOSE_WRITE

Symbolic Link notifications:
   IN_DONT_FOLLOW
   IN_ATTRIB
   IN_MOVE_SELF
   IN_DELETE_SELF

Kernel patches to address the missing directory and symbolic link
notifications are available from:

https://github.com/libinotify-kqueue/libinotify-kqueue/tree/master/patches

=============================================================================
You might want to consider increasing the kern.maxfiles tunable if you plan
to use this library for applications that need to monitor activity of a lot
of files.

If the default on your system is too low, add the following line to
/boot/loader.conf, then reboot the system:

    kern.maxfiles="25000"
=============================================================================
Message from gamin-0.1.10_9:

===============================================================================

Gamin will only provide realtime notification of changes for at most n files,
where n is the minimum value between (kern.maxfiles * 0.7) and
(kern.maxfilesperproc - 200). Beyond that limit, files will be polled.

If you often open several large folders with Nautilus, you might want to
increase the kern.maxfiles tunable (you do not need to set
kern.maxfilesperproc, since it is computed at boot time from kern.maxfiles).

For a typical desktop, add the following line to /boot/loader.conf, then
reboot the system:

    kern.maxfiles="25000"

The behavior of gamin can be controlled via the various gaminrc files.
See http://www.gnome.org/~veillard/gamin/config.html on how to create
these files.  In particular, if you find gam_server is taking up too much
CPU time polling for changes, something like the following may help
in one of the gaminrc files:

# reduce polling frequency to once per 10 seconds
# for UFS file systems in order to lower CPU load
fsset ufs poll 10

===============================================================================

===>   NOTICE:

The gamin port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port
Message from libcdio-paranoia-10.2+0.94+1:

===>   NOTICE:

The libcdio-paranoia port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port
Message from samba44-4.4.16:

===============================================================================

How to start: http://wiki.samba.org/index.php/Samba4/HOWTO

* Your configuration is: /usr/local/etc/smb4.conf

* All the relevant databases are under: /var/db/samba4

* All the logs are under: /var/log/samba4

* Provisioning script is: /usr/local/bin/samba-tool

For additional documentation check: http://wiki.samba.org/index.php/Samba4

Bug reports should go to the: https://bugzilla.samba.org/

===============================================================================
Message from xfce4-tumbler-0.2.0:

To override the default configuration, you must copy the rc-file:

        mkdir ~/.config/tumbler
        cp /usr/local/etc/xdg/tumbler/tumbler.rc ~/.config/tumbler

The COVER plugin requires manual configuration.

For more information see http://docs.xfce.org/xfce/thunar/tumbler
Message from xfce4-terminal-0.8.6:

Some options could need manual change to ~/.config/xfce4/terminal/terminalrc:

To reduce the height of tabs, add the hidden 'MiscSlimTabs' option:

MiscSlimTabs=TRUE

By default this option is not defined.

If you have configured a custom color cursor you will also need to add:

ColorCursorUseDefault=FALSE

to have such configuration still working, otherwise reconfigure the color
in the GUI.

Keep in mind, when you change an option in Preferences window, this file
is overwritten.
Message from xfce4-session-4.12.1_4:

To be able to shutdown or reboot your system, you'll have to add .rules
files in /usr/local/etc/polkit-1/rules.d directory. Which looks
like this (replace PUTYOURGROUPHERE by your group):

polkit.addRule(function (action, subject) {
  if ((action.id == "org.freedesktop.consolekit.system.restart" ||
      action.id == "org.freedesktop.consolekit.system.stop")
      && subject.isInGroup("PUTYOURGROUPHERE")) {
    return polkit.Result.YES;
  }
});

For those who have working suspend/resume:

polkit.addRule(function (action, subject) {
  if (action.id == "org.freedesktop.consolekit.system.suspend"
      && subject.isInGroup("PUTYOURGROUPHERE")) {
    return polkit.Result.YES;
  }
});
root@bsd11:~ #

 

proc filesystem 추가 

root@bsd11:~ # vi /etc/fstab
proc            /proc           procfs          rw      0       0

 

xfce4 실행 스크립트 작성 (사용하는 유저로 작업을 해야 합니다.)

root@bsd11:~ # su - test
$ echo "#!/bin/sh" > ~/.xsession
$ echo "exec /usr/local/bin/startxfce4 --with-ck-launch" >> ~/.xinitrc
$ chmod +x ~/.xinitrc

 

slim install (Simple Login Manager)

xfce 의 경우 로그인 화면을 따로 제공하지 않기 때문에 slim 을 설치 합니다. 

root@bsd11:~ # pkg install slim

 

/etc/rc.conf 실행스크립트 추가 

# Xfce4 Settings
dbus_enable="YES"
hald_enable="YES"
slim_enable="YES"
moused_enable="YES"

 

리부팅후 확인

 

 

기본적인 FreeBSD Desktop 설정이 끝났습니다.

한글설정의 경우 ibus 또는 scim 을 이용해야 할것 같습니다.

 

 

댓글 남기기