Please note, this is a STATIC archive of website hashcat.net from October 2020, cach3.com does not collect or store any user information, there is no "phishing" involved.

hashcat Forum

Full Version: [SOLVED] xdm setup problem with server videocard
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi.

I've been using just fine my current xorg setup with xdm environment on my old hardware. It worked just fine.

But recently I've upgraded to the newer server-grade hardware.

I had to switch in BIOS GPU to the built-in one (Aspeed AST2400) otherwise IPMI doesn't work remotely (blank screen).

Xorg stopped working saying there are no suitable screens and with messages like:

Code:
 38380.867] (WW) xf86OpenConsole: setpgid failed: Operation not permitted

[ 38380.867] (WW) xf86OpenConsole: setsid failed: Operation not permitted

I think it's because video signal is now going through the internal Aspeed AST2400 card.

So I've edited my /etc/X11/xorg.conf to this:

Code:
Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 1080"
EndSection

Section "Device"
    Identifier        "Device0"
    Driver        "ast"
EndSection

Section "Screen"

    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "ConnectedMonitor" "Monitor0"
    Option         "Interactive" "False"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

xdm now works fine and starts, but now nvidia-settings stopped working:

Code:
sudo nvidia-settings -q gpus

ERROR: Error querying enabled displays on GPU 0 (Missing Extension).


ERROR: Error querying connected displays on GPU 0 (Missing Extension).

I'm wondering if there is any solution except switching back in BIOS video output back to external card and thus losing IPMI access to the server.

NOTE: I've also installed latest Nvidia driver from their website: 375.39, but it happened as well with older version 370.28.

Thank you.
After trying different options it seems I need to use config like this:

Code:
Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
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      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 1080"
    BusID          "PCI:130:0:0"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "AllowEmptyInitialConfiguration" "True"
    Option         "Coolbits" "12"
    Option         "ConnectedMonitor" "DFP-0"
#    Option         "RegistryDwords" "PerfLevelSrc=0x2222"
    Option         "Interactive" "False"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Weirdly, though starting xdm now through systemctl doesn't work, but launching simple xdm or xinit via root works just fine from the console.

I'll investigate later and report back for the full fix of this issue.

EDIT: seems everything back to normal, I guess when you have multiple cards you need to specify BusID in the device section and also I've added DPMS setting in the monitor section. Thread can be closed.