Is Gparted not available via a VNC session?

Ralf Mardorf kde.lists at yahoo.com
Mon Dec 27 20:18:37 UTC 2021


On Mon, 27 Dec 2021 20:22:42 +0100, Bo Berglund wrote:
>Exec=/usr/bin/xhost +local: ; /usr/sbin/gparted %f

Hi,

I don't know if "xhost +" and similar do solve the problem in your
special case. However, at least your desktop file can execute a script.

The Exec line could be "Exec=/usr/local/bin/my_script.sh %f" and
my_script.sh could be something like

  #!/bin/dash
  xhost +SI:localuser:root
  gksudo gparted "$@"
  exit

Regards,
Ralf




More information about the ubuntu-users mailing list