0% found this document useful (0 votes)
103 views

Reinstall Xfce Desktop

The document provides instructions for installing and running the Xfce desktop environment on Debian systems. It describes how to install Xfce either on a fresh Debian install by selecting it during installation or by installing the xfce4 metapackage on an existing system. It also explains how to run Xfce using a display manager like GDM or LightDM or directly from the console. Additional Xfce components and packages are mentioned.

Uploaded by

nic b
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
103 views

Reinstall Xfce Desktop

The document provides instructions for installing and running the Xfce desktop environment on Debian systems. It describes how to install Xfce either on a fresh Debian install by selecting it during installation or by installing the xfce4 metapackage on an existing system. It also explains how to run Xfce using a display manager like GDM or LightDM or directly from the console. Additional Xfce components and packages are mentioned.

Uploaded by

nic b
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

alt+ctr+f2 -nologin cmd


xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
aptitude purge `dpkg --get-selections | grep gnome | cut -f 1`
aptitude -f install
aptitude purge `dpkg --get-selections | grep deinstall | cut -f 1`
aptitude -f install
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
nano /etc/network/interfaces
auto enp5s0
iface enp5s0 inet dhcp
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
nano /etc/resolv.conf
nameserver 192.168.1.1
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
sudo /etc/init.d/networking restart
sudo ifdown
sudo ifup
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
apt-get install xfce4
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
apt-get install lightdm-gtk-greeter
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

apt-get install xdm


Debian

Wiki
Login

FrontPage
RecentChanges
FindPage
HelpContents

Search:
Debian
Wiki/

LoginInfoAttachments
More Actions:

Xfce

Translation(s): English - Français - Italiano - ??? - Русский - Svenska - Español -


????

Xfce Logo (GPLv2)

Contents

Introduction
Xfce in Debian
Versions
How to install Xfce
Install a fresh system with Xfce
Install Xfce in an already installed system
Run Xfce
With a display manager
From the console
Other Packages
External Links

Introduction

Xfce is a lightweight desktop environment for Unix-like operating systems. It aims


to be fast and lightweight, while still being visually appealing and easy to use.

Xfce is based on GTK+ version 2 (like Gnome 2). One of Xfce's priorities is
adherence to standards, specifically those defined at freedesktop.org. This allows
Xfce to seamlessly interoperate with programs written for other desktop
environments, if those programs follow the specified standards.

Xfce consists of a number of components that together provide the full


functionality of a desktop environment. They are packaged separately and you can
pick and choose from the available packages to create the best personal working
environment.

Xfce in Debian

Xfce is one of the DesktopEnvironment options in the DebianDesktopHowTo.

Versions

Debian Wheezy contains Xfce 4.8.0.3

Debian Jessie contains Xfce 4.10.1

Debian Stretch contains Xfce 4.12.2

Debian Testing contains Xfce 4.12.2

Debian Unstable contains Xfce 4.12.2

How to install Xfce

Install a fresh system with Xfce

If you install a new system, the installation guide explains a way to install Xfce
directly:

At the Debian Installer boot prompt, press the tab key to edit the command
line, then add

desktop=xfce
Alternatively, go to "Advanced options" then "Alternate desktop
environments", and choose Xfce there.
When prompted to select the task to install, make sure you click "Desktop
Environment"

For a complete rundown refer to the Debian Desktop Howto.

Install Xfce in an already installed system

Optional: If you want to uninstall GNOME and its dependencies first, do:

aptitude purge `dpkg --get-selections | grep gnome | cut -f 1`


aptitude -f install
aptitude purge `dpkg --get-selections | grep deinstall | cut -f 1`
aptitude -f install

Be aware that this can leave you with a broken system. Use caution.

To install Xfce, do the following:

apt-get install xfce4

This will install a metapackage, which will install the core Xfce modules and
scripts to get it to work.

There are many useful utilities that come with Xfce, to install these:

apt-get install xfce4-goodies

In some Debian 8 minimal version installations (for example Google Compute Engine
VMs), the following issue may occur after installing Xfce:

The icons for applications and files in file browser do not appear.

The above issue could indicate some Xfce dependencies are missing. ûOne solution to
this is to install "task-xfce-desktop" (task-xfce-desktop):

sudo apt-get install task-xfce-desktop

The above installs the needed dependencies and resolves the issue. Please note:
task-xfce-desktop will also install the desktop environment, display manager and
other programs (such as LibreOffice) if not yet present on the system.

Run Xfce

With a display manager

For GDM, KDM and LightDM choose xfce4-session.

For slim boot session in /etc/slim.conf:

login_cmd exec ck-launch-session /bin/bash -login /etc/X11/Xsession %session

You also can install xdm to login in start Xfce.

From the console

If you don't use a login manager but start Xfce from console, you need to take care
of few stuff in order to get a complete Xfce session with full permission (mount,
suspend/shutdown/hibernate etc.) This is because Debian now uses ?
PolicyKit/ConsoleKit to manage policies for things like device and power
management.

only use startx, without any argument


don't use a .xinitrc, add in file ~/.xsession:

exec ck-launch-session startxfce4

This is because ?ConsoleKit ships an init script


(/etc/X11/Xsession.d/90consolekit), but the /etc/X11/Xsession.d/ scripts are only
executed if you don't use any .xinitrc. See startx (1) for more information.
Then you need to fine-tune your pam installation so ?ConsoleKit can be sure that
your user is correctly authenticated. For that, you need to install libpam-ck-
connector and put before pam_ck_connector.so in /etc/pam.d/common-session.

session optional pam_loginuid.so

Other Packages

Other packages that can be found with:

apt-cache search xfce4

To install all xfce4 packages do:

apt-get install `apt-cache search xfce | cut -d ' ' -f1`

External Links

http://www.xfce.org - The Xfce website

#xfce - IRC channel

http://pkg-xfce.alioth.debian.org - The Debian Xfce packaging website

CategoryDesktopEnvironment

Xfce (last modified 2017-08-02 10:10:31)

Debian privacy policy


MoinMoin PoweredPython PoweredDebian Wiki team, bugs and config
available.Hosting provided by Metropolitan Area Network Darmstadt

You might also like