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
Has thanked: 1 time

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: 243
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
Has thanked: 1 time

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.

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

Re: Installing xfce after netinstall

#21 Post by ivanovnegro »

layr wrote: Okay.. i'll add it to startup list as soon as i get the admin rights:P Btw, may the gnome-power-manager be uninstalled when xfce4-power-manager is installed?
I think it is better to uninstall the Gnome Power Manager if you want to use the one from Xfce.

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

Re: Installing xfce after netinstall

#22 Post by vbrummond »

Well obviously the correct one is the below. It should be a know brainer considering there are only two choices. The auto choice is just for information.

Code: Select all

  2            /usr/share/libgksu/debian/gconf-defaults.libgksu-sudo   10        manual mode
This should enable synaptic to work from the menu entry using sudo instead of su.
Always on Debian Testing

User avatar
layr
Posts: 86
Joined: 2011-10-11 15:07
Has thanked: 1 time

Re: Installing xfce after netinstall

#23 Post by layr »

vbrummond wrote:Well obviously the correct one is the below. It should be a know brainer considering there are only two choices. The auto choice is just for information.

Code: Select all

  2            /usr/share/libgksu/debian/gconf-defaults.libgksu-sudo   10        manual mode
This should enable synaptic to work from the menu entry using sudo instead of su.
Tried both other options already, still a no-go.

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

Re: Installing xfce after netinstall

#24 Post by vbrummond »

Well it should work, unless the menu entry specifically uses gksu or policy kit.
Always on Debian Testing

User avatar
layr
Posts: 86
Joined: 2011-10-11 15:07
Has thanked: 1 time

Re: Installing xfce after netinstall

#25 Post by layr »

By the way, what is the root password? Installation never required creating root password. The same as user account password?

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

Re: Installing xfce after netinstall

#26 Post by vbrummond »

The Debian installation requires you input a root password, you can leave it blank to automatically set up the first user as sudo.
Always on Debian Testing

User avatar
layr
Posts: 86
Joined: 2011-10-11 15:07
Has thanked: 1 time

Re: Installing xfce after netinstall

#27 Post by layr »

vbrummond wrote:The Debian installation requires you input a root password, you can leave it blank to automatically set up the first user as sudo.
I probably sound like a smart-ass, but no, it didn't. Installer asked password only for my user, 'root password' was never mentioned.

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

Re: Installing xfce after netinstall

#28 Post by vbrummond »

I do not think you are being a smart ass, its just I have never had it not ask me.
Image
Always on Debian Testing

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

Re: Installing xfce after netinstall

#29 Post by salome »

vbrummond wrote:The Debian installation requires you input a root password, you can leave it blank to automatically set up the first user as sudo.
I remember this happened to me the first time I did a Debian netinst. I left the password for root blank--very easy to miss for someone with short attention span like me. Never have to sudo again.
Debian Wheezy + Xfce
# aptitude purge windows

User avatar
layr
Posts: 86
Joined: 2011-10-11 15:07
Has thanked: 1 time

Re: Installing xfce after netinstall

#30 Post by layr »

vbrummond wrote:I do not think you are being a smart ass, its just I have never had it not ask me.
Image
That is available only when you select the option allowing logging in as root.

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

Re: Installing xfce after netinstall

#31 Post by vbrummond »

layr wrote:That is available only when you select to allow logging in as root.
I am sorry but.. back up. You disabled root intentionally and then state that the installer does not ask for a root password? Disabling root prompt is only available if you choose to use a more verbose installer as well. You can probably make a root account if you give it a password, but I would make sure before you do I do not have vbox up to test if it breaks anything. :) (I usually have a root account I never disabled it until this install).
Always on Debian Testing

User avatar
layr
Posts: 86
Joined: 2011-10-11 15:07
Has thanked: 1 time

Re: Installing xfce after netinstall

#32 Post by layr »

Haha:D I thought the 'login as root' was as for logging from login page only:D
Then again, Ubuntu doesn't even have that option, yet root passwords work?!
(i'm probably mixing something up again). Well, i'll go with the root login option then :)

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

Re: Installing xfce after netinstall

#33 Post by vbrummond »

Ubuntu actually is set up with no root login, which some people complain about. To be honest I really see no difference and find sudo to be more convenient. (except when I have to echo something into a file, I need to log into a root shell with sudo su)
Always on Debian Testing

User avatar
layr
Posts: 86
Joined: 2011-10-11 15:07
Has thanked: 1 time

Re: Installing xfce after netinstall

#34 Post by layr »

Ok, got that working now.
But suspend option is still a no-go :(

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

Re: Installing xfce after netinstall

#35 Post by vbrummond »

All I know about suspend is your hardware must support it under Linux (never had it work with nvidia cards) and you need pm-utils installed.
Always on Debian Testing

Post Reply