I agree with the other posts that ssh as root is frowned on, and that you 
should be careful with X11 forwarding.  However, I think everyone missed the 
real problem you are having with that command - it's not quite right.  (It's 
been a while since I've done this and I'm doing it from memory, so please 
forgive me if I'm wrong).

The command should be in the following format:

ssh -X [EMAIL PROTECTED] /path/to/XApp/on/remote/computer

So, if I wanted to run KDE's Control Center on a remote box, I would do 
something like:

ssh -X [EMAIL PROTECTED] /usr/kde/3.4/bin/kcontrol

And if I a) have both computers running X windows, and b) have not forcibly 
disabled X11 forwarding, and c) authenticate properly, then a kcontrol window 
would open on the local computer, but would be affecting the remote computer 
(and running as the user I authenticated as).

I'm pretty sure that when I played with this last, my SSH configs had said 
X11Forwarding=No, but it worked anyways.  I think this requires a different 
setting to block it outright (not allow an override at the command prompt), 
or is a fluke of the network config I had at the time....

Hope this helps.

Shawn

On Monday 21 November 2005 13:05, Kin C Wong wrote:
> Just discovered ssh last week.  It is really cool.  As I am not that
> comfortable using command line, I would like to run KDE.  I was told
> that you could use the following command to do that:
>
> ssh -X [EMAIL PROTECTED]
>
> It doesn't seem to do anything for me.  I have tried man, help and
> googling but to no avail.  Any suggestions as to where to look would be
> appreciated.

Attachment: pgpPhQvJhEbnM.pgp
Description: PGP signature

_______________________________________________
clug-talk mailing list
[email protected]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca
Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
**Please remove these lines when replying

Reply via email to