LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Fedora 3 XServer file locations (https://www.linuxquestions.org/questions/linux-newbie-8/fedora-3-xserver-file-locations-282065/)

clayharryman 01-25-2005 11:33 AM

Fedora 3 XServer file locations
 
OK -- I've done the searching (deja, here, other linux boards). Since about 2:00 am CST (roughly 9 hours). I can't find it! :cry:

I'm trying to set up my Fedora 3 (with all options installed) so I can run X remotely. Can someone tell me where the (*^%@( configuration files are so I can configure XServer to allow access from another IP?

I've made changes to all files as noted in http://en.tldp.org/HOWTO/XDMCP-HOWTO...dure.html#PREPhttp://en.tldp.org/HOWTO/XDMCP-HOWTO...dure.html#PREP

I've made changes to:
  • /etc/X11/xdm/xdm-config (comment out last line as described in file).
  • /etc/X11/xdm/kdmrc (set enabled=true in xdmcp section).
  • /etc/X11/gdm/gdm.conf (set enabled=true in xdmcp section).

I cannot telnet into this machine (the ip is internal: 192.168.0.101) via domain name or ip address. I can hit it with FTP but it will not allow any of my usernames.

When I was using FreeBSD (which I could not get X running at all -- so I switched to Fedora), I could go to /etc/rc.d/inetd and make these changes. This isn't happening in Fedora.

I've found a directory /etc/xinetd.d, but I can't seem to find the files I need to modify.

Any assistance in this area would be greatly appreciated.

Sincerely,
Clay H.

Alistair88 01-26-2005 07:40 PM

Havn't completey worked all this out yet, but got it working on FC3 by

1) following instructions on http://en.tldp.org/HOWTO/XDMCP-HOWTO...dure.html#PREP

2) using Ctrl+Alt+BackSpace to kill X-Server and then Ctrl+Alt+F1 to access console

3) logging in and they running "startx"

Then it works! (The startx command must run different X start-up scripts to normal boot)

Cheers

Alistair

clayharryman 01-28-2005 01:02 AM

Quote:

Originally posted by Alistair88
Havn't completey worked all this out yet, but got it working on FC3 by

1) following instructions on http://en.tldp.org/HOWTO/XDMCP-HOWTO...dure.html#PREP

2) using Ctrl+Alt+BackSpace to kill X-Server and then Ctrl+Alt+F1 to access console

3) logging in and they running "startx"

Then it works! (The startx command must run different X start-up scripts to normal boot)

Cheers

Alistair

Sanctuary much!
Thank you very much!

It worked after the first step. I got an Xconsole without a Window Manager. Then I shut down the Windows box for the night. I came in the next day and started it up, I got the X screen (with the X mouse cursor) and three checkboxes in the upper right corner. There was no Xterm (like there was the night before). I clicked the mouse, hoping to get the menu, but nothing appeared.

Is this why you had to use steps 2 & 3 above?

Thanks,
Clay

Mitius 02-26-2005 11:18 AM

You can get XDCMP to work, as well as ftp and telnet, by going into the security level applet and disabling the firewall. This being an insecure solution I would recommend researching the solution eluded to in the fedora core release notes under the Package-Specific Notes/Base/openssh section.

HellSpawn 03-29-2005 09:49 AM

I got it with my 1st try
 
Hi!

I have Fedora Core 3, and use gdm

I just follow the Procedure http://en.tldp.org/HOWTO/XDMCP-HOWTO...dure.html#PREP
but I had to change the:

Quote:

ipchains -A input -p udp -i $extint --dport 177 -j ACCEPT
with

Quote:

iptables -I INPUT -p udp -i <YourEthInterface> --dport 177 -j ACCEPT
That step is very messed up, sometimes is better to Include than to Append...

I don't have ftp nor telnet on my server, I use SSH for remote console, so I skipped any ftp telnet stuff...
Once I finished the procedure and got my server on init 5 (check your /var/log/messages to see if it started ok) I went to my Windows machine with Cygwin/X and run:

Xwin -query 192.168.0.1

or

Xwin :<display number> -query 192.168.0.1

and that was it, I got my gdm login screen...

this is pretty cool!! and better than VNC...


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