SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2010-02-01 16:46:02

wassm.
Member
Registered: 2009-09-06
Posts: 41

[SOLVED]: How to have administrative privileges?

Hi,
i am testing crunchbang in virtualbox-i installed it, but when i want to update the system, it says that i have no administrative privileges. So i open terminal, type sudo -s and then i run synaptic. Is there any way to have from desktop this privileges activated? For always-not to run apps from terminal?

Last edited by wassm. (2010-02-01 21:33:20)


Dell Mini 10v, 1GB RAm, 160 GB Hard Disk, #! (testing)

Offline

Help fund CrunchBang, donate to the project!

#2 2010-02-01 18:05:10

iggykoopa
Script Master
Registered: 2008-12-13
Posts: 1,486

Re: [SOLVED]: How to have administrative privileges?

you can use synaptic to update if you want to use the gui, it should ask for your password. If it isn't asking for your password you can try hitting alt+f2 and type in gksudo synaptic.


I say never be complete, I say stop being perfect, I say lets evolve, let the chips fall where they may.

Offline

#3 2010-02-01 19:33:16

wassm.
Member
Registered: 2009-09-06
Posts: 41

Re: [SOLVED]: How to have administrative privileges?

This is what i have when i run synaptic:

Starting without administrative privileges

You will not be able to apply any changes. However, you can still export the marked changes or create a download script for them.


Dell Mini 10v, 1GB RAm, 160 GB Hard Disk, #! (testing)

Offline

#4 2010-02-01 19:38:21

iggykoopa
Script Master
Registered: 2008-12-13
Posts: 1,486

Re: [SOLVED]: How to have administrative privileges?

try using the gksudo line  then. If that works for you, you can edit the menu entry to add gksudo before synaptic.


I say never be complete, I say stop being perfect, I say lets evolve, let the chips fall where they may.

Offline

#5 2010-02-01 20:35:19

pvsage
Internal Affairs
From: North Carolina
Registered: 2009-10-18
Posts: 13,282

Re: [SOLVED]: How to have administrative privileges?

Are you running an *installed* CrunchBang in Virtualbox, or is it a live session?  I think the default configuration of the live session is to *not* automatically open Synaptic in administrative mode.

You can gksudo Synaptic in the live session, but I'm not sure if any changes you make will survive a restart.  It depends of whether you have persistence enabled.

Offline

#6 2010-02-01 20:51:53

wassm.
Member
Registered: 2009-09-06
Posts: 41

Re: [SOLVED]: How to have administrative privileges?

pvsage wrote:

Are you running an *installed* CrunchBang in Virtualbox, or is it a live session?  I think the default configuration of the live session is to *not* automatically open Synaptic in administrative mode.

You can gksudo Synaptic in the live session, but I'm not sure if any changes you make will survive a restart.  It depends of whether you have persistence enabled.

I have installed version.


Dell Mini 10v, 1GB RAm, 160 GB Hard Disk, #! (testing)

Offline

#7 2010-02-01 21:25:12

pvsage
Internal Affairs
From: North Carolina
Registered: 2009-10-18
Posts: 13,282

Re: [SOLVED]: How to have administrative privileges?

Are you running Synaptic from the menu (System >> Package Manager)?  The default setting is for that to run `gksu synaptic`.  If that's been changed for some reason, go to Preferences >> Openbox Config >> Edit menu.xml and search for synaptic.  Make sure you have this:

            <item label="Package Manager">
                <action name="Execute">
                    <execute>
                        gksudo synaptic
                    </execute>
                </action>
            </item>

Offline

#8 2010-02-01 21:32:36

wassm.
Member
Registered: 2009-09-06
Posts: 41

Re: [SOLVED]: How to have administrative privileges?

pvsage wrote:

Are you running Synaptic from the menu (System >> Package Manager)?  The default setting is for that to run `gksu synaptic`.  If that's been changed for some reason, go to Preferences >> Openbox Config >> Edit menu.xml and search for synaptic.  Make sure you have this:

            <item label="Package Manager">
                <action name="Execute">
                    <execute>
                        gksudo synaptic
                    </execute>
                </action>
            </item>

That was it-i was running it from Alt+F2. When i go to system, everything works just fine. Thanks


Dell Mini 10v, 1GB RAm, 160 GB Hard Disk, #! (testing)

Offline

#9 2010-02-01 21:46:32

pvsage
Internal Affairs
From: North Carolina
Registered: 2009-10-18
Posts: 13,282

Re: [SOLVED]: How to have administrative privileges?

Mythbuster: "Well there's your problem!"

Glad you have it sorted.

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo