My friend is logged into his machine and he is using his GNOME Desktop happily. I am logined into his machine using SSH:
Code:
sumit@sumit:~$ who
sumit :0 2009-01-02 10:10
sumit pts/2 2009-01-02 17:25 (192.168.0.228)
sumit@sumit:~$
that 2nd login showing my IP address is from SSH. Now when I want to open some program I get this:
Code:
sumit@sumit:~$ urxvt
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
urxvt: can't open display :0, aborting.
sumit@sumit:~$
which is fine as I using SSH I can work on command line only. I have 2 questions :
- what if I want to use X program. Can I run it while logined using SSH ?
- Can I open a new X program onto my friend's Desktop ?