View previous topic :: View next topic |
Author |
Message |
rakis n00b
Joined: 02 Apr 2003 Posts: 27 Location: Tucson, Arizona
|
Posted: Sun Jul 11, 2004 7:43 pm Post subject: X forwarding without using SSH |
|
|
I am having some trouble finding what I need to configure to get a standard X forwarded xterm. I need to be able to forward displays/programs without using SSH.
I know this is a security problem, but I don't have access to install ssh on these machines and these machines aren't on the internet anyways. Any help would be greatly appreciated. _________________ "I find Windows of absolutely no technical interest." -Bill Joy |
|
Back to top |
|
|
codergeek42 Bodhisattva
Joined: 05 Apr 2004 Posts: 5142 Location: Anaheim, CA (USA)
|
Posted: Sun Jul 11, 2004 7:56 pm Post subject: |
|
|
VNC, maybe? _________________ ~~ Peter: Programmer, Mathematician, STEM & Free Software Advocate, Enlightened Agent, Transhumanist, Fedora contributor
Who am I? :: EFF & FSF |
|
Back to top |
|
|
rakis n00b
Joined: 02 Apr 2003 Posts: 27 Location: Tucson, Arizona
|
Posted: Sun Jul 11, 2004 8:11 pm Post subject: VNC... |
|
|
VNC would be nice, but again, I can't install anything on these machines other than what is already available....
Any other ideas? I just need the standard:
Code: |
export DISPLAY=1.2.3.4:0
program &
|
I get a response that:
cannot connect to X server 1.2.3.4:0
I've enabled all of the alowing stuff in GDM. What do I need to modify in the X config files to allow this? _________________ "I find Windows of absolutely no technical interest." -Bill Joy |
|
Back to top |
|
|
steve_m n00b
Joined: 30 Mar 2004 Posts: 5
|
|
Back to top |
|
|
Toph n00b
Joined: 02 Jun 2003 Posts: 24
|
Posted: Sun Jul 11, 2004 10:02 pm Post subject: |
|
|
Quote: | cannot connect to X server 1.2.3.4:0 |
There are basically 3 things you have to check:
- if you have a firewall running at $DISPLAY (where you're supposed to sit at and look), open ports 6000 onwards (6000 is :0, 6001 :1, and so on)
- Gentoo usually starts X in a safe mode, disallowing TCP connections to it (" -nolisten"). Please edit /etc/X11/gdm/gdm.conf and change the line "#DisallowTCP=true" to "DisallowTCP=false". Restart gdm.
You should now be able to connect to that X-Server, but you'll probably run into authorization trouble. If you don't share the same home-dir at both hosts, you have to autorize the remote host to connect using "xhost +$IP_OF_REMOTE_HOST" (pretty unsafe, but quick&easy) or xauth (more elegant and safe).
If the connection between the 2 hosts isn't that fast, you should also have a look at lbxproxy, which can compress the X-Protocol. That also makes it at least a bit less readable on the network. |
|
Back to top |
|
|
rakis n00b
Joined: 02 Apr 2003 Posts: 27 Location: Tucson, Arizona
|
Posted: Mon Jul 12, 2004 12:35 am Post subject: OMG |
|
|
OMG it was THAT easy!! I totaly left that out! SCHWEET! Thanks so much buddy. I really, really, really appreciate it! Finally a COOL linux distro at work. I'm living large now! _________________ "I find Windows of absolutely no technical interest." -Bill Joy |
|
Back to top |
|
|
|