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 15:10:01 +0200	[thread overview]
Message-ID: <20100407151001.2b111631@toxic.dbnet> (raw)
In-Reply-To: <tkrat.b9e7479ba8747899@igpm.rwth-aachen.de>

>Hi,
>
>when maintaining a machine from remote I sometimes have to switch to
>a non-root user (whose password I don't want to know) to try something
>out.
>
>For that, I log into that machine by  ssh -Y root@....
>Now, how can I switch to user USER such that the X credentials
>are copied.
>Unfortunately, sux (from X11-misc/sux) doesn't work in that case.
>I always get
>X11 connection rejected because of wrong authentication.
>
>Are there any means to achieve this?

Hi Helmut,

you need to read "man xauth" :)

/jdb



  parent reply	other threads:[~2010-04-07 13:12 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 [this message]
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
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=20100407151001.2b111631@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