public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Jonas de Buhr <jonas.de.buhr@gmx.net>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Xauthority and su
Date: Wed, 7 Apr 2010 16:54:24 +0200	[thread overview]
Message-ID: <20100407165424.07b88368@toxic.dbnet> (raw)
In-Reply-To: <tkrat.72f415ebda03234e@igpm.rwth-aachen.de>


>I do have X11 forwarding configured and I don't have any problems
>when working as the same user for which I logged in via ssh -Y.
>But if I change the user by using su (doesn't work) or sux (works on
>a local machine), Xauthorization fails.

oh wait... maybe the problem is something different? after the "su -"
you also lose the DISPLAY setting which was set after logging in with
"ssh -Y". you should check the DISPLAY variable before and after the su
on the remote machine. 



  parent reply	other threads:[~2010-04-07 14:57 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-06  9:50 [gentoo-user] Xauthority and su Helmut Jarausch
2010-04-06 10:01 ` Neil Bothwick
2010-04-07 13:10 ` Jonas de Buhr
2010-04-07 13:13   ` Jonas de Buhr
2010-04-07 14:12     ` Helmut Jarausch
2010-04-07 14:42       ` Jonas de Buhr
2010-04-07 14:54       ` Jonas de Buhr [this message]
2010-04-07 16:39         ` Helmut Jarausch
2010-04-07 17:31           ` Jonas de Buhr

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100407165424.07b88368@toxic.dbnet \
    --to=jonas.de.buhr@gmx.net \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox