LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 09-20-2014, 03:39 PM   #1
mintvx
Member
 
Registered: Aug 2014
Distribution: Debian 7.0
Posts: 101

Rep: Reputation: Disabled
How to activate Xfce4 desktop environment?


How to activate Xfce4 Desktop Environment? I executed
Quote:
apt-get install xfce4-goodies
it downloaded a a large amount of files, but when finished, it do not show any notifications, not even reboot promt, just stay.
I rebooted, but debian show the default terminal window with tty1 login prompt. Does it require to perform additional steps? I tried to run startx command, but it not recognized as valid command.

Is there way to load debian straight to Desktop environment? (why this not implemented by default?)

Last edited by mintvx; 09-20-2014 at 03:42 PM.
 
Old 09-20-2014, 03:55 PM   #2
goumba
Senior Member
 
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Fedora, OpenSUSE, FreeBSD, OpenBSD, macOS (hack). Past: Debian, Arch, RedHat (pre-RHEL).
Posts: 1,335
Blog Entries: 7

Rep: Reputation: 402Reputation: 402Reputation: 402Reputation: 402Reputation: 402
Did you do a minimal install?

Packages like "goodies" may or may not pull in dependencies for the full desktop environment.
Code:
apt-get install task-xfce-desktop
will install the desktop environment and a display manager so you can get started.
 
Old 09-20-2014, 04:09 PM   #3
mintvx
Member
 
Registered: Aug 2014
Distribution: Debian 7.0
Posts: 101

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by goumba View Post
Did you do a minimal install?

Packages like "goodies" may or may not pull in dependencies for the full desktop environment.
Code:
apt-get install task-xfce-desktop
will install the desktop environment and a display manager so you can get started.
Yes, I did minimal Debian install (if minimal means installing from debian-7.6.0-i386-netinst CD). How I can know that xfce4-goodies is not sufficient. Do I need now uninstall this xfce4-goodies?
 
Old 09-20-2014, 06:24 PM   #4
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
You don't need most of those "goodies" but they are handy.

You need the Xfce desktop environment installed. Xfce is very modular and you can install many of its features by themselves. I, for instance, used to use the xfce-panel package to supply a panel under the OpenBox window manager before learning the joys of tint2. So the xfce-goodies package has a bunch of xfce related stuff none of which depends on xfce4.

The command given by goumba will do that installation fine. This will too;
Code:
apt-get install xfce4
They both install the same meta package.

I would leave the goodies package installed. When you get to the desktop you could open synaptic and look at the package, find the depends (it is a meta package and has no code connected to it, just depends on a list of the goodies) and then look at those packages to see if you want them. If not purge the buggers.

There are a number of other ways to do the same thing using the cli but I am too lazy to list them with directions. Sorry, been a long day.
 
Old 09-20-2014, 09:02 PM   #5
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,326
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
Quote:
Is there way to load debian straight to Desktop environment?
In a default install of Debian, runlevels 2-5 are all treated as if they were runlevel 4. That's a fancy of saying Debian by default boots into a graphical display manager, that is, a GUI. (runlevel 3 is the terminal.)

If your Debian is not booting into a GUI, someone has modified it. I would therefore expect to find an .xinitrc file in your home directory--that file is used to specify the window manager/desktop environment. You would need to modify .xinitrc appropriately to start XFCE. This article will tell you more: https://wiki.debian.org/Xinitrc

If such modifications have been and and if you want to boot directly into the GUI, you must modify the file /etc/inittab and change the number in the following line from 3 to 4. This requires root privileges.

Code:
id:3:initdefault:

Last edited by frankbell; 09-20-2014 at 09:09 PM.
 
Old 09-20-2014, 10:38 PM   #6
goumba
Senior Member
 
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Fedora, OpenSUSE, FreeBSD, OpenBSD, macOS (hack). Past: Debian, Arch, RedHat (pre-RHEL).
Posts: 1,335
Blog Entries: 7

Rep: Reputation: 402Reputation: 402Reputation: 402Reputation: 402Reputation: 402
Quote:
Originally Posted by frankbell View Post
In a default install of Debian, runlevels 2-5 are all treated as if they were runlevel 4. That's a fancy of saying Debian by default boots into a graphical display manager, that is, a GUI. (runlevel 3 is the terminal.)

If your Debian is not booting into a GUI, someone has modified it. I would therefore expect to find an .xinitrc file in your home directory--that file is used to specify the window manager/desktop environment. You would need to modify .xinitrc appropriately to start XFCE. This article will tell you more: https://wiki.debian.org/Xinitrc

If such modifications have been and and if you want to boot directly into the GUI, you must modify the file /etc/inittab and change the number in the following line from 3 to 4. This requires root privileges.

Code:
id:3:initdefault:
Whoa. Slow down there. He said that if he types 'startx' he gets an error, meaning X likely isn't even installed. He even stated that he did a minimal install, so none of this will do anything but confuse the poor guy.

mintvx, yes, the command I gave you will install XFCE and X (the stuff responsible for presenting you with a GUI). Install it, reboot, and you'll get a graphical login screen provided everything else installed correctly.
 
Old 09-20-2014, 11:10 PM   #7
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,326
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
Nice catch. I missed the part about a "minimal install."

In my admittedly weak defense, I will say that, in my post, I specified a "default Debian install."

But, still, nice catch. I think your post will help OP. And thanks again.
 
Old 09-21-2014, 04:14 AM   #8
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,493

Rep: Reputation: Disabled
If you want a Debian with XFCE already set up and ready to go, take a look at this site,
http://mepiscommunity.org/mx
 
Old 09-21-2014, 09:07 AM   #9
mintvx
Member
 
Registered: Aug 2014
Distribution: Debian 7.0
Posts: 101

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by goumba View Post
Did you do a minimal install?

Packages like "goodies" may or may not pull in dependencies for the full desktop environment.
Code:
apt-get install task-xfce-desktop
will install the desktop environment and a display manager so you can get started.
Thank you for advice. I installed Xfce desktop. Does the LibreOffice is part of Xfce Desktop?
 
Old 09-21-2014, 09:58 AM   #10
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
Quote:
Originally Posted by frankbell View Post
In a default install of Debian, runlevels 2-5 are all treated as if they were runlevel 4. That's a fancy of saying Debian by default boots into a graphical display manager, that is, a GUI. (runlevel 3 is the terminal.)

If your Debian is not booting into a GUI, someone has modified it.
No. Debian boots to runlevel 2 and the command line by default.

In Debian, sysv run levels 2 - 5 are the same - multi-user.

Run level 1 is single user and 0 and 6 are halt and reboot.

Changing the default run level to anything between 2 and 5 will make no difference (unless someone has modified the run levels to start/stop certain rc scripts e.g. using sysv-rc-conf).

When you install a display manager it's rc script gets installed and enabled at runlevel 2.
 
Old 09-21-2014, 10:45 AM   #11
goumba
Senior Member
 
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Fedora, OpenSUSE, FreeBSD, OpenBSD, macOS (hack). Past: Debian, Arch, RedHat (pre-RHEL).
Posts: 1,335
Blog Entries: 7

Rep: Reputation: 402Reputation: 402Reputation: 402Reputation: 402Reputation: 402
Quote:
Originally Posted by mintvx View Post
Thank you for advice. I installed Xfce desktop. Does the LibreOffice is part of Xfce Desktop?
No, it's not, but installing that is just as simple.

Code:
apt-get install libreoffice
That should get you going.

Edit: You may also want to look at wht other packages LibreOffice has to offer, for example, the i10n packages for different languages if your native language is not English.

Also, installing something like synaptic will give you a GUI to Debian's package management, which you can search, read descriptions of packages, etc. much easier for a new user than the command line.

Code:
apt-get install synaptic
Synaptic will show up in your menu, typically under either System or Administration.

Last edited by goumba; 09-21-2014 at 11:02 AM.
 
Old 09-21-2014, 01:14 PM   #12
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
Just an aside from the topic a little bit;

I have heard that the disadvantage of perhaps using Xfce as the default DE for Debian is that it is not a full featured DE with a lot of packages that go with it such as LibreOffice, Gimp and so forth.

Most of those packages are added by the distro not the devs of the DE unless the packages are from that project.

If you install using the official Debian CD1/DVD1 LibreOffice is installed by default. This is part of the desktop environment that Debian thinks needs to be there. So is Gimp and most of the packages you would expect on a Debian default install.
 
Old 09-21-2014, 01:28 PM   #13
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
I also see that those added packages are installed as recommends by the "task-xfce" package but not by the xfce4 package. Makes sense to me.

When I ran Ubuntu I would install without the ubuntu-desktop package in favor of the gnome-desktop package. Was lighter because it only included the default Gnome packages.

I am, by the way, a convert to Xfce. I absolutlely love the xfce panel. It is what the gnome panel always wanted to grow up to be.
 
Old 09-21-2014, 02:44 PM   #14
mintvx
Member
 
Registered: Aug 2014
Distribution: Debian 7.0
Posts: 101

Original Poster
Rep: Reputation: Disabled
No, the LibreOffice and Synaptic Package Manager come with this "task-xfce-desktop" package.
I just thought there was an option to select the "light" version of Xfce Desktop Environment, without much extras. What is difference between task-xfce-desktop and xfce4 packages?

Last edited by mintvx; 09-21-2014 at 03:41 PM.
 
Old 09-21-2014, 09:37 PM   #15
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
With xfce4 you will have just the basic DE no office, no internet, minimal sound & also will have to configure how different files are opened/treated. With gnome everything is pretty much setup for you at point of installation.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Xfce4 Desktop Doubleclick ? GTrax Linux - Desktop 2 02-18-2009 12:04 PM
xfce4 desktop crashed mjalalynia Linux - Desktop 7 08-12-2008 02:25 AM
Problem with xfce4 Desktop m.parthiban Fedora 9 11-05-2006 09:04 PM
XFCE4 or other As Desktop roadrash-uk Mandriva 4 03-28-2005 07:38 AM
XFCE4 and desktop launcher utanja Debian 2 11-25-2004 03:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 01:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration