LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-13-2013, 01:23 AM   #1
horde
LQ Newbie
 
Registered: Jan 2005
Posts: 24

Rep: Reputation: 0
Unable to get Fullscreen X-windows connecting from a windows client


This isn't really that important to me but it is bugging me as to why it does not work.

I am trying to connect from PC1 to PC3 using Full screen X. BTW X does start on the main console.

My network can be simplified down to:

Code:
                                     |
 PC1 Windows 7 (192.168.1.2) --------|S
                                     |W
 PC2 OpenSuSE 11.4 (192.168.1.1) ----|I
                                     |T
 PC3 OpenSuSE 12.3 (192.168.1.11) ---|C
                                     |H
I have installed CYGWin and am attempting to use the 'C:\cygwin\bin\startxdmcp.bat 192.168.1.11' script to connect to the server. This works fine to connect to PC2 but just leaves a blanks screen when I try and connect to PC3.

It's been a couple of weeks of trying using google and I'm at a loss as to where to go with this now and thought I'd post here as a last try.

I can connect to both boxes using SSH connections to putty.

There are no IPTABLES rules on PC3:

Code:
 # iptables -L
 Chain INPUT (policy ACCEPT)
 target     prot opt source               destination

 Chain FORWARD (policy ACCEPT)
 target     prot opt source               destination

 Chain OUTPUT (policy ACCEPT)
 target     prot opt source               destination
Going through the XDMCP Howto I have the following settings:

Code:
# grep no-listen /etc/X11/fs/config
 # if you omit "no-listen = tcp" you can use xfs over the network
 #no-listen = tcp
#grep requestPort /etc/X11/xdm/xdm-config
! DisplayManager.requestPort:   0
# grep "any host" /etc/X11/xdm/Xaccess
*                                       #any host can get a login window
Now I'm not sure what to do here as my /usr/share/kde4/config/kdm/kdmrc file is coded as:

Code:
[Xdmcp]
# Whether KDM should listen to incoming XDMCP requests.
# Default is false
Enable=true
but the working server is coded as

Code:
[Xdmcp]
[Xdmcp]
# Whether KDM should listen to incoming XDMCP requests.
# Default is false
#Enable=false
which is at odds with XDMCP HOWTO. I tried both ways and it didn't seem to make any difference.

Then with file permissions:

Code:
# ls -al /etc/X11/xdm/Xservers
-rw-r--r-- 1 root root 738 Aug 23  2006 /etc/X11/xdm/Xservers
# ls -al /etc/X11/xdm/Xsetup_0
ls: cannot access /etc/X11/xdm/Xsetup_0: No such file or directory
They are the same on both servers (PC3 and PC2)

I presume that the XF86Config file is no lober used as I couldn't find it on my system.

Having done this I run 'C:\cygwin\bin\startxdmcp.bat 192.168.1.11' and just end up with a blank screen.

Any help would be appreciated. Even if it is just where to look.

Thanks for your time
 
Old 07-15-2013, 02:35 PM   #2
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,860

Rep: Reputation: 162Reputation: 162
You can turn on iptable debugging to make sure whether iptable policy is wrong.
 
Old 01-21-2015, 06:09 PM   #3
horde
LQ Newbie
 
Registered: Jan 2005
Posts: 24

Original Poster
Rep: Reputation: 0
Could not getthis to work.

Eventually upgraded server from 12.3 to 13.2 and in /etc/sysconfig/displaymanager I changed:

DISPLAYMANAGER_REMOTE_ACCESS="yes"

and it worked.

Note: in /etc/ssh/ssh_config this was already set so I dont know if it was needed:

ForwardX11 yes

ForwardX11Trusted yes
 
  


Reply

Tags
windows, xorg


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
Connecting windows 7 client to samba PDC mattydee Linux - Server 3 11-30-2012 10:58 AM
connecting ubuntu client to Windows 2003 terminal server rewenger Linux - Server 5 08-10-2011 12:51 PM
Openvpn: connecting from windows client problem blckspder Linux - Networking 0 09-26-2008 08:54 AM
Connecting Windows 2000 advance Server and Linux samba client Bablu Bachar Linux - Networking 1 08-21-2006 08:53 PM
Connecting Windows XP client to Samba server srini2001 Linux - Networking 5 03-15-2006 09:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

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