Am 03.08.21 um 13:04 schrieb Andrew C Aitchison:
On Tue, 3 Aug 2021, Ekkard Gerlach wrote:

Hello,

/etc/X11/xdm/Xsetup_0 in  is NOT executed, what could be the reason? I inserted on top of file

echo "hello123" > /tmp/test123
and the file is not created! Who can help?


I'm managing SL 6.10, its deprecated I know, but no way arround, its server of a customer

Finally I want to start x11vnc in Xsetup_0, like I am used to do it in Suse-Installations with /etc/X11/xdm/Xsetup , the it works perfectly sind 15 years. Now my first contact to SL/ RedHat.

Background: red hat tells that Xsetup_0 is for customizing login: https://urldefense.proofpoint.com/v2/url?u=https-3A__access.redhat.com_documentation_en-2Dus_red-5Fhat-5Fenterprise-5Flinux_6_html_deployment-5Fguide_s2-2Dx-2Drunlevels-2D5&d=DwIDaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=gd8BzeSQcySVxr0gDWSEbN-P-pgDXkdyCtaMqdCgPPdW1cyL5RIpaIYrCn8C5x2A&m=9FJox_aLoPfQINwEp2m1q_XA0dlYWGQqyQp5v3pYyjY&s=HQydlhySMzg7GK5gDhmC-TkmQxj3WqdqGf9IeBJXqTY&e= Xsetup_0 is the right file to do customizations in red hat, here a comparison of Suse and Red Hat: https://urldefense.proofpoint.com/v2/url?u=https-3A__virtualgl.org_vgldoc_2-5F0_&d=DwIDaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=gd8BzeSQcySVxr0gDWSEbN-P-pgDXkdyCtaMqdCgPPdW1cyL5RIpaIYrCn8C5x2A&m=9FJox_aLoPfQINwEp2m1q_XA0dlYWGQqyQp5v3pYyjY&s=JwhK8skHanCxyhe9mnsLwg3QdTRbLdxfRkicQU9KPVs&e=


I still have a Scientific Linux 6 "virtual machine" (actually a chroot
"container") so I may be in a better position to help than most.

Are you using display :0 and display manager xdm (not gdm or kdm) ?

I just detected one big bug on my side: gdm is *not* using xdm! They are different. (you ask the same)

Thats why gdm does not care about Xsetup_0 , the file belongs to xdm!

Then I searched the aquivalent for gdm: and I found /etc/gdm/Init/Default : https://urldefense.proofpoint.com/v2/url?u=https-3A__tldp.org_HOWTO_XFree-2DLocal-2Dmulti-2Duser-2DHOWTO_automation-5Flogin-5Fscreen.html&d=DwIDaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=gd8BzeSQcySVxr0gDWSEbN-P-pgDXkdyCtaMqdCgPPdW1cyL5RIpaIYrCn8C5x2A&m=clpAtpn-K92MtuvOqTBVJBJmXzSvYmOSsDq0BHG3Dng&s=xaAF72C7mLRDTvkOPPY10309oSLMKbjOfdLgi0Jw9FY&e= On my SL 6.10 there is neither a "Init" directory no "Default". I created Init directory, then created a "Default", with bash script inside that makes that echo "Hello">/tmp/test123.txt

But /etc/gdm/Init/Default  is not executed/ used, I chmod +x , but does not help.

Then I detected a registered bug, that "Default" is not used due to selinux policy: https://urldefense.proofpoint.com/v2/url?u=https-3A__bugzilla.redhat.com_show-5Fbug.cgi-3Fid-3D851769&d=DwIDaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=gd8BzeSQcySVxr0gDWSEbN-P-pgDXkdyCtaMqdCgPPdW1cyL5RIpaIYrCn8C5x2A&m=clpAtpn-K92MtuvOqTBVJBJmXzSvYmOSsDq0BHG3Dng&s=gd8sDUYk0qrWtZDgYzCYqwsQn9T9H1Kcdc0fjRzadNs&e=
Can you help me for next steps?

tia

Ekkard

Reply via email to