Git Product home page Git Product logo

Comments (9)

matt335672 avatar matt335672 commented on August 16, 2024

Looks like your X server isn't starting.

/home/dgxadmin/.xorgxrdp.10.log?

from xrdp.

mcmib avatar mcmib commented on August 16, 2024

Looks like your X server isn't starting.

/home/dgxadmin/.xorgxrdp.10.log?

Thank you for getting back to me. The following is the log:

X.Org X Server 1.20.13
X Protocol Version 11, Revision 0
[ 1317.418] Build Operating System: linux Ubuntu
[ 1317.418] Current Operating System: Linux DGX-Station-A100-2 5.4.0-190-generic #210-Ubuntu SMP Fri Jul 5 17:03:38 UTC 2024 x86_64
[ 1317.418] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.4.0-190-generic root=UUID=d59ed1a7-4f1a-4787-ba15-f353a5c20424 ro rd.driver.blacklist=nouveau nouveau.modeset=0 pciehp.pciehp_debug=y transpar>
[ 1317.418] Build Date: 09 April 2024 01:36:10AM
[ 1317.418] xorg-server 2:1.20.13-1ubuntu1~20.04.17 (For technical support please see http://www.ubuntu.com/support)
[ 1317.418] Current version of pixman: 0.38.4
[ 1317.418] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 1317.418] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 1317.418] (++) Log file: ".xorgxrdp.10.log", Time: Tue Aug 6 14:50:46 2024
[ 1317.418] (++) Using config file: "/etc/X11/xrdp/xorg.conf"
[ 1317.418] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 1317.418] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 1317.419] Parse error on line 51 of section Device in file /etc/X11/xrdp/xorg.conf
"GPUDevice" is not a valid keyword in this section.
[ 1317.419] (EE) Problem parsing the config file
[ 1317.419] (EE) Error parsing the config file
[ 1317.419] (EE)
Fatal server error:
[ 1317.419] (EE) no screens found(EE)
[ 1317.419] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 1317.419] (EE) Please also check the log file at ".xorgxrdp.10.log" for additional information.
[ 1317.419] (EE)
[ 1317.419] (EE) Server terminated with error (1). Closing log file.

from xrdp.

mcmib avatar mcmib commented on August 16, 2024

Looks like your X server isn't starting.

/home/dgxadmin/.xorgxrdp.10.log?

dgxadmin@DGX-Station-A100-2:~$ startx

X.Org X Server 1.20.13
X Protocol Version 11, Revision 0
Build Operating System: linux Ubuntu
Current Operating System: Linux DGX-Station-A100-2 5.4.0-190-generic #210-Ubuntu SMP Fri Jul 5 17:03:38 UTC 2024 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.4.0-190-generic root=UUID=d59ed1a7-4f1a-4787-ba15-f353a5c20424 ro rd.driver.blacklist=nouveau nouveau.modeset=0 pciehp.pciehp_debug=y transparent_hugepage=madvise iommu=pt console=tty0 console=ttyS1,115200n8 crashkernel=1G-:0M quiet splash vt.handoff=7
Build Date: 09 April 2024 01:36:10AM
xorg-server 2:1.20.13-1ubuntu1~20.04.17 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.38.4
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/home/dgxadmin/.local/share/xorg/Xorg.2.log", Time: Wed Aug 7 08:49:18 2024
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE)
Fatal server error:
(EE) parse_vt_settings: Cannot open /dev/tty0 (Permission denied)
(EE)
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE) Please also check the log file at "/home/dgxadmin/.local/share/xorg/Xorg.2.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
Couldn't get a file descriptor referring to the console

from xrdp.

metalefty avatar metalefty commented on August 16, 2024

This let you know what's wrong.

[ 1317.419] Parse error on line 51 of section Device in file /etc/X11/xrdp/xorg.conf
"GPUDevice" is not a valid keyword in this section.

from xrdp.

mcmib avatar mcmib commented on August 16, 2024

This let you know what's wrong.

[ 1317.419] Parse error on line 51 of section Device in file /etc/X11/xrdp/xorg.conf
"GPUDevice" is not a valid keyword in this section.

The command has been deleted, unfortunately, I still get the blue window

from xrdp.

matt335672 avatar matt335672 commented on August 16, 2024

We need to bottom out some inconsistencies in the above report first I think.

  • Version info(i) Ubuntu 22.04 (which I assume is what you mean by Ubuntu 22) should have xrdp version 0.9.17, not 0.9.12.
  • Version info(ii) Your xorg.log is showing xorg version 1.20.13. My 22.04.4 test rig is running 1.21.1.4.
  • Unusual messages. xorg version 1.20.13 certainly understands "GPUDevice" if it's in the right place.

What do you get for these commands:-

lsb_release -a
dpkg -l \*xrdp\*
cat /etc/X11/xrdp/xorg.conf

When we know what we're working with we can see whether there's a solution available.

from xrdp.

mcmib avatar mcmib commented on August 16, 2024

We need to bottom out some inconsistencies in the above report first I think.

  • Version info(i) Ubuntu 22.04 (which I assume is what you mean by Ubuntu 22) should have xrdp version 0.9.17, not 0.9.12.
  • Version info(ii) Your xorg.log is showing xorg version 1.20.13. My 22.04.4 test rig is running 1.21.1.4.
  • Unusual messages. xorg version 1.20.13 certainly understands "GPUDevice" if it's in the right place.

What do you get for these commands:-

lsb_release -a
dpkg -l \*xrdp\*
cat /etc/X11/xrdp/xorg.conf

When we know what we're working with we can see whether there's a solution available.

My fault, the version is 20.04.
The following is the output:

dgxadmin@DGX-Station-A100-2:/$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.6 LTS
Release:        20.04
Codename:       focal
dgxadmin@DGX-Station-A100-2:/$ dpkg -l \*xrdp\*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                      Version           Architecture Description
+++-=========================-=================-============-===============================================
ii  xorgxrdp                  1:0.2.12-1        amd64        Remote Desktop Protocol (RDP) modules for X.org
ii  xrdp                      0.9.12-1ubuntu0.1 amd64        Remote Desktop Protocol (RDP) server
un  xrdp-pulseaudio-installer <none>            <none>       (no description available)
dgxadmin@DGX-Station-A100-2:/$ cat /etc/X11/xrdp/xorg.conf

Section "ServerLayout"
    Identifier "X11 Server"
    Screen "Screen (xrdpdev)"
    InputDevice "xrdpMouse" "CorePointer"
    InputDevice "xrdpKeyboard" "CoreKeyboard"
EndSection

Section "ServerFlags"
    Option "DontVTSwitch" "on"
    Option "AutoAddDevices" "off"
EndSection

Section "Module"
    Load "dbe"
    Load "ddc"
    Load "extmod"
    Load "glx"
    Load "int10"
    Load "record"
    Load "vbe"
    Load "glamoregl"
    Load "xorgxrdp"
    Load "fb"
EndSection

Section "InputDevice"
    Identifier "xrdpKeyboard"
    Driver "xrdpkeyb"
EndSection

Section "InputDevice"
    Identifier "xrdpMouse"
    Driver "xrdpmouse"
EndSection

Section "Monitor"
    Identifier "Monitor"
    Option "DPMS"
    HorizSync 30-80
    VertRefresh 60-75
    ModeLine "1920x1080" 138.500 1920 1968 2000 2080 1080 1083 1088 1111 +hsync -vsync
    ModeLine "1280x720" 74.25 1280 1720 1760 1980 720 725 730 750 +HSync +VSync
    Modeline "1368x768" 72.25 1368 1416 1448 1528 768 771 781 790 +hsync -vsync
    Modeline "1600x900" 119.00 1600 1696 1864 2128 900 901 904 932 -hsync +vsync
EndSection

Section "Device"
    Identifier "Video Card (xrdpdev)"
    Driver "xrdpdev"
    Option "DRMDevice" "/dev/dri/renderD128"
    Option "DRI3" "1"
EndSection

Section "Screen"
    Identifier "Screen (xrdpdev)"
    Device "Video Card (xrdpdev)"
    Monitor "Monitor"
    DefaultDepth 24
    SubSection "Display"
        Depth 24
        Modes "640x480" "800x600" "1024x768" "1280x720" "1280x1024" "1600x900" "1920x1080"
    EndSubSection
EndSection

from xrdp.

mcmib avatar mcmib commented on August 16, 2024

.xorgxrdp.10.log

liam@DGX-Station-A100-2:~$ cat .xorgxrdp.10.log
[  7075.261] 
X.Org X Server 1.20.13
X Protocol Version 11, Revision 0
[  7075.262] Build Operating System: linux Ubuntu
[  7075.262] Current Operating System: Linux DGX-Station-A100-2 5.4.0-192-generic #212-Ubuntu SMP Fri Jul 5 09:47:39 UTC 2024 x86_64
[  7075.262] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.4.0-192-generic root=UUID=d59ed1a7-4f1a-4787-ba15-f353a5c20424 ro rd.driver.blacklist=nouveau nouveau.modeset=0 pciehp.pciehp_debug=y transparent_hugepage=madvise iommu=pt console=tty0 console=ttyS1,115200n8 crashkernel=1G-:0M quiet splash vt.handoff=7
[  7075.262] Build Date: 09 April 2024  01:36:10AM
[  7075.262] xorg-server 2:1.20.13-1ubuntu1~20.04.17 (For technical support please see http://www.ubuntu.com/support) 
[  7075.262] Current version of pixman: 0.38.4
[  7075.262]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[  7075.262] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  7075.262] (++) Log file: ".xorgxrdp.10.log", Time: Thu Aug  8 11:38:40 2024
[  7075.262] (++) Using config file: "/etc/X11/xrdp/xorg.conf"
[  7075.262] (==) Using config directory: "/etc/X11/xorg.conf.d"
[  7075.262] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  7075.262] (==) ServerLayout "Layout0"
[  7075.262] (**) |-->Screen "Screen0" (0)
[  7075.262] (**) |   |-->Monitor "Monitor0"
[  7075.262] (**) |   |-->Device "Device0"
[  7075.262] (**) |   |-->GPUDevice "Video Card (xrdpdev)"
[  7075.262] (**) |-->Input Device "Keyboard0"
[  7075.262] (**) |-->Input Device "Mouse0"
[  7075.262] (**) Option "DontVTSwitch" "on"
[  7075.262] (**) Option "AutoAddDevices" "off"
[  7075.262] (**) Not automatically adding devices
[  7075.262] (==) Automatically enabling devices
[  7075.262] (==) Automatically adding GPU devices
[  7075.262] (==) Automatically binding GPU devices
[  7075.262] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  7075.262] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[  7075.262]    Entry deleted from font path.
[  7075.262] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[  7075.262]    Entry deleted from font path.
[  7075.262] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[  7075.262]    Entry deleted from font path.
[  7075.262] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[  7075.262]    Entry deleted from font path.
[  7075.262] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[  7075.262]    Entry deleted from font path.
[  7075.262] (==) FontPath set to:
        /usr/share/fonts/X11/misc,
        /usr/share/fonts/X11/Type1,
        built-ins
[  7075.262] (==) ModulePath set to "/usr/lib/xorg/modules"
[  7075.262] (II) Loader magic: 0x55b81fcb5020
[  7075.262] (II) Module ABI versions:
[  7075.262]    X.Org ANSI C Emulation: 0.4
[  7075.262]    X.Org Video Driver: 24.1
[  7075.262]    X.Org XInput driver : 24.1
[  7075.262]    X.Org Server Extension : 10.0
[  7075.263] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c4
[  7075.264] (II) xfree86: Adding drm device (/dev/dri/card5)
[  7075.264] (EE) systemd-logind: failed to take device /dev/dri/card5: Operation not permitted
[  7075.264] (II) xfree86: Adding drm device (/dev/dri/card0)
[  7075.264] (EE) systemd-logind: failed to take device /dev/dri/card0: Operation not permitted
[  7075.264] (II) xfree86: Adding drm device (/dev/dri/card4)
[  7075.264] (EE) systemd-logind: failed to take device /dev/dri/card4: Operation not permitted
[  7075.264] (II) xfree86: Adding drm device (/dev/dri/card3)
[  7075.264] (EE) systemd-logind: failed to take device /dev/dri/card3: Operation not permitted
[  7075.264] (II) xfree86: Adding drm device (/dev/dri/card1)
[  7075.265] (EE) systemd-logind: failed to take device /dev/dri/card1: Operation not permitted
[  7075.265] (II) xfree86: Adding drm device (/dev/dri/card2)
[  7075.265] (EE) systemd-logind: failed to take device /dev/dri/card2: Operation not permitted
[  7075.271] (--) PCI: (1@0:0:0) 10de:20b2:10de:147f rev 161, Mem @ 0xfa000000/16777216, 0x34000000000/137438953472, 0x37428000000/33554432
[  7075.271] (--) PCI:*(70@0:0:0) 1a03:2000:1a03:2000 rev 65, Mem @ 0xb4000000/16777216, 0xb5000000/131072, I/O @ 0x00009000/128, BIOS @ 0x????????/131072
[  7075.271] (--) PCI: (71@0:0:0) 10de:20b2:10de:147f rev 161, Mem @ 0xb2000000/16777216, 0x24000000000/137438953472, 0x27428000000/33554432
[  7075.271] (--) PCI: (129@0:0:0) 10de:20b2:10de:147f rev 161, Mem @ 0xbb000000/16777216, 0x1c000000000/137438953472, 0x1f428000000/33554432
[  7075.271] (--) PCI: (193@0:0:0) 10de:1fb0:10de:1485 rev 161, Mem @ 0xf4000000/16777216, 0x17430000000/268435456, 0x17440000000/33554432, I/O @ 0x0000f000/128, BIOS @ 0x????????/524288
[  7075.271] (--) PCI: (194@0:0:0) 10de:20b2:10de:147f rev 161, Mem @ 0xf2000000/16777216, 0x14000000000/137438953472, 0x17428000000/33554432
[  7075.271] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[  7075.271] (II) LoadModule: "dbe"
[  7075.271] (II) Module "dbe" already built-in
[  7075.271] (II) LoadModule: "ddc"
[  7075.271] (II) Module "ddc" already built-in
[  7075.271] (II) LoadModule: "extmod"
[  7075.271] (II) Module "extmod" already built-in
[  7075.271] (II) LoadModule: "glx"
[  7075.271] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  7075.272] (II) Module glx: vendor="X.Org Foundation"
[  7075.272]    compiled for 1.20.13, module version = 1.0.0
[  7075.272]    ABI class: X.Org Server Extension, version 10.0
[  7075.272] (II) LoadModule: "int10"
[  7075.272] (II) Loading /usr/lib/xorg/modules/libint10.so
[  7075.272] (II) Module int10: vendor="X.Org Foundation"
[  7075.272]    compiled for 1.20.13, module version = 1.0.0
[  7075.272]    ABI class: X.Org Video Driver, version 24.1
[  7075.272] (II) LoadModule: "record"
[  7075.272] (II) Module "record" already built-in
[  7075.272] (II) LoadModule: "vbe"
[  7075.272] (II) Loading /usr/lib/xorg/modules/libvbe.so
[  7075.272] (II) Module vbe: vendor="X.Org Foundation"
[  7075.272]    compiled for 1.20.13, module version = 1.1.0
[  7075.272]    ABI class: X.Org Video Driver, version 24.1
[  7075.272] (II) LoadModule: "glamoregl"
[  7075.272] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[  7075.274] (II) Module glamoregl: vendor="X.Org Foundation"
[  7075.274]    compiled for 1.20.13, module version = 1.0.1
[  7075.274]    ABI class: X.Org ANSI C Emulation, version 0.4
[  7075.274] (II) LoadModule: "xorgxrdp"
[  7075.274] (II) Loading /usr/lib/xorg/modules/libxorgxrdp.so
[  7075.274] (II) Module XORGXRDP: vendor="X.Org Foundation"
[  7075.274]    compiled for 1.20.6, module version = 0.2.12
[  7075.274]    ABI class: X.Org Video Driver, version 24.0
[  7075.274] xorgxrdpSetup:
[  7075.274] (II) LoadModule: "fb"
[  7075.274] (II) Loading /usr/lib/xorg/modules/libfb.so
[  7075.274] (II) Module fb: vendor="X.Org Foundation"
[  7075.274]    compiled for 1.20.13, module version = 1.0.0
[  7075.274]    ABI class: X.Org ANSI C Emulation, version 0.4
[  7075.274] (II) LoadModule: "ast"
[  7075.274] (WW) Warning, couldn't open module ast
[  7075.274] (EE) Failed to load module "ast" (module does not exist, 0)
[  7075.274] (II) LoadModule: "xrdpdev"
[  7075.274] (II) Loading /usr/lib/xorg/modules/drivers/xrdpdev_drv.so
[  7075.274] (II) Module XRDPDEV: vendor="X.Org Foundation"
[  7075.274]    compiled for 1.20.6, module version = 0.2.12
[  7075.274]    ABI class: X.Org Video Driver, version 24.0
[  7075.274] xrdpdevSetup:
[  7075.274] (==) Matched ast as autoconfigured driver 0
[  7075.274] (==) Matched modesetting as autoconfigured driver 1
[  7075.274] (==) Matched fbdev as autoconfigured driver 2
[  7075.274] (==) Matched vesa as autoconfigured driver 3
[  7075.274] (==) Assigned the driver to the xf86ConfigLayout
[  7075.274] (II) LoadModule: "ast"
[  7075.274] (WW) Warning, couldn't open module ast
[  7075.274] (EE) Failed to load module "ast" (module does not exist, 0)
[  7075.274] (II) LoadModule: "xrdpdev"
[  7075.274] (II) Loading /usr/lib/xorg/modules/drivers/xrdpdev_drv.so
[  7075.274] (II) Module XRDPDEV: vendor="X.Org Foundation"
[  7075.274]    compiled for 1.20.6, module version = 0.2.12
[  7075.274]    ABI class: X.Org Video Driver, version 24.0
[  7075.274] xrdpdevSetup:
[  7075.274] (II) UnloadModule: "XRDPDEV"
[  7075.274] (II) Unloading XRDPDEV
[  7075.274] (II) Failed to load module "xrdpdev" (already loaded, 0)
[  7075.274] (II) LoadModule: "modesetting"
[  7075.274] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[  7075.274] (II) Module modesetting: vendor="X.Org Foundation"
[  7075.274]    compiled for 1.20.13, module version = 1.20.13
[  7075.274]    Module class: X.Org Video Driver
[  7075.274]    ABI class: X.Org Video Driver, version 24.1
[  7075.274] (II) LoadModule: "fbdev"
[  7075.274] (WW) Warning, couldn't open module fbdev
[  7075.274] (EE) Failed to load module "fbdev" (module does not exist, 0)
[  7075.274] (II) LoadModule: "vesa"
[  7075.275] (WW) Warning, couldn't open module vesa
[  7075.275] (EE) Failed to load module "vesa" (module does not exist, 0)
[  7075.275] (II) LoadModule: "kbd"
[  7075.275] (WW) Warning, couldn't open module kbd
[  7075.275] (EE) Failed to load module "kbd" (module does not exist, 0)
[  7075.275] (II) LoadModule: "mouse"
[  7075.275] (WW) Warning, couldn't open module mouse
[  7075.275] (EE) Failed to load module "mouse" (module does not exist, 0)
[  7075.275] rdpIdentify:
[  7075.275] (II) XRDPDEV: driver for xrdp: XRDPDEV
[  7075.275] rdpDriverFunc: op 10
[  7075.275] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[  7075.275] (EE) 
Fatal server error:
[  7075.275] (EE) parse_vt_settings: Cannot open /dev/tty0 (Permission denied)
[  7075.275] (EE) 
[  7075.275] (EE) 
Please consult the The X.Org Foundation support 
         at http://wiki.x.org
 for help. 
[  7075.275] (EE) Please also check the log file at ".xorgxrdp.10.log" for additional information.
[  7075.275] (EE) 
[  7075.275] (WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor
[  7075.275] (WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor
[  7075.275] (EE) Server terminated with error (1). Closing log file.

from xrdp.

matt335672 avatar matt335672 commented on August 16, 2024

I think what is happening here is you've got files in /etc/X11/xorg.conf.d/ which are related to your physical GPUs. These are also being loaded and causing xorgxrdp to fail

See this post and #2556 for a possible solution.

Let us know what happens.

from xrdp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.