Eeel

Forum Replies Created

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • Eeel
    Participant

    Hi Britgirl,

    Thank you for your feedback.

    Best,

    Eeel
    Participant

    Having some spare time tonight, I did a fresh Slackware 15.0 install on a spare drive, no package update, just edited /etc/pulse/client.conf (autospawn = no) and installed 8.5.3

    8.5.3 doesn’t stream sound to client

    8.4.2. works fine

    Best,

     

    Eeel
    Participant

    This is the log from the Slackware current (15.1) computer

     

    Info: Slave server running with pid 6685.

    Info: Listening to slave connections on port 25001.

    Info: Starting NoMachine Monitor version ‘8.5.3’.

    Info: Loaded translation files for ‘English’.

    6676 6676 2023-05-17 17:17:12 940.513 OsDetect: Setting os type to ‘Slackware’.

    6676 6676 2023-05-17 17:17:12 940.543 Main: Creating a new connection monitor.

    /usr/bin/pulseaudio: symbol lookup error: /usr/lib64/pulseaudio/libpulsecore-16.1.so: undefined symbol: XSetIOErrorExitHandler

    6676 6739 2023-05-17 17:17:13 154.389 AudioIoPulseaudioServer: Failed to get devices list.

    [05.17.23 17:17:13.163] X Error: 141 141

    Extension:    138 (RENDER)

    Minor opcode: 7 ()

    Resource id:  0x66002d3

    [05.17.23 17:17:13.164] X Error: BadWindow 3

    Major opcode: 18 ()

    Resource id:  0x66002d2

    [05.17.23 17:17:13.164] X Error: BadWindow 3

    Major opcode: 4 ()

    Resource id:  0x66002d2

    6676 6676 2023-05-17 17:17:13 499.373 MonitorService: Enabled drag and drop feature.

    6676 6676 2023-05-17 17:19:09 895.106 MonitorDB: Adding user ‘<my-user>’.

    Info: Audio decoder running with pid 7524.

    6676 6676 2023-05-17 17:19:10 737.349 MonitorDB: There are ‘1’ users.

    Info: Audio writer running with pid 7525.

    [05.17.23 17:19:10.745] X Error: BadMatch 8

    Major opcode: 62 ()

    Resource id:  0x660032a

    [05.17.23 17:19:10.745] X Error: BadMatch 8

    Major opcode: 62 ()

    Resource id:  0x660032f

    [05.17.23 17:19:10.749] X Error: BadMatch 8

    Major opcode: 62 ()

    Resource id:  0x6600334

    [05.17.23 17:19:10.749] X Error: BadMatch 8

    Major opcode: 62 ()

    Resource id:  0x6600339

    [05.17.23 17:19:10.749] X Error: BadMatch 8

    Major opcode: 62 ()

    Resource id:  0x660033e

    [05.17.23 17:19:10.749] X Error: BadMatch 8

    Major opcode: 62 ()

    Resource id:  0x6600343

    [05.17.23 17:19:10.749] X Error: BadMatch 8

    Major opcode: 62 ()

    Resource id:  0x6600348

    [05.17.23 17:19:10.749] X Error: BadMatch 8

    Major opcode: 62 ()

    Resource id:  0x660034d

     

    I can reproduce the issue on three computers running current 15.1 and Slackware 15.0. Two of them have been fully re installed in the last month, interesting that you can’t reproduce, I don’t see what I can do that can cause this.

     

     

     

    Eeel
    Participant

    Hi Kuba,

    I have another computer running Slackware current (15.1) and experiencing the same issue with 8.5.3:

    ~$ pulseaudio --version
    pulseaudio 16.1

    Any advice on where to start to troubleshoot this on my side are welcome.

    I will also ask on the Slackware forum.

    Best,

    Eeel
    Participant

    Hi Britgirl, Kuba,

    Thanks for feedbacks,

     

    I’m using NoMachine free edition, I’m not using Pipewire and server have a monitor. I’m running KDE and computer start it automatically (runlevel 4)

     

    Slackware is 15.0 with latest updates (including Kernel 5.15.94) and few softwares installed.

     

    NoMachine install:

    1) Extract the archive in the /usr/NX directory:

    # tar -C /usr/ -xzf nomachine_8.5.3.tar.gz

    2) Run the installation script by specifying a different Linux distribution, for example:

    # /usr/NX/nxserver –install slackware

    Then, in order to make NoMachine server and services starting automatically after a reboot, do the following:

    3) Copy the NoMachine init script to the proper place:

    # cp /usr/NX/scripts/init/nxserver /etc/rc.d/rc.nxserver

    # chmod +x /etc/rc.d/rc.nxserver

    4) Edit /usr/NX/etc/node.cfg:

    # DefaultDesktopCommand “env -u WAYLAND_DISPLAY /usr/bin/dbus-launch –sh-syntax –exit-with-session /usr/bin/startplasma-x11”

    # Works fine in runlevel 3 with sound (SDDM/KDE not started):

    # Works fine in runlevel 4 (SDDM/KDE started) with “autospawn = no” in /etc/pulse/client.conf for sound:

    # runlevel configured in /etc/inittab

    DefaultDesktopCommand “/usr/bin/env XDG_CONFIG_DIRS=/etc/xdg:/etc/kde/xdg /usr/bin/dbus-launch –sh-syntax –exit-with-session /usr/bin/startplasma-x11”

    5) Edit /etc/pulse/client.conf

    autospawn = no

     

    My today test: I open Chrome and put Youtube radio, sound output to my headset, I use another computer connect to desktop with an other public IP address or from local network address, sound switch to NOMACHINE when the client connect.

     

    Works fine with with 8.4.2 (i had no issue with the version before 8.5.3, i don’t remember the exact version I was on but i do update every time a new version is available):

     

    ~$ grep Audio /usr/NX/etc/node.cfg

    AudioInterface pulseaudio

    #EnableAudio 1

    # Specify path and name of the command to start PulseAudio server.

    CommandStartPulseAudio “/usr/bin/pulseaudio –high-priority=no”

    DefaultDesktopCommand “/usr/bin/env XDG_CONFIG_DIRS=/etc/xdg:/etc/kde/xdg /usr/bin/dbus-launch –sh-syntax –exit-with-session /usr/bin/startplasma-x11”

     

    Client is connected to desktop:

     

    ~$ pactl list sources | grep NoMachine

    Description: Monitor of NoMachine Output

    device.description = “Monitor of NoMachine Output”

    Description: Remapped Monitor of NoMachine Output

    device.description = “Remapped Monitor of NoMachine Output”

    ~$ pactl list sources | grep nx

    Name: nx_voice_out.monitor

    Monitor of Sink: nx_voice_out

    Name: nx_remapped_out

    device.master_device = “nx_voice_out.monitor”

     

    Doesn’t work with 8.5.3, no sound on client computer. (I did a server reboot just in case after installing 8.5.3)

     

    ~$ grep Audio /usr/NX/etc/node.cfg

    AudioInterface pulseaudio

    #EnableAudio 1

    # Specify path and name of the command to start PulseAudio server.

    CommandStartPulseAudio “/usr/bin/pulseaudio –high-priority=no”

    DefaultDesktopCommand “/usr/bin/env XDG_CONFIG_DIRS=/etc/xdg:/etc/kde/xdg /usr/bin/dbus-launch –sh-syntax –exit-with-session /usr/bin/startplasma-x11”

     

    Client is connected to desktop:

     

    ~$ pactl list sources | grep NoMachine

    Description: Monitor of NoMachine Output

    device.description = “Monitor of NoMachine Output”

    Description: Remapped Monitor of NoMachine Output

    device.description = “Remapped Monitor of NoMachine Output”

    ~$ pactl list sources | grep nx

    Name: nx_voice_out.monitor

    Monitor of Sink: nx_voice_out

    Name: nx_remapped_out

    device.master_device = “nx_voice_out.monitor”

     

    Everything look exactly the same to me, nothing in syslog or any system log that i can see, as soon as i switch back to 8.4.2 it works.

     

    Eeel
    Participant

    Ok I finally manage to find an error message, thanks Kuba to pointing me to the right folder 😉

    With 8.5.3 i have this error message that i don’t have with 8.4.2, in:

    /home/<user>/.nx/M-<hostname>.<domain>-13001-EBB6855A33251194194DDE1C8CB092AB/session

    /usr/bin/pulseaudio: symbol lookup error: /usr/lib64/pulseaudio/libpulsecore-15.0.so: undefined symbol: XSetIOErrorExitHandler

    Message is repeated when user connect with or without the autospawn modification in /etc/pulse/client.conf.

    Btw I did not do any modification to node.cfg or server.cfg after install, only “autospawn = no” to have sound on client.

     

     

    Full log file content:

     

    Info: Slave server running with pid 3101.

    Info: Listening to slave connections on port 25001.

    Info: Starting NoMachine Monitor version ‘8.5.3’.

    Info: Loaded translation files for ‘English’.

    3086 3086 2023-05-15 22:43:01 659.697 OsDetect: Setting os type to ‘Slackware’.

    3086 3086 2023-05-15 22:43:01 659.726 Main: Creating a new connection monitor.

    /usr/bin/pulseaudio: symbol lookup error: /usr/lib64/pulseaudio/libpulsecore-15.0.so: undefined symbol: XSetIOErrorExitHandler

    3086 3188 2023-05-15 22:43:01 852.178 AudioIoPulseaudioServer: Failed to get devices list.

    [05.15.23 22:43:01.861] X Error: 141 141

    Extension:    138 (RENDER)

    Minor opcode: 7 ()

    Resource id:  0x5a002d3

    [05.15.23 22:43:01.861] X Error: BadWindow 3

    Major opcode: 18 ()

    Resource id:  0x5a002d2

    [05.15.23 22:43:01.861] X Error: BadWindow 3

    Major opcode: 4 ()

    Resource id:  0x5a002d2

    3086 3086 2023-05-15 22:43:02 194.063 MonitorService: Enabled drag and drop feature.

    3086 3086 2023-05-15 22:45:32 271.030 MonitorDB: Adding user ‘<my-user>’.

    Info: Audio decoder running with pid 3461.

    Info: Audio writer running with pid 3462.

    3086 3086 2023-05-15 22:45:32 326.697 MonitorDB: There are ‘1’ users.

    [05.15.23 22:45:32.339] X Error: BadMatch 8

    Major opcode: 62 ()

    Resource id:  0x5a0032f

    [05.15.23 22:45:32.339] X Error: BadMatch 8

    Major opcode: 62 ()

    Resource id:  0x5a00334

    [05.15.23 22:45:32.339] X Error: BadMatch 8

    Major opcode: 62 ()

    Resource id:  0x5a00339

    [05.15.23 22:45:32.339] X Error: BadMatch 8

    Major opcode: 62 ()

    Resource id:  0x5a0033e

    /usr/bin/pulseaudio: symbol lookup error: /usr/lib64/pulseaudio/libpulsecore-15.0.so: undefined symbol: XSetIOErrorExitHandler

    3086 3462 2023-05-15 22:45:32 360.314 AudioIoPulseaudioServerConnection: WARNING! pa_context_connect failed.

    /usr/bin/pulseaudio: symbol lookup error: /usr/lib64/pulseaudio/libpulsecore-15.0.so: undefined symbol: XSetIOErrorExitHandler

     

     

    in reply to: Request for log explanations #43930
    Eeel
    Participant

    Hi Britgirl,

    Thank you for your feedback.

     

    Eeel
    Participant

    Sure, this is the post i open on fail2ban Github, Sebres linked the issue in his answer:

    https://github.com/fail2ban/fail2ban/discussions/3188

    Best,

    Eeel
    Participant

    Still on latest Slackware current if sound streaming is not working in runlevel 4 (KDE started from inittab):

    Set “autospawn = no” in /etc/pulse/client.conf

    Eeel
    Participant

    Hi Kroy,

    Thank you for your help, works perfectly.

Viewing 10 posts - 1 through 10 (of 10 total)