Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
run an x application off of a remote server
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
dingo
n00b
n00b


Joined: 18 Aug 2002
Posts: 58

PostPosted: Sat Oct 19, 2002 7:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
sa
Guru
Guru


Joined: 10 Jun 2002
Posts: 450

PostPosted: Sat Oct 19, 2002 11:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
Tharkun
Tux's lil' helper
Tux's lil' helper


Joined: 02 May 2002
Posts: 106

PostPosted: Mon Oct 21, 2002 5:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Mon Oct 21, 2002 5:29 pm    Post subject: Reply with quote

Split from remote access.

Seems like I've read similar questions on several occaisions.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
sa
Guru
Guru


Joined: 10 Jun 2002
Posts: 450

PostPosted: Mon Oct 21, 2002 11:17 pm    Post subject: Reply with quote

Thanks Tharkun,
thats much better!

sa
Back to top
View user's profile Send private message
carlivar
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jul 2002
Posts: 92
Location: Burbank, California

PostPosted: Tue Oct 22, 2002 3:03 am    Post subject: Reply with quote

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
View user's profile Send private message
dingo
n00b
n00b


Joined: 18 Aug 2002
Posts: 58

PostPosted: Tue Oct 22, 2002 3:36 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum