gksudo -k "xterm --help" works fine here: $ gksudo -k "xterm --help" usage: xterm [-/+132] [-C] [-Sccn] [-T string] [-/+ah] [-/+ai] [-/+aw] [...] Type xterm -help for a full description.
To run multiple commands, you need to invoke a shell. The following opens two xterm windows here: gksudo -k "sh -c 'xterm; xterm'" It does not work with sudo, too: $ sudo "xterm; xterm" sudo: xterm; xterm: command not found I'm closing this as invalid. Please reopen it, if I've misunderstood anything. ** Changed in: gksu (Ubuntu) Assignee: (unassigned) => dAniel hAhler Status: New => Invalid -- gksu does not allow multiple commands in an argument https://bugs.launchpad.net/bugs/136874 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs