Using GParted via TigerVNC how to enable on LinuxMint?

Bo Berglund bo.berglund at gmail.com
Sun Jan 5 20:32:19 UTC 2025


On Sun, 05 Jan 2025 17:32:00 +0100, Bo Berglund <bo.berglund at gmail.com> wrote:

>export XAUTHORITY=/home/UserName/.Xauthority

I found an easier solution not needing any script:

Edit the user's .bashrc file and add this to it:

export XAUTHORITY="/home/username/.Xauthority"

(Replace "username" with your own user name.)

Then when you log in the env var will be set and therefore all you need to do is
this:

In a new terminal window:
sudo gparted

Now GParted starts and can  be used normally.

-- 
Bo Berglund
Developer in Sweden





More information about the ubuntu-users mailing list