From: Harald Husemann (harald.husemann@materna.de)
Date: Fri Jan 30 2004 - 04:22:09 EST
Hi folks,
I use ssh to connect our servers, 'cause it's more secure than telnet. I
can start X-applications on the server, with the output forwarded over
the ssh-tunnel to the X-server running on my client.
It works perfectly well, but unfortunately, when I use "su" to become
root or any other user, the tunnel gets broken.
The error-message is:
==================/snip/====================================
X11 connection rejected because of wrong authentication.
X connection to xxx:10.0 broken (explicit kill or server shutdown).
=====================/snap/=================================
Hm... At the moment, I allow direct root-login via ssh, but first of
all, this is a bit insecure, and it does not solve the problem of
starting X-applications as other users, since often I don't know their
passwords (of course).
So, the main question is:
Is there a way to "inherit" the X11-tunnel to a subshell??
Thanks,
will summarize,
Harald
-- ============================================ Harald Husemann Systems Engineer Teammanager Unix administration and Configuration Management Materna Gmbh - Vosskuhle 37 - D-44141 Dortmund, Germany Phone: +49-231-5599-8684 _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers
This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:27:55 EDT