Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

RE: X11 forwarding after su'ing

From: Hoerauf, Roy <Roy.Hoerauf(at)cwusa.com>
Date: Mon Apr 28 2003 - 15:49:47 EDT


Yes, that worked.

Thank you very much.

Roy

-----Original Message-----
From: Philipp Strozyk [mailto:Philipp.Strozyk@epost.de] Sent: Monday, April 28, 2003 3:25 PM
To: secureshell@securityfocus.com
Cc: Hoerauf, Roy
Subject: Re: X11 forwarding after su'ing

Hi,

try to set the DISPLAY-environment-variable correctly, then copy the .Xauthority-file from the initial-ssh-login-home-dir to the home of the user you su'ed to.

Philipp

$ echo $DISPLAY
localhost:10.0
$ /usr/openwin/bin/xclock
$ su -
Password:
Sun Microsystems Inc. SunOS 5.8 Generic February 2000 # echo $DISPLAY

Do you need help?X

# /usr/openwin/bin/xclock
Error: Can't open display:
# DISPLAY=localhost:10.0;export DISPLAY
# /usr/openwin/bin/xclock
Xlib: connection to "localhost:10.0" refused by server Xlib: Authentication failed at PuTTY X11 proxy Error: Can't open display: localhost:10.0 # ls -la .X*
.X*: No such file or directory

# cp /.Xauthority .
# DISPLAY=localhost:10.0;export DISPLAY
# /usr/openwin/bin/xclock
#

On 28 Apr 2003 at 13:28, Hoerauf, Roy wrote:

> I am having a little problem figuring this out.
Received on Tue Apr 29 14:09:47 2003

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:02:58 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library