Is Gparted not available via a VNC session?
Bo Berglund
bo.berglund at gmail.com
Mon Dec 27 19:22:42 UTC 2021
On Mon, 27 Dec 2021 19:03:01 +0100, Bo Berglund <bo.berglund at gmail.com> wrote:
>So I tried the following from a post on AskUbuntu:
>
>- Start a terminal
>- $ xhost +local:
>- Start another terminal
>- $ sudo gparted
>- Now GParted appears!
>
>- Close GParted
>- Use Mate menu to start GParted
>- Nothing happens...
>- ps shows no sign of gparted...
>- Again type sudo gparted into one of the terminals
>- Gparted appears
>
>So what is the deal here, can Gparted only be started from a Teminal when using
>VNC????
>
>How can I make the magic happen also if I use the Mate Menu to start GParted?
>
I have located the desktop file for GParted here:
/usr/share/applications/gparted.desktop
And I found this line for starting GParted:
Exec=/usr/sbin/gparted %f
Can this be modified to read similar to this in order for the system to be set
up such that GParted starts?
Exec=/usr/bin/xhost +local: ; /usr/sbin/gparted %f
(I have tested this and it does *not* work)
This would then mimic how it can be done on the command line itself.
--
Bo Berglund
Developer in Sweden
More information about the ubuntu-users
mailing list