Page MenuHomeSolus

Gparted not starting from budgie-menu
Closed, ResolvedPublic

Description

When klicking Gparted in budgie-menu, it does not start.

It does start, when launching "gparted" from the terminal.

in /usr/share/applications/gparted.desktop, changing Exec from

Exec=/usr/sbin/gparted_wrapper %f

to

Exec=sudo /usr/sbin/gparted %f

and

Terminal=true

works, but then the terminal is open in the background.

Is there something like gksudo, a sudo dialog like in SSC when installing packages? That should go into Exec to make it work, if i am not mistaken.

Event Timeline

GladOSkar updated the task description. (Show Details)
GladOSkar updated the task description. (Show Details)

Works on both the livecd and all tested systems.

You can't sudo without an active tty. If you read /usr/sbin/gparted_wraper you'll see that it calls pkexec,
and that the gparted package ships a policykit file that enables allow_gui

Are you sure your gparted package isn't corrupt, and that your system is fully up to date? This has been
fixed for months

My System is fully updated and i have reinstalled Gparted(with reboot in between) 2 times.

When i manually Execute

pkexec --disable-internal-agent "/usr/sbin/gparted"

I get

The value for the SHELL variable was not found the /etc/shells file

This incident has been reported.

Does that help?

Figured it out.
in

/etc/shells

there only was

/bin/zsh

but the default shell was bash. No idea how that happened, i never messed with any of that.
Added bash to /etc/shells and changed my default shell to zsh.
Works now. Thanks!

GladOSkar claimed this task.

Hm /etc/shells shouldn't be used or even exist, we have a stateless shells file, /usr/share/defaults/etc/shells

OK. I deleted /etc/shells. No idea how it got there.

Thank you!

In T1049#17269, @ikey wrote:

Hm /etc/shells shouldn't be used or even exist, we have a stateless shells file, /usr/share/defaults/etc/shells

After deleting /etc/shells, upgrading zsh fails with the following error:

flex% sudo eopkg up
Password: 
Updating repositories
Updating repository: Solus
eopkg-index.xml.xz.sha1sum     (40.0  B)100%      1.13 MB/s [00:00:00] [complete]
Solus repository information is up-to-date.
The following packages will be upgraded:
zsh
Total size of package(s): 1.73 MB
Downloading 1 / 1
Package zsh found in repository Solus
zsh-5.2-10-1-x86_64.eopkg [cached]
Installing 1 / 1
zsh-5.2-10-1-x86_64.eopkg [cached]
Installing zsh, version 5.2, release 10
Upgrading to new distribution release
Running pre removal operations for zsh
Running post removal operations for zsh
**Program terminated.
Script error: tr.org.pardus.comar.IOError: (2, 'No such file or directory', '/etc/shells')**
Please use 'pisi help' for general help.

But it should not need that, should it?
Should i create another Issue for that?

Just touch the file, and upgrade zsh. I've removed all handling in zsh for the shells file