Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Remote X apps
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
pavera
Tux's lil' helper
Tux's lil' helper


Joined: 27 May 2002
Posts: 84

PostPosted: Thu Oct 31, 2002 6:09 am    Post subject: Remote X apps Reply with quote

I have a couple computers at my office, and I have my computer here at home,
the computers at the office run red hat (7.3 and 8.0) I want to configure/manage them from here sometimes, this machine has gentoo... I want to be able to open gui apps on the server here though
(ie ssh to server, type bindconf-gui, and a couple minutes (or seconds I have 1mbps up and down at home and work..) later pop there's the bindconf window... and I'm editing away) I know I'm gonna get flamed USE THE COMMAND LINE!! But red hats config tools once used require you to keep using them because changes made manually don't show up in the config tools... and then if you use the config tools later, it erases changes you made on the command line...
currently when I attempt this I get a GTK error about not being able to open the display, I assume its a permissions thing, but I haven't the first clue about where to look to change said permissions.
Back to top
View user's profile Send private message
metalhedd
l33t
l33t


Joined: 30 May 2002
Posts: 692
Location: Ontario Canada

PostPosted: Thu Oct 31, 2002 6:31 am    Post subject: Reply with quote

It has something to do with .xauth files as far as I can remember, but I'm really not familiar with it at all, I do know that remote X sessions are generally consider very insecure, I think it would be wise to setup your firewall at work to only allow connections from your Home IP on that port.
Back to top
View user's profile Send private message
pavera
Tux's lil' helper
Tux's lil' helper


Joined: 27 May 2002
Posts: 84

PostPosted: Thu Oct 31, 2002 5:46 pm    Post subject: Reply with quote

This is not a remote x session...
X is not actually running on the computers at work, although it is installed,
it is not xdmcp, the systems start in runlevel 3, and are at a text login, and they have xdmcp disabled. however, if you ssh to them, and run an x app it opens through the ssh connection on the remote desktop... except it doesn't work when the remote desktop is gentoo...
no ideas?
Back to top
View user's profile Send private message
Al Al Cool J
n00b
n00b


Joined: 01 Nov 2002
Posts: 25

PostPosted: Fri Nov 01, 2002 12:25 am    Post subject: Reply with quote

As I recall...

1) your ssh client on your gentoo box must be set up to allow Xforwarding. See /etc/ssh/ssh_config

2) the sshd server on the remote boxes must be set up to allow Xfowarding. See /etc/ssh/sshd_config

3) the $DISPLAY variable must be set on the remote box. This should be done automatically on a default Red Hat install. HOWEVER, it will likely get screwed up if you su after you ssh.

Hope this helps
Back to top
View user's profile Send private message
pavera
Tux's lil' helper
Tux's lil' helper


Joined: 27 May 2002
Posts: 84

PostPosted: Sat Nov 02, 2002 1:00 pm    Post subject: Reply with quote

You are the man!
Thanks that was it, just had to turn on ForwardX11 in the ssh_config file on the client (gentoo) machine, the red hat boxen have it set by default... :)
cool, now I have no reason to use anything besides Gentoo... :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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