huashan

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • huashan
    Participant

    On fresh install Ubuntu 22.04 with xcfe4 in remote VPS.  Through Windows NoMachine app to remote access the VPS.  No sound.

    I also follow the instruction to modify the /usr/NX/share/audio/client.conf

    #

    # Specify which audio interface should be used to provide sound in

    # sessions. Key values depend on the hosting operating system and can

    # be ‘pulseaudio’, ‘alsa’ or ‘disabled’ on Linux, and ‘nxaudio’ or

    # ‘disabled’ on Windows and Mac OS X.

    #

    AudioInterface pulseaudio

    #

    # Enable or disable audio streaming and microphone forwarding

    # during session.

    #

    # 1: Enabled. Send sound to user’s computer and allow user’s

    #    microphone be forwarded to this machine.

    #

    # 0: Disabled. Sound won’t be streamed to user’s computer and

    #    user’s microphone won’t be forwarded to this machine

    #

    EnableAudio 1

    #

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

    #

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

    And also  sudo cp -R /etc/pulse/* /usr/NX/share/audio/

    Then nxnode –audiosetup  will show that     sudo: nxnode: command not found

    Then I restart the system, the pulseaudio volumn control broken and show the error message:

    Connection to PulseAudio failed.Automatic retry in 5sIn this case this is likely because PULSE SERVER in the Environment/X11 Root Window Propertiesor default-server in client.conf is misconfigured.

    This situation can also arise when PulseAudio crashed and left stale details in the X11 Root Window.

    If this is the case, then PulseAudio should autospawn again, or if this is not configured you should run start-pulseaudio-x11 manually.

    Attachments:
Viewing 1 post (of 1 total)