I want to start
gvim as different user (bar) using .desktop file.
When I run
gksudo -u bar gvim, nothing happens. (No stdout/stderr output.) Why this command does not start gVim? I tried running it as root (
gksudo gvim) and the gVim works as expected.
How can I start gVim using .desktop file as different user?