LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-07-2004, 05:45 PM   #1
TheOneAndOnlySM
Member
 
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987

Rep: Reputation: 30
xdmcp over internet (and behind router firewall)


i have successfully setup gdm to allow remote logins (xdm as well, though i don't use it); it works perfectly within my network and i get a login screen and can login to whatever environment i want

when i run the xdmcp chooser from a computer outside my network, i can point to the my IP and it is recognized (displays kernel version), but when i try to connect, it stalls (left with a gray screen and an x-cursor)

i am guessing that it is a problem with my port forwarding from my router: i have ports 177, 6000, and 7100 (even though i'm not using XFS) forwarded to the correct computer listening for xdmcp connections

are there any other ports that need to be forwarded? why else could this not be working, or do i just need to give it more time to load? (i've waited about 3 minutes)

once i get that setup, i would like to know how to make an xdmcp connection from the commandline; could anyone tell me what that specific command would be?

thanks in advance!
 
Old 08-07-2004, 09:44 PM   #2
idaho
Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: RedHat, Libranet
Posts: 438

Rep: Reputation: 30
I am not sure about the firewall/port issues, but to launch an XDMCP session from the command line to a target at 192.168.1.1 you would do something like:

X :0 -query 192.168.1.1

This is assuming that your system is not already hosting an X session. If you have a X session already running, then you would <CTRL><ALT><F1> to a terminal session, and invoke:

X :1 -query 192.168.1.1
 
Old 08-08-2004, 12:02 PM   #3
TheOneAndOnlySM
Member
 
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987

Original Poster
Rep: Reputation: 30
thanks, that is exactly what i needed

strangely, this whole thing looks like a problem with gdm and/or its configuration; when I ran xdm (having enabled listening for xdmcp requests in configs), i was able to connect over the internet without problems

any ideas as to what could be wrong with gdm? i am using gdm from the gnome 2.4 series btw

also, are there any freeware x-clients for windows? i need to allow some windows-users to connect to xdmcp, but they don't want to install cygwin... what are some other good programs out there?
 
Old 09-02-2004, 07:26 AM   #4
cyatesxyz
LQ Newbie
 
Registered: Sep 2004
Distribution: Fedora
Posts: 1

Rep: Reputation: 0
Try cygwin

Give www.cygwin.com a try. It has an X server and SSH too so you can do port forwarding.

Be sure to get the X packages when you do the install.

CJY
 
Old 12-04-2008, 12:50 PM   #5
JasonC10203
Member
 
Registered: Sep 2007
Distribution: GRML 1.1
Posts: 59

Rep: Reputation: 15
You could give Xming a try.
 
Old 12-04-2008, 12:52 PM   #6
JasonC10203
Member
 
Registered: Sep 2007
Distribution: GRML 1.1
Posts: 59

Rep: Reputation: 15
Quote:
Originally Posted by TheOneAndOnlySM View Post
strangely, this whole thing looks like a problem with gdm and/or its configuration; when I ran xdm (having enabled listening for xdmcp requests in configs), i was able to connect over the internet without problems
You mentioned that you were able to connect via xdm from outside your network?

How did you get that to work? I am trying to get XDM configured and am getting stuck.

Last edited by JasonC10203; 12-04-2008 at 12:52 PM. Reason: made a typo
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux router/firewall box for shared Internet access from 3 separate LANs? dan.patton Linux - Networking 4 04-15-2006 06:37 PM
How to setup RH9.0 as firewall/router to share internet connection iel Linux - Networking 3 03-04-2004 03:33 AM
Yikes! No one can get Internet thru Linux gateway/router/firewall/DHCP Avatar Linux - Networking 14 02-11-2004 09:50 PM
Laptop as internet server / firewall / router? MudPuppy Slackware 6 11-05-2003 02:06 AM
LAN/Internet mixup with XDMCP raypen Linux - Networking 5 07-21-2003 02:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration