LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 02-27-2010, 11:57 PM   #1
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Rep: Reputation: 201Reputation: 201Reputation: 201
kde 4.4 with BOB's packages did /etc/kde/kdm/kdmrc get modified?


I was looking to post my kdmrc file in another thread regarding xdmcp. I did not recognize the file as the one I modified to enable xdmcp sessions. There are several files that appear as .new .old and the only thing I can thinkof, is that when I installed the 4.4 packages the file was replaced. But that is odd since xdmcp is normally disabled by defaut and I know that it is working on my system?

Also the form of the kdmrc file is much different from all of the kdmrc.new kdmr.old etc. files. Does anyone know what this is all about?

Last edited by damgar; 02-28-2010 at 12:06 AM.
 
Old 02-28-2010, 06:29 AM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,308

Rep: Reputation: Disabled
The kdmrc file in the KDE 4.4 packages does not enable XDMCP by default. It has these lines:
Code:
[Xdmcp]
# Whether KDM should listen to incoming XDMCP requests.
# Default is true
Enable=false
Perhaps another program you recently installed came with a modified version of kdmrc?

Eric
 
Old 02-28-2010, 09:09 AM   #3
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Original Poster
Rep: Reputation: 201Reputation: 201Reputation: 201
Does the file that comes with 4.4 simply overwrite the existing kdmrc or is there some method in place to keep the current configuration?
 
Old 02-28-2010, 10:30 AM   #4
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,308

Rep: Reputation: Disabled
Quote:
Originally Posted by damgar View Post
Does the file that comes with 4.4 simply overwrite the existing kdmrc or is there some method in place to keep the current configuration?
The kdebase-workspace package installs that file as
Code:
/etc/kde/kdm/kdmrc.new
so it will never just overwrite your current configuration.

Eric
 
Old 02-28-2010, 10:40 AM   #5
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Original Poster
Rep: Reputation: 201Reputation: 201Reputation: 201
Thanks. I'm not sure what has happened. I have this README in the /etc/kde/kdm directory
Code:
This automatically generated configuration consists of the following files:
- /usr/share/config/kdm/kdmrc
- /usr/share/config/kdm/Xaccess
- /usr/share/config/kdm/Xwilling
- /usr/share/config/kdm/Xsetup
- /usr/share/config/kdm/Xstartup
- /usr/share/config/kdm/Xreset
- /usr/share/config/kdm/Xsession
- /usr/share/config/kdm/backgroundrc
All files destined for /usr/share/config/kdm were actually saved in
/tmp/package-kdebase-workspace/usr/share/config/kdm; this config will not be
workable until moved in place.

This config was derived from existing files. As the used algorithms are
pretty dumb, it may be broken.
Information from these files was extracted:
- /etc/inittab

Try 'genkdmconf --help' if you want to generate another configuration.

You may delete this README.
And then kdmrc looks like
Code:
[General]
ConfigVersion=2.4
ConsoleTTYs=tty1,tty2,tty3,tty4,tty5,tty6
PidFile=/var/run/kdm.pid
ReserveServers=:1,:2,:3
ServerVTs=-7
StaticServers=:0

[Shutdown]
BootManager=None
HaltCmd=/sbin/halt
RebootCmd=/sbin/reboot

[X-*-Core]
AllowNullPasswd=false
AllowRootLogin=true
AllowShutdown=Root
AutoReLogin=false
ClientLogFile=.xsession-errors-%d
Reset=/usr/share/config/kdm/Xreset
Session=/usr/share/config/kdm/Xsession
SessionsDirs=/usr/share/config/kdm/sessions,/usr/share/apps/kdm/sessions
Setup=/usr/share/config/kdm/Xsetup
Startup=/usr/share/config/kdm/Xstartup

[X-*-Greeter]
AntiAliasing=false
ColorScheme=
FaceSource=AdminOnly
FailFont=Sans Serif,10,-1,5,75,0,0,0,0,0
ForgingSeed=1261021638
GUIStyle=
GreetFont=Serif,20,-1,5,50,0,0,0,0,0
GreetString=Welcome to %s at %n
GreeterPos=50,50
HiddenUsers=
Language=en_US
LogoArea=Logo
LogoPixmap=/usr/share/apps/kdm/pics/kdelogo.png
MaxShowUID=65000
MinShowUID=500
Preloader=/usr/bin/preloadkde
SelectedUsers=
ShowUsers=NotHidden
SortUsers=true
StdFont=Sans Serif,10,-1,5,50,0,0,0,0,0
Theme=/usr/share/apps/kdm/themes/Elegant-Air_KDM
UseBackground=true
UseTheme=true
UserCompletion=false
UserList=true

[X-:*-Core]
AllowNullPasswd=true
AllowShutdown=All
NoPassEnable=false
NoPassUsers=
ServerArgsLocal=-nolisten tcp
ServerCmd=/usr/bin/X -br -novtswitch -quiet

[X-:*-Greeter]
AllowClose=false
DefaultUser=dtest
FocusPasswd=true
LoginMode=DefaultLocal
PreselectUser=Previous

[X-:0-Core]
AutoLoginEnable=false
AutoLoginLocked=false
AutoLoginUser=
ClientLogFile=.xsession-errors

[Xdmcp]
Willing=/usr/share/config/kdm/Xwilling
and I'm just not sure how I got there, unless it was when I used the kde tools to change the greeter screen, but that seems like a lot of ediiting for such a simple change. I guess the thing to do is change the current file to one of known origin and monitor the situation. I don't see any obvious security risks greater than enabling xdmcp to begin with. It's quite odd.
 
  


Reply


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
KDE 4.4.0 on Alien Bob's site samac Slackware 64 04-20-2010 07:22 AM
Need to login twice to start KDE with compiz and kde-window-decorator from kdm allend Slackware 3 06-16-2008 06:54 PM
kdm: kde & kde + beryl eantoranz Linux - Software 1 02-24-2007 07:37 AM
KDE 3.4 kdmrc Xservers munkie_poo Slackware 2 04-04-2005 09:20 AM
kde 3.2: how to configure kdm to default to kde? slavix Debian 2 05-20-2004 05:18 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration