LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 08-03-2021, 05:13 AM   #1
ewgerlach
LQ Newbie
 
Registered: Aug 2021
Posts: 2

Rep: Reputation: Disabled
CentOS/ RedHat, gdm: customize with /etc/X11/gdm/Init/Default


Hello,

why is /etc/X11/gdm/Init/Default not executed by gdm? I inserted into "Default"

echo "hello123" > /tmp/test123

and the file test123.txt is not created! Who can help?

see: https://tldp.org/HOWTO/XFree-Local-m...in_screen.html
https://bugzilla.redhat.com/show_bug.cgi?id=851769

Selinux is disabled in /etc/selinux/config
SELINUX=disabled


tia Eckard

Last edited by ewgerlach; 08-03-2021 at 07:44 AM.
 
Old 08-03-2021, 10:42 AM   #2
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,677

Rep: Reputation: Disabled
Because the HOWTO you're perusing is almost 17 years old. On RHEL/CentOS 7/8, the GDM configuration is under /etc/gdm rather than /etc/X11/gdm
 
Old 08-03-2021, 11:59 AM   #3
ewgerlach
LQ Newbie
 
Registered: Aug 2021
Posts: 2

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by shruggy View Post
Because the HOWTO you're perusing is almost 17 years old. On RHEL/CentOS 7/8, the GDM configuration is under /etc/gdm rather than /etc/X11/gdm
thx for help. In a mailing list I got this information, too. /etc/gdm/Init/Default exists, ... [edit .. deleted]

Works!! But /etc/gdm/Init/Default is excecuted after login, same with /etc/gdm/PreSession/Default.
Somebody here has an idea how to execute something while gdm shows XDMCP login to user? - I search the aquivalent to "Xsetup" (Suse) / "Xsetup_0" (RedHat) for xdm.

tia

Last edited by ewgerlach; 08-03-2021 at 01:41 PM.
 
  


Reply

Tags
centos



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Xsetup_0.orig, Xsession.orig? no original file glorsplitz Slackware 1 07-08-2013 08:51 AM
ShellScript executed from command prmpt but not executed from crontab or at command BMMadhav Linux - Newbie 1 11-16-2012 07:20 PM
[SOLVED] Xwindow's program will not run when executed on boot or when executed remotely richman1234 Programming 2 10-08-2010 01:32 PM
Xsetup_0 gone from RHEL 5.1? Passions Red Hat 0 02-09-2009 05:51 PM
XDM opens XDM after login jpbarto Linux - Software 1 01-26-2004 10:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

All times are GMT -5. The time now is 02:20 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