[LUNI] problems running up2date from ssh connection
russ arbuthnot
russ3 at southern.com
Thu Mar 21 14:57:03 CST 2002
On Thursday 21 March 2002 02:38 pm, you wrote:
> On Thu, Mar 21, 2002 at 02:21:35PM -0600, Redmond Militante wrote:
> > note that this was a procedure that worked successfully just last week.
> > one thing: i *did* upgrade openssh on this server through up2date per rhn
> > errata updates... you're probably right that this is an openssh issue,
> > since that was around the time it started acting all screwy
>
> Yeah, and I've thought of another way that could happen. If you're making
> the SSH connection as a non-root user and su'ing to run up2date (or any
> other X app), then you'll have permissions issues if the X server isn't
> running wide open (ie, accepting connections indiscriminately).
>
> Can you run, say, xterm under the exact same circumstances where up2date is
> failing? Or any other X app that's handy, but xterm seems a likely bet for
> that. Though it already sounds like the issue is indeed the remote X
> connection and nothing else...
You might try this (it's what i do, because the -X switch never works for me.)
I realize it's not the most secure way either.
[localhost]$ xhost +remotehost
[localhost]$ ssh remotehost
[remotehost]$ export DISPLAY="localhost:0"
[remotehost]$ su
[remotehost]# up2date
this should display the up2date program on your local machine.
good luck
russ
More information about the luni
mailing list