Install a Desktop Environment

I've just installed FreeBSD but when I rebooted the PC, FreeBSD started in command line mode. How can I install XFCE or another D.E.?

(Sorry for my English, I'm Italian)
 
adamk said:
You should really check the handbook before asking these types of questions. It's even available in Italian:

http://www.freebsd.org/doc/it_IT.ISO8859-15/books/handbook/x11-wm.html

Adam

I tried to install xfce4 but when I start compiling, after the [cmd=]make install clean[/cmd] command. FreeBSD works for about 20 minutes, then I get those lines:

Code:
./gtk.override: In funzion "_wrap_gtk_message_dialog_format_secondary_text"
./gtk.override: 6354: warning: null format string
./gtk.override: In funzion "_wrap_gtk_message_dialog_format_secondary_markup"
./gtk.override: 6377: warning: null format string

and it stops. Doesn't do anything... I've waited for about 10 minutess then I stopped the istallation.

What can I do to fix this problem?
 
Sorry for the double post, but in these two lines I made a mistake:

Code:
./gtk.override: In funzion "_wrap_gtk_message_dialog_format_secondary_markup"
./gtk.override: In funzion "_wrap_gtk_message_dialog_format_secondary_text"
They are:

Code:
./gtk.override: In fun[B]CT[/B]ion "_wrap_gtk_message_dialog_format_secondary_markup"
./gtk.override: In fun[B]CT[/B]ion "_wrap_gtk_message_dialog_format_secondary_markup"
 
I've updated the ports tree via portsnap. But I still have the same problem compiling.

If I try
Code:
pkg_updating xfce4
it returns some warnings about updating from xfce4.4 to xfce 4.6, but it does nothing. How to update? It says that I need to remove some packages like x11/libxfce4msc (or something like that) but if I try to remove libxfce4msc pkg_delete returns that the package isn't installed. I have to do
Code:
pkg_delete /x11/libxfce4msc
?
I only tried with
Code:
pkg_delete libxfce4msc

I can use
Code:
startxfce
but it starts a black screen and I must reset the pc.

If I try
Code:
pkg_delete xfce4
it says that xfce4 is not installed.
 
Locksley said:
If i try
Code:
pkg_updating xfce4
it returns some warnings about updating from xfce4.4 to xfce 4.6, but it does nothing. How to update?
Read /usr/ports/UPDATING:

20090304:
AFFECTS: users of x11-wm/xfce4
AUTHOR: oliver@FreeBSD.org

When upgrading from Xfce 4.4 to 4.6 make sure you uninstall the following
ports:

x11/libxfce4mcs
sysutils/xfce4-mcs-manager
sysutils/xfce4-mcs-plugins
x11-themes/xfce4-icon-theme

You may uninstall them before you start the upgrade procedure (preferred)
or even afterwards when the upgrade went fine.

Please also note that Xfce 4.6 does not come with an icon theme any more.
Xfce 4.6 now depends on the Tango theme which is now installed by default.
The default installation of Xfce is also adjusted to use this icon theme
instead of the Xfce 4.4 standard Rodent theme. If you are upgrading from
Xfce 4.4 to 4.6 you probably still have the Rodent theme selected. This
will lead to several "missing" icons when starting up Xfce.

Make sure to switch as well to the Tango theme. To do this just open the
Settings Manager and select Appearance. Inside the Appearance dialog
switch to the Icons tab and select the "Tango" entry in the list on the
left side of the Icons tab.

For enabling the Reboot/Shutdown functionality of Xfce's logout dialog
please read the note which gets printed out after the installation of
x11-wm/xfce4 about how to configure PolicyKit.
 
Yes, this is the message, but... what can I do? I can't update XFCE? How can I delete the previous install for try to install the new version?
 
There are several choices here, but I will assume that you will want to get around this problem with the minimum effort. So I suggest you by-pass the problematic port with pkg_add. This will download and install the binary (already compiled) package.

1. set in /root/.cshrc or ~/.cshrc (assuming you are using /bin/sh AND amd64) - navigate the ftp site to make sure:
Code:
setenv  FTP_PASSIVE_MODE
setenv  PACKAGESITE  http://ftp.it.freebsd.org/pub/FreeBSD/
ports/amd64/packages-current/Latest/
setenv  PKGREPOSITORY /path/to/pkg
2. # pkg_add -ri libxfce4msc
(don't say x11/libxfce4msc, under Latest; pkg_add looks for x11 dir which does not exist)
3. cd to xfce4 and
# make clean
# make installthis way, if you run into problems do another pkg_add for the port that ran into the wall and re-run the commands. make will pick-up from where it left because the depends ports have already been installed and have been satisfied.
 
Sorry Locksley, I mis-read your last post...

May I suggest that you first install ports-mgmt/portmaster and run
# portmaster --check-depends
# portmaster --check-port-dbdir
This will at least tell you the ports which have broken structures. In a second terminal <alt>F3 you can install / compile the missing ports, then re-run the command to clean up (answer no to "delete dependency?")
 
Back
Top