X Server down after XDMCP changes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I installed psyche on a Sony Vaio PCG-Z505SX. Installation was painless. However, after I changed files per Tom Chao's XDMCP howto, the X-server won't start on console. I changed them back, but it still won't start. redhat-config-xfree86 doesn't work:
* ddcprobe returned bogus values:
ID: None
Name: None
HorizSync: None
VertSync: None

xconf.py: Fatal IO error 2 (Connection reset by peer) on X server :17.0

However, now XDMCP works (even after changing the files back).

The card is NM256 with a laptop display panel capable of 1024x768.

Initially, the error was that it was unable to load font 'fixed' (though xfs started just fine).

After changing the XF86Config to a default working version, the error is
Fatal server error:
no screens found.

Changes for XDMCP:
1. Modify /etc/rc.d/init.d/xfs and make the following changes. Change all
daemon xfs -droppriv -daemon -port -1
to:
daemon xfs -droppriv -daemon -port 7100

In RH 7.0, you do not need to do this, since by default, it is, for
security enhancement, not listening to TCP port any longer! If you need to setup default font server to use, do it in /etc/X11/fs/config and add the setting there.

2. In /etc/X11/xdm/Xaccess, change (this allow all hosts to connect):
#* # any host can get a login window
to:
* # any host can get a login window
xdm usually run as a local copy of X and can listen for requests from remote hosts over a network. xdm reads its configuration files /etc/X11/xdm/xdm-config for all configuration and log files that xdm uses. For kdm, it is a replacement of xdm and configures the same way, except its files are in /etc/X11/kdm. It is worth noting that the Xsession file is what runs your environment.

The gdm (Gnome Display Manager) is a reimplementation of the well known xdm. gdm has similar funtions to xdm and kdm, gdm is the Gnome Display Manager, and its configuration files are found in /etc/X11/gdm/gdm.conf.
The gdm.conf file contains sets of variables and many options for gdm, and the Sessions directory contains a script for each session option; each script calls /etc/X11/xdm/Xsession with the appropriate option.

3. I use the gdm as default and use gdm login window to switch between KDE and GNOME. Edit /etc/X11/gdm/gdm.conf. This activates XDMCP, causing it to listen to the request. Change this:
[xdmcp]
Enable=0
to: Enable=1

Make sure "Port=177" is at the end of this block.

4. Now edit /etc/inittab and change the following line:
id:3:initdefault:
to:
id:5:initdefault:

Before changing this line, you can use the telinit command to test prior to modifying the line. Use either telinit 3 to set to level 3, or telinit
5 to set to level 5, graphics mode (you can issue this command on the second machine that telnets into this server).

5. Make sure the proper security of the file /etc/X11/xdm/XServers set to
444 (chmod 444).

6. Locate /etc/X11/xdm/Xsetup_0 and chmod 755 this file.

7. Edit the XF86Config file in /etc/X11 and change the line, if you are
using RH 6.2:
FontPath "unix:-1"

to:
FontPath "unix:7100"


_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail



--
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux