View previous topic :: View next topic |
Author |
Message |
dingo n00b
Joined: 18 Aug 2002 Posts: 58
|
Posted: Sat Oct 19, 2002 7:09 pm Post subject: |
|
|
hey....
so while your on the subject
While i'm in X, how could I theoreticly run an x application off of a remote server (i have root, don't use it, but can if i theres needed configurations). Such as running a news reader (such as pan) on a server halway across the world -- and that news reader not being executed and running as if on my computer, but on that computer (ie: my ip is from that computer using that program, any things i save will be saved onto the remote server's HD. I just want to be able to use the program. |
|
Back to top |
|
|
sa Guru
Joined: 10 Jun 2002 Posts: 450
|
Posted: Sat Oct 19, 2002 11:11 pm Post subject: |
|
|
on your local host:
% xhost +< insert remote server name here>
% ssh -l user < insert remote server name here>
then on the remote host:
% export DISPLAY="<local hostname here>:0.0"
% xclock&
that should start xclock on the remote server, but display it on yours.
hopefully it works for you! |
|
Back to top |
|
|
Tharkun Tux's lil' helper
Joined: 02 May 2002 Posts: 106
|
Posted: Mon Oct 21, 2002 5:19 pm Post subject: |
|
|
Why that complicated? Use ssh -X, which takes care of everything, authentication via magic cookies with the X server, setting the DISPLAY etc. ... |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Mon Oct 21, 2002 5:29 pm Post subject: |
|
|
Split from remote access.
Seems like I've read similar questions on several occaisions. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
sa Guru
Joined: 10 Jun 2002 Posts: 450
|
Posted: Mon Oct 21, 2002 11:17 pm Post subject: |
|
|
Thanks Tharkun,
thats much better!
sa |
|
Back to top |
|
|
carlivar Tux's lil' helper
Joined: 22 Jul 2002 Posts: 92 Location: Burbank, California
|
Posted: Tue Oct 22, 2002 3:03 am Post subject: |
|
|
ssh -X rules. just make sure the ssh server has X11Forwarding turned on in the sshd_config.
carl _________________ "It is difficult to make our material condition better by the best law, but it is easy enough to ruin it by bad laws." - Theodore Roosevelt |
|
Back to top |
|
|
dingo n00b
Joined: 18 Aug 2002 Posts: 58
|
Posted: Tue Oct 22, 2002 3:36 am Post subject: |
|
|
what about (open-source) compression capabilities? I asked this not really as a direct question but more as hearing alternatives to ssh or xhost. as I mentioned, I'd like to run X apps from a server halfway across the world. Encryption is nice but its slow as crap. and xhost is nice but its not very secure. Any (free) alternatives? |
|
Back to top |
|
|
|