Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Installing xfce after netinstall

New to Debian (Or Linux in general)? Ask your questions here!
Message
Author
User avatar
layr
Posts: 86
Joined: 2011-10-11 15:07

Installing xfce after netinstall

#1 Post by layr »

Few newcomer Qs:
1. If the "install desktop environment" gets unchecked in netinstall option, what has to be installed after base installation?
I understand login relies on gdm, so would simply installing gdm and xfce4 suffice?
2. Are there any packages that mosdefly have to be installed after clean netinstall?
3. What's included in the "Laptop" software option (also in netinst)?

Gerowen
Posts: 182
Joined: 2011-04-11 05:12
Location: Kentucky
XMMP/Jabber: gerowen@conversations.im
Has thanked: 5 times
Been thanked: 2 times
Contact:

Re: Installing xfce after netinstall

#2 Post by Gerowen »

1) There are usually meta packages in synaptic that point to a collection of other packages. For example installing the "gnome" package will install all of the normal gnome applications. There appears to be a meta package named "xfce4" just for the purpose of installing XFCE and all of its normal apps.

2) Personally, after a clean netinstall, I usually enable the non-free repos so I can get access to Oracle Java, Adobe Flash, and a few other bits of software. You can also stop by mozilla.debian.net and add those repositories so you can always have the latest version of Iceweasel(Firefox). Also, after installing the backports repository listed on that website, you'll have the option to install LibreOffice in lieu of OpenOffice from Synaptic.

3) You can use the "tasksel" command to re-invoke that checklist you're presented with on install. To view what packages are installed in an option, just do:

Code: Select all

tasksel --task-packages packagename
That command can be ran as a normal user too, so you can list options without accidentally affecting your software installations.

The command "tasksel --help" will provide you with more options. For the "laptop" option you asked about, mine says the following packages are installed:
wireless-tools
acpi-support
cpufrequtils
acpi
wpasupplicant
powertop
acpid
apmd
pcmciautils
pm-utils
anacron
avahi-autoipd
bluetooth

User avatar
nadir
Posts: 5961
Joined: 2009-10-05 22:06
Location: away

Re: Installing xfce after netinstall

#3 Post by nadir »

If you only install xfce4 you don't get that much.
If you need a display-manager, you can install gdm, like you said.
I think installing "xfce4" will neither install a web-browser nor a gui-editor nor a good terminal and barely multimedia stuff (if at all)
.
You got the choice to install another metapackage, called "xfce4-goodies", and will get a lot of tools, or you install one after the other (which is what i do, cause the xfce4-goodies install a lot of apps i don't use, say mousepad). You might want to have a look here:
http://wiki.xfce.org/recommendedapps
or just search the forum for the usual things that you do (or just ask here, but say what kind of apps you need).
"I am not fine with it, so there is nothing for me to do but stand aside." M.D.

salome
Posts: 43
Joined: 2011-08-10 07:04
Location: Manila, Philippines

Re: Installing xfce after netinstall

#4 Post by salome »

Squeeze:

Code: Select all

# aptitude install xorg xfce4 gdm
Wheezy:

Code: Select all

# aptitude install xorg xfce4 gdm3
Why use gdm3 instead of lighter display managers like slim, xdm or lightdm? Because Wheezy's policykit bugs (e.g. USB device mounting, suspend/hibernate) affect these light DMs. Even though gdm3 pulls in some Gnome dependencies, it doesn't have any such bugs--a good compromise if you ask me. I would still use gdm for Squeeze.

Instead of installing xfce4-goodies, you may want to install packages individually.
Debian Wheezy + Xfce
# aptitude purge windows

User avatar
layr
Posts: 86
Joined: 2011-10-11 15:07

Re: Installing xfce after netinstall

#5 Post by layr »

Thank you guys, especially for the xfce4-goodies link and xorg reminder. Btw, why isn't xorg included in the base installation?

Also an offtopic question - is installing xfce AND Compiz reasonable as in will it perform better than Gnome2 and Compiz?
Last edited by layr on 2011-10-24 20:05, edited 1 time in total.

Aris Veresie
Posts: 562
Joined: 2011-06-02 15:55
Location: Limassol, Cyprus

Re: Installing xfce after netinstall

#6 Post by Aris Veresie »

layr wrote:Thank you guys, especially for the xfce4-goodies link and xorg reminder. Btw, why isn't xorg included in the base installation?
Base installation is a basic text only installation.
Adding X Windows is a complex installation.
This way things are kept simpler.
Being anonymous is the same as being an idiot.

vbrummond
Posts: 4432
Joined: 2010-03-02 01:42

Re: Installing xfce after netinstall

#7 Post by vbrummond »

Very good advice here, all things I have done myself and would recommend. I would like to add you can get Debian's slightly fleshed out xfce desktop by booting the installer with:

Code: Select all

desktop=xfce
Just leave desktop environment checked if you do that. Once the system is installed you can add/remove whatever you want. I do not think it installs synaptic though, so if you want that, get it with:

Code: Select all

apt-get --no-install-recommends install synaptic
Always on Debian Testing

User avatar
el_koraco
Posts: 242
Joined: 2011-10-20 11:49
Has thanked: 3 times
Been thanked: 8 times

Re: Installing xfce after netinstall

#8 Post by el_koraco »

salome wrote:Squeeze:

Code: Select all

# aptitude install xorg xfce4 gdm
Wheezy:

Code: Select all

# aptitude install xorg xfce4 gdm3
Why use gdm3 instead of lighter display managers like slim, xdm or lightdm? Because Wheezy's policykit bugs (e.g. USB device mounting, suspend/hibernate) affect these light DMs.
You need

Code: Select all

..somestuff...
eval 'dbus-launch --sh-syntax --exit-with-session' 
exec ck-launch-session WM/DE
in .xinitrc in order to get the permissions working correctly. Those are not bugs per se, they pretain to how upstream packages software - the standard Gnome session expects GDM, the standard KDE session KDM, and so on. It's impossible to predict all the configurations or desires users might want to have (some users don't want automounting via hal, or don't want it at all), which is why smaller DMs or xinit don't come with the permissions predefined.

ivanovnegro
Posts: 728
Joined: 2011-06-04 20:06
Location: Valencia, Spain

Re: Installing xfce after netinstall

#9 Post by ivanovnegro »

Man, if just GDM3 would not look such bad on my Xfce Wheezy. :x

User avatar
sunflower
Posts: 17
Joined: 2011-02-14 21:55

Re: Installing xfce after netinstall

#10 Post by sunflower »

hi, i've downloaded debian testing (weekly cd) but it doesn't come with DE (gnome-core). Could anyone confirm if the xfce/lxde version of wheezy come with DE? i have a slow internet connections if i have to manually download DE/the dvd version. thanks :D

User avatar
layr
Posts: 86
Joined: 2011-10-11 15:07

Re: Installing xfce after netinstall

#11 Post by layr »

How come i still get loads of apps after netinstall? I only selected Laptop and desktop environment from the software selection. (Wheezy netinst)

PS. the installation lets user choose the desktop environment (advanced options -> desktop environment or something similar)
PS2 I performed the advanced graphical install.

ivanovnegro
Posts: 728
Joined: 2011-06-04 20:06
Location: Valencia, Spain

Re: Installing xfce after netinstall

#12 Post by ivanovnegro »

layr wrote:How come i still get loads of apps after netinstall?
Simply because you selected desktop environment and with that it pulls everything what Debian thinks is good for you. ;) A real minimal install should be without installing the desktop environment from the installer.

Aris Veresie
Posts: 562
Joined: 2011-06-02 15:55
Location: Limassol, Cyprus

Re: Installing xfce after netinstall

#13 Post by Aris Veresie »

Being anonymous is the same as being an idiot.

User avatar
layr
Posts: 86
Joined: 2011-10-11 15:07

Re: Installing xfce after netinstall

#14 Post by layr »

ivanovnegro wrote:Simply because you selected desktop environment and with that it pulls everything what Debian thinks is good for you. ;) A real minimal install should be without installing the desktop environment from the installer.
Goddamnit. Reinstall it is. Thanks!

Edit: more noob questions concerning installation:
1. Drivers included - generic vs targeted. I've gone with targeted so far. Is this reasonable? How much disk space does this option save compared to generic?
2. "Standard system utilities" - in the software selection dialog. Tried to identify it with the tasksel command, as was recommended earlier, but this time it doesn't seem to be working. Can anyone tell what's included in this package?
3. What's the deal with xfce offering to create new session at startup - how can this get rid of?
A: Settings->Settings Manager->Session and Startup->uncheck session chooser.

4. pm-utils and upower are installed, but suspend is still not listed in the exit menu?! (having installed gdm3)

User avatar
nadir
Posts: 5961
Joined: 2009-10-05 22:06
Location: away

Re: Installing xfce after netinstall

#15 Post by nadir »

2-> standard:

Code: Select all

adduser
apt
apt-listchanges
apt-utils
aptitude
at
base-files
base-passwd
bash
bash-completion
bc
bind9-host
bsd-mailx
bsdmainutils
bsdutils
coreutils
cpio
cron
dash
dc
debconf
debconf-i18n
debian-archive-keyring
debian-faq
debianutils
diffutils
dmidecode
dnsutils
doc-debian
doc-linux-text
dpkg
e2fslibs
e2fsprogs
exim4
exim4-base
exim4-config
exim4-daemon-light
file
findutils
ftp
gcc-4.4-base
gettext-base
gnupg
gpgv
grep
groff-base
gzip
host
hostname
ifupdown
info
initscripts
install-info
iproute
iptables
iputils-ping
isc-dhcp-client
isc-dhcp-common
less
libacl1
libattr1
libbind9-60
libblkid1
libboost-iostreams1.42.0
libbz2-1.0
libc-bin
libc6
libc6-i386
libcap2
libcomerr2
libcwidget3
libdb4.6
libdb4.7
libdb4.8
libdns69
libedit2
libept1
libevent-1.4-2
libgc1c2
libgcc1
libgcrypt11
libgdbm3
libgnutls26
libgpg-error0
libgpm2
libgssapi-krb5-2
libgssglue1
libgssrpc4
libidn11
libisc62
libk5crypto3
libkadm5clnt-mit7
libkadm5srv-mit7
libkdb5-4
libkeyutils1
libkrb5-3
libkrb5support0
libldap-2.4-2
liblocale-gettext-perl
liblockfile1
liblwres60
liblzma2
libmagic1
libncurses5
libncursesw5
libnewt0.52
libnfsidmap2
libpam-modules
libpam-runtime
libpam0g
libpci3
libpcre3
libpopt0
libreadline6
librpcsecgss3
libsasl2-2
libselinux1
libsepol1
libsigc++-2.0-0c2a
libslang2
libsqlite3-0
libss2
libssl0.9.8
libstdc++6
libtasn1-3
libtext-charwidth-perl
libtext-iconv-perl
libtext-wrapi18n-perl
libtokyocabinet8
libudev0
libusb-0.1-4
libuuid1
libxapian22
libxml2
locales
login
logrotate
lsb-base
lsof
m4
man-db
manpages
mawk
mime-support
mlocate
module-init-tools
mount
mutt
nano
ncurses-base
ncurses-bin
ncurses-term
net-tools
netbase
netcat-traditional
nfs-common
openssh-client
passwd
patch
pciutils
perl
perl-base
perl-modules
portmap
procmail
procps
python
python-apt
python-central
python-minimal
python-reportbug
python-support
python2.6
python2.6-minimal
readline-common
reportbug
rsyslog
sed
sensible-utils
sysv-rc
sysvinit
sysvinit-utils
tar
tasksel
tasksel-data
tcpd
telnet
texinfo
time
traceroute
tzdata
ucf
udev
util-linux
vim-common
vim-tiny
w3m
wamerican
wget
whiptail
whois
xz-utils
zlib1g
from the debian wiki, where you will find a lot of info of that kind (and a lot not :-) )
http://wiki.debian.org/tasksel
"I am not fine with it, so there is nothing for me to do but stand aside." M.D.

User avatar
layr
Posts: 86
Joined: 2011-10-11 15:07

Re: Installing xfce after netinstall

#16 Post by layr »

nadir wrote: from the debian wiki, where you will find a lot of info of that kind (and a lot not :-) )
http://wiki.debian.org/tasksel
Well, I'm obviously not too good with the Debian wiki. Even landed on that page, but ctrl+F 'utilities' didn't give any results so i gave up with that one :P
Edit: this stuff keeps pouring down - why can't i login to synaptic? Says the passwd is incorrect. Does this have something to do with the fact i disabled login as root?

vbrummond
Posts: 4432
Joined: 2010-03-02 01:42

Re: Installing xfce after netinstall

#17 Post by vbrummond »

If you disabled the root account do you have sudo working? Make sure you are added to the admin group and run:

Code: Select all

sudo update-alternatives --config libgksu-gconf-defaults
Pick gksudo instead of gksu.
Always on Debian Testing

ivanovnegro
Posts: 728
Joined: 2011-06-04 20:06
Location: Valencia, Spain

Re: Installing xfce after netinstall

#18 Post by ivanovnegro »

Have you configured sudo then?

User avatar
el_koraco
Posts: 242
Joined: 2011-10-20 11:49
Has thanked: 3 times
Been thanked: 8 times

Re: Installing xfce after netinstall

#19 Post by el_koraco »

layr wrote: 4. pm-utils and upower are installed, but suspend is still not listed in the exit menu?! (having installed gdm3)
You need xfce4-power-manager, and you need to add it to the list of startup applications.

User avatar
layr
Posts: 86
Joined: 2011-10-11 15:07

Re: Installing xfce after netinstall

#20 Post by layr »

vbrummond wrote:If you disabled the root account do you have sudo working? Make sure you are added to the admin group and run:

Code: Select all

sudo update-alternatives --config libgksu-gconf-defaults
Pick gksudo instead of gksu.
Yes, sudo is working. So far i've been running synaptic via "sudo synaptic".
What i did:

Code: Select all

sudo groupadd admin
sudo adduser myusername admin
When it comes to 'sudo update-alternatives --config libgksu-gconf-defaults', then...

Code: Select all

There are 2 choices for the alternative libgksu-gconf-defaults (providing /usr/share/gconf/defaults/10_libgksu).

  Selection    Path                                                   Priority   Status
------------------------------------------------------------
* 0            /usr/share/libgksu/debian/gconf-defaults.libgksu-su   20        auto mode
  1            /usr/share/libgksu/debian/gconf-defaults.libgksu-su     20        manual mode
  2            /usr/share/libgksu/debian/gconf-defaults.libgksu-sudo   10        manual mode
...i'm not familiar with these settings ie what are they for and... can't see 'gksudo' here either.
ivanovnegro wrote:Have you configured sudo then?
Do you mean editing sudoers file? IMHO everything looks ok there:

Code: Select all

#
# This file MUST be edited with the 'visudo' command as root.
#
# See the man page for details on how to write a sudoers file.
#

Defaults        env_reset

# Host alias specification

# User alias specification

# Cmnd alias specification

# User privilege specification
root    ALL=(ALL:ALL) ALL

# Allow members of group sudo to execute any command
%sudo ALL=(ALL:ALL) ALL
# (Note that later entries override this, so you might need to move
# it further down)
%sudo ALL=(ALL) ALL

# See sudoers(5) for more information on "#include" directives:

#includedir /etc/sudoers.d
PS tried adding myself to group 'sudo' too.
el_koraco wrote:You need xfce4-power-manager, and you need to add it to the list of startup applications.
Okay.. i'll add it to startup list as soon as i get the admin rights. Btw, may the gnome-power-manager be uninstalled when xfce4-power-manager is installed?
Last edited by layr on 2022-06-27 19:58, edited 1 time in total.

Post Reply