You are not logged in.

#1 2010-08-21 23:03:06

gizzard
Member
Registered: 2010-08-21
Posts: 25

KDM ignores changes made to kdmrc (EDIT)

I'm sorry for this probably stupid question, but any changes I make to usr/share/config/kdm/kdmrc are "ignored" when I restart the KDM daemon. I've tried disabling the shutdown option, changing the logo to clock, etc. I have used both vi and nano and have confirmed that the changes are actually saved in the file. This is all done via root and I am shutting down KDM prior to editing kdmrc. I have not used the Login Manager Systems Settings Module in KDE (and the kdmrc contains all the comments). The AutoRescan key is commented out, but if I uncomment it to True, the problem remains.

kdm.log contains three Font Invalid Description entries and that's it.

errors.log contains

Aug 21 18:34:14 SUGAREE kdm_greet[3861]: Cannot load /usr/share/apps/kdm/faces/.default.face: No such file or directory

I didn't have a faces folder, so I created one with a .face file in it, and the error went away, but the problem remained. Please help!

EDIT:
After spending a few hours with the problem I posted above, I've realized that the main problem is with how I am configuring kdmrc. KDM's behavior does change if I alter certain keys, just not the ones I mentioned above.

I have two physical displays, an LCD and a plasma TV, connected to a hybrid desktop / mythtv HTPC. Ultimately after boot I want KDM to appear on display #1 (the LCD) and the mythfrontend to automatically start on display #2 (the plasma). I have configured xorg.conf for two separate X servers. As of now, if I boot to console and log in, I get tty prompts on the LCD and nothing appears on the plasma. If I start KDM or XDM from tty1-6, the appropriate GUI will start on tty7 or tty8, and I can move the mouse onto the plasma, where it appears just as an X on a black background. From there, DISPLAY=:0.1 mythfrontend in a console will start myth on the plasma.

What I would like is to have myth start without having to enter this code in a console or even having to log into KDM. But, I can't seem to get KDM to do anything with the second screen. I tried designating 2 static servers in kdmrc, but they appear in tty7 and tty8, both of which are on the same screen. I also configured bashrc to run startx and xinitrc to run mythfrontend for the mythtv user to automatically start mythfrontend / x from the console after login, hoping that KDM could automatically log the mythtv user into screen #2. But, it only works on the LCD screen and not the plasma screen, since I can't get tty's there.

Here's xorg.conf:

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 256.35  (buildmeister@builder97.nvidia.com)  Wed Jun 16 19:14:45 PDT 2010

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder58)  Fri Mar 12 02:12:40 PST 2010

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" RightOf "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "Files"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Samsung SyncMaster"
    HorizSync       30.0 - 81.0
    VertRefresh     56.0 - 75.0
    Option         "DPMS"
EndSection

Section "Monitor"
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "Panasonic-TV"
    HorizSync       15.0 - 68.0
    VertRefresh     23.0 - 61.0
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTS 250"
    BusID          "PCI:1:0:0"
    Screen          0
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTS 250"
    BusID          "PCI:1:0:0"
    Screen          1
EndSection

Section "Screen"

# Removed Option "metamodes" "CRT: nvidia-auto-select +0+0"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinViewXineramaInfoOrder" "CRT-0"
    Option         "TwinView" "0"
    Option         "metamodes" "DFP-0: nvidia-auto-select +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"

# Removed Option "metamodes" "DFP: nvidia-auto-select +0+0"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "metamodes" "DFP-1: nvidia-auto-select +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

If anyone has advice on how to achieve this setup, I would be appreciative, even if it means scratch this whole approach and try something different.

Last edited by gizzard (2010-08-22 05:19:26)

Offline

Board footer

Powered by FluxBB