LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices

Reply
 
Search this Thread
Old 07-21-2011, 05:40 PM   #1
ljlayne
LQ Newbie
 
Registered: Mar 2010
Distribution: Red Hat Enterprise Linux 5 x86_64
Posts: 6

Rep: Reputation: 0
XDMCP tunneling in Xming portable PuTTY SSH connection


For over a year I have been using Xming portable PuTTY (7-5-0-18) to connect FROM a computer running M$ Windows XP Pro TO a RHEL v5.6 computer. I have been using Xming (7-5-0-17) on the XP computer in order to run a gnome GUI session. My network card connections and ports are 1 GB. In the past the XP computer and RHEL computer were connected on a LAN and the gnome GUI windowing was very fast - virtually instantaneous. The RHEL computer was recently moved to a different building and the XP computer and RHEL computer are connected through a WAN. Now the gnome GUI windowing seems like it runs at 100 MB on a good day and many times at 10 MB. I was instructed by our IT group that connecting using a MS Windows Remote Desktop Connection would make the gnome GUI windows faster. The network ports are not the problem - they are all 1 GB ports, have been checked, and are functioning correctly. I think the speed bottleneck is that the connection is now going through a WAN and the gnome session start up errors.

When I start the gnome GUI session, several lines of errors appear. This is true when the 2 computers were connected through the LAN, and now the WAN. I believe they're the same set of errors. A suggestion from RHEL support is to "connect to your server using XDMCP instead of SSH". I don't really know what it means to connect to my server using XDMCP (like how?) and from what I've been reading, I don't want to connect to the RHEL server using straight XDMCP, but rather establish an XDMCP tunnel through the SSH connection for security reasons. Am I way off base here?

Here is how I have been connecting:
Invoke Xming on the XP computer. Start an Xming portable PuTTY X terminal window on the XP computer. For the connection I am using SSH (port 22), have X11 forwarding enabled, and have the X display location set at localhost:0.0. After logging in to the RHEL server, I type gnome-session. The gnome GUI session opens its windows, etc, in the Xming window.

This is what I've tried:
Most recently I went through the steps at http://www.idevelopment.info/data/Un...HatLinux.shtml. I have added the line -A RH-Firewall-1-INPUT -p udp -m udp --dport 177 -j ACCEPT to my /etc/sysconfig/iptables and restarted the service. I also went through the steps in the Xming portable PuTTY help instructions for using port forwarding in SSH. In the Tunnels window I added port 3110 to Source port and specified the Destination as 123.456.78.910:177. Apparently I didn't mess anything up as I can still start a gnome GUI session in the Xming window. However I have no idea if I have actually established an XDMCP Tunnel in the SSH connection and am using it.

BTW I am now using Xming portable PuTTY version 7-5-0-39 and Xming version 7-5-0-38.

Several questions:
If I correctly establish the XDMCP tunnel in the SSH connection, can I expect to have 1 GB speed between the XP and RHEL computers?
Is this type of connection considered to be a "Remote Desktop Connection"?
How do I determine if I have established and am actually using the XDMCP tunnel through the SSH connection and not just only the SSH connection as before?

Any insights, instructions, and/or helpful URLs would be greatly appreciated.

Larry
 
  


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Partial connection to XDMCP with Xming havock Linux - Server 1 05-07-2011 04:27 PM
There's no clipboard with Xming and XDMCP gallaij Linux - Desktop 0 07-06-2010 04:57 AM
XMing (XDMCP) equivalent for Debian? peoplesrepublican Linux - Software 6 12-04-2008 11:52 AM
Can't get XDMCP via Xming to work JasonC10203 Linux - Software 0 12-04-2008 10:14 AM
Problem with KDE / xdmcp / xming /keyboard matiasquestions *BSD 0 05-21-2006 09:29 PM


All times are GMT -5. The time now is 11:34 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration