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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
08-07-2004, 05:45 PM
|
#1
|
Member
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987
Rep:
|
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!
|
|
|
08-07-2004, 09:44 PM
|
#2
|
Member
Registered: Aug 2003
Location: Portland, Oregon
Distribution: RedHat, Libranet
Posts: 438
Rep:
|
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
|
|
|
08-08-2004, 12:02 PM
|
#3
|
Member
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987
Original Poster
Rep:
|
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?
|
|
|
09-02-2004, 07:26 AM
|
#4
|
LQ Newbie
Registered: Sep 2004
Distribution: Fedora
Posts: 1
Rep:
|
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
|
|
|
12-04-2008, 12:50 PM
|
#5
|
Member
Registered: Sep 2007
Distribution: GRML 1.1
Posts: 59
Rep:
|
You could give Xming a try.
|
|
|
12-04-2008, 12:52 PM
|
#6
|
Member
Registered: Sep 2007
Distribution: GRML 1.1
Posts: 59
Rep:
|
Quote:
Originally Posted by TheOneAndOnlySM
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
|
|
|
All times are GMT -5. The time now is 08:06 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|