Fix: gpg: failed to create temporary file `/home/user/.gnupg/.#lk0x23b70e0.desktop.22780': Permission denied
Fix: gpg: WARNING: unsafe enclosing directory permissions on configuration file `/home/user/.gnupg/gpg.conf'
#!/bin/sh
# http://tldp.org/HOWTO/XWindow-User-HOWTO/runningx.html
if [ -n "$WINDIR" -o "$TERM" = cygwin ]; then
# Probably under Cygwin.
exec XWin -multiwindow -clipboard -silent-dup-error -xkblayout "us,ru" -xkboptions "grp:caps_toggle" "$@"
elif [ -f /etc/debian_version ]; then
exec /usr/bin/X -nolisten tcp "$@"
else
exec X -nolisten tcp "$@"
fi