With this solution. I tried ssh -x user@localhost and then ran the app but it failed to connect to Xserver. Just as it did when I tried the same operation with ssh.
With this one, the x has to be upper case, and you should specify the command you are trying to execute as part of the single continuous line. Let's suppose you were trying to run Yast2 as the root user in and xterm, while you were logged in as the user fred. The full path to Yast2 is actually: /sbin/yast2 So, in your xterm you would type as a single command: ssh -X root@localhost /sbin/yast2 You will then be asked to provide a password, which is that of the root user. After all that, the program, yast2 would start up. In the command line simply replace /sbin/yast2 with the full path to the program you want to run. (If you don't know the full path, you can find it out by typing: whereis yast2 whereis myprog etc In some cases you may need to do this investigation actually logged in as root, simply because some programs are privileged and may only be accessed by that user. Once you've determined the full path to the program, you can return to your humble user's x session and try again. Hope this helps Andrew -- Email: aray@computerpark.co.uk --------------------------------------------------------- This private and confidential e-mail has been sent to you by Computer Park Ltd. If you are not the intended recipient of this e-mail and have received it in error, please notify us via the email address or telephone number below, and then delete it from your mailbox. Email: mailbox@computerpark.co.uk Tel: +44 (0) 1536 417155 Fax: +44 (0) 1536 417566 Head Office: Computer Park Ltd, Broughton Grange, Headlands, Kettering Northamptonshire NN15 6XA Registered in England: 3022961. Registered Office: 6 North Street, Oundle, Peterborough PE8 4AL =========================================================