Run X client with ssh tunnel after su



Howdy, all. I have been doing a bit of googling, but I'm having no
luck so far.

I have a server. I ssh into the server. This works fine. I forward
the X connection. So, I can start an X term, and it appears on the
desktop machine. But, when I su, I can no longer run X programs. I
get this instead :

dawn:/home/will# xterm
X11 connection rejected because of wrong authentication.
X connection to localhost:10.0 broken (explicit kill or server
shutdown).

Really, I want to be able to run synaptic, the Debian package manager,
remotely - rather than having to just use the command line / log into
the machine directly.

If anybody can help me straighten this out, I'd appreciate it!

Incidentally, I am running debian on both the server and my main
workstation. The server is an Alpha:

uname -a
Linux dawn 2.6.15-1-alpha-generic #1 Wed Feb 22 17:09:30 UTC 2006 alpha
GNU/Linux

The desktop is a PC, but I would like to be able to get this working
from any machine on my LAN, if possible.

.



Relevant Pages

  • Re: Outgoing POP3 email missing/lost/not received
    ... Funny thing is that I have had this ISP for 8 years and it has always been ... It looks like when you last ran CEICW, you set the ISP's mail server to: ... Internet Connection Wizard. ... After the wizard completes, the following network connection ...
    (microsoft.public.windows.server.sbs)
  • Re: Cannot connect client to server 2003
    ... you need to reconfigure the IP schema of your SBS ... On the SBS 2003 Server open the Server Management console. ... On the Connection Type page, click Broadband, and then click Next. ... Alternate DNS server, type the IP addresses that are provided by your ISP ...
    (microsoft.public.windows.server.sbs)
  • Re: Outgoing POP3 email missing/lost/not received
    ... ISP's mail server instead of the domain name on the ... SUMMARY OF SETTINGS FOR CONFIGURE E-MAIL AND INTERNET ... Internet Connection Wizard. ... After the wizard completes, the following network connection ...
    (microsoft.public.windows.server.sbs)
  • Re: Networking Question - VLANs on SBS 2003 Premium SP1
    ... port on the old router so I now have a segregated WLAN. ... be sure you do not enable any DHCP server in internal network. ... On the Connection Type page, click Broadband, and then click Next. ... On the Network Connection, You must enable and configure the network ...
    (microsoft.public.windows.server.sbs)
  • Re: Still cant connect to RWW or OWA remotely
    ... it certainly appears to be something about the SBS configuration. ... Meridian.local Ethernet adapter Local Area Connection: ... Windows SMALL BUSINESS SERVER 2003 Windows IP Configuration ... 192.168.254.254) directly to a port on the router and then ...
    (microsoft.public.windows.server.sbs)