hpb

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 19 total)
  • Author
    Posts
  • in reply to: Arrow and space keys don’t work in version 8.4.2 #43174
    hpb
    Participant

    I am using an iPad Air (5th generation) with an Apple Magic keyboard.  This keyboard connects to the iPad through three connectors on the back of the iPad.  Space and arrow do work with the virtual keyboard, but that is not nearly as convenient as using the Magic keyboard and exactly why I bought the Magic keyboard.

    in reply to: Unable to view server status on Raspberry Pi 4 #31443
    hpb
    Participant

    The binary emailed to me by Carin fixed the problem.  I am now able to view my system’s status.  Thank you!

    in reply to: Unable to view server status on Raspberry Pi 4 #31426
    hpb
    Participant

    I already received a link to a patched nxplayer.bin from Carin.  I will download and test later today.  Thank you!

    in reply to: Unable to view server status on Raspberry Pi 4 #31360
    hpb
    Participant

    Yes, I would like a binary to try.  Thank you so much!  This is great customer service.

    For what it’s worth, I could not find anything in various logs when this problem happens.

    in reply to: Unable to view server status on Raspberry Pi 4 #30947
    hpb
    Participant

    One last thing to think of…I am unable to view the NoMachine machine status while logging in with NoMachine.  This is a headless Raspberry Pi so it’s a pain for me to hook up an external monitor.  It is possible that the security of NoMachine is preventing me from viewing the status window remotely?  If so, this is a change from Version 6 on my other systems.

    in reply to: Unable to view server status on Raspberry Pi 4 #30946
    hpb
    Participant

    I completely removed NoMachine:

    sudo dpkg –remove nomachine

    For good measure, I deleted the /usr/NX directory:

    pi@w3yj-pi4-old:/usr $ sudo rm -rf NX

    I then reinstalled NoMachine:

    i@w3yj-pi4-old:~ $ sudo dpkg -i nomachine_7.0.211_1_armhf.deb
    Selecting previously unselected package nomachine.
    (Reading database … 243819 files and directories currently installed.)
    Preparing to unpack nomachine_7.0.211_1_armhf.deb …
    Unpacking nomachine (7.0.211-1) …
    Setting up nomachine (7.0.211-1) …
    NX> 700 Starting install at: Thu Dec 24 14:26:55 2020.
    NX> 700 Installing: nxclient version: 7.0.211.
    NX> 700 Using installation profile: Debian.
    NX> 700 Install log is: /usr/NX/var/log/nxinstall.log.
    NX> 700 Compiling the USB module.
    NX> 700 Installing: nxplayer version: 7.0.211.
    NX> 700 Using installation profile: Debian.
    NX> 700 Install log is: /usr/NX/var/log/nxinstall.log.
    NX> 700 To connect the remote printer to the local desktop,
    NX> 700 the user account must be a member of the CUPS System Group: lpadmin.
    NX> 700 Installing: nxnode version: 7.0.211.
    NX> 700 Using installation profile: Debian.
    NX> 700 Install log is: /usr/NX/var/log/nxinstall.log.
    NX> 700 Creating configuration in: /usr/NX/etc/node.cfg.
    NX> 700 Installing: nxserver version: 7.0.211.
    NX> 700 Using installation profile: Debian.
    NX> 700 Install log is: /usr/NX/var/log/nxinstall.log.
    NX> 700 Creating configuration in: /usr/NX/etc/server.cfg.
    NX> 700 Install completed at: Thu Dec 24 14:27:44 2020.
    NX> 700 NoMachine was configured to run the following services:
    NX> 700 NX service on port: 4000

    Logged on with NoMachine, and I have the same problem, unable to click on the NoMachine icon in task bar and see Service Status window.

    Here are contents nxserver.log.  I have verified that htd.cfg does not exist.

    1620 1620 2020-12-24 14:27:47 757.148 NXSERVER WARNING! Cannot open: /usr/NX/etc/htd.cfg.
    1620 1620 2020-12-24 14:27:47 757.421 NXSERVER WARNING! Error is: 2, ‘No such file or directory’.
    1620 1620 2020-12-24 14:27:47 757.864 NXSERVER WARNING! Service ‘nxhtd’: Wrong format of PID read from file ‘/usr/NX/’: .
    1620 1620 2020-12-24 14:27:47 776.020 NXSERVER Starting RS 7.0.211 and services.
    1620 1620 2020-12-24 14:27:47 776.302 NXSERVER System information: Raspbian GNU/Linux 10 (buster), standalone.1953 1953 2020-12-24 14:28:29 495.269 NXSERVER User ‘pi’ logged in from ‘192.168.1.152’ using authentication method NX-password.
    1953 1953 2020-12-24 14:29:49 139.814 NXSERVER User ‘pi’ from ‘192.168.1.152’ logged out.
    2641 2641 2020-12-24 14:29:59 497.524 NXSERVER User ‘pi’ logged in from ‘192.168.1.152’ using authentication method NX-password.

    I have attached node.cfg, server.cfg, and nxerror.log.  Please let me know if there’s anything else I need to provide.

     

     

    in reply to: Unable to view server status on Raspberry Pi 4 #30901
    hpb
    Participant

    Here is the result of uname -a:

    pi@w3yj-pi4-old:~ $ uname -a
    Linux w3yj-pi4-old.ddns.net 5.4.79-v7l+ #1373 SMP Mon Nov 23 13:27:40 GMT 2020 armv7l GNU/Linux

    This can’t be good, I get a core dump when checking the nxplayer status:

    pi@w3yj-pi4-old:~ $ /usr/NX/bin/nxplayer –dialog status
    Segmentation fault (core dumped)

    Would the core dump be of any value to you?  Unfortunately it is too large to upload to the forum.

    in reply to: Unable to stream audio from Raspberry Pi to Mac #23014
    hpb
    Participant

    Yesterday I hooked up a USB gaming headset to my Mac.  The audio from my voice made it into the radio and I actually talked to another amateur radio operator over the air!  And  I did not hear my voice coming back at me through the headphones, so there is no chance of feedback.  This all works.  Thanks so much for the help.  I will be writing a set of tech notes for the amateur radio community on  how to integrate a Raspberry Pi, NoMachine, and a transceiver.  When I have this done, maybe in a few weeks, I’ll submit it to NoMachine for review to make sure I am using your product correctly.

    I took my iPad to a local coffee shop today and connected to my station through their wi-fi network.  I made high frequency contacts with Germany and Belgium using a digital mode named FT8.  Lots of radio fun.  I was able to hear the audio received from my station clearly on my iPad.  The day before I took my iPad to a Starbucks and made a Morse Code contact.

    in reply to: Unable to stream audio from Raspberry Pi to Mac #22971
    hpb
    Participant

    I believe I  have found a better way to send and receive audio to and from my amateur radio tranceiver.  The problem with the way we were doing it meant that received audio coming from device alsa_output.usb-C-Media_Electronics_Inc._USB_Audio_Device-00.analog-stereo.monitor,  the input of my USB soundcard, was being redirected to the output of the same soundcard, device alsa_output.usb-C-Media_Electronics_Inc._USB_Audio_Device-00.analog-stereo.  It seemed to me like there was potential for feedback.  It also bothered me that we had both ouput and input audio on the output of the USB soundcard at the same time, this just didn’t seem right.

    Instead I created a dummy sink, made it the default sink, and assigned the output of the USB soundcard to the dummy sink:

    pactl load-module module-null-sink sink_name=dummy

    pacmd set-default-sink dummy

    pacmd load-module module-loopback source=alsa_input.usb-C-Media_Electronics_Inc._USB_Audio_Device-00.analog-mono sink=dummy

    This gets received audio from the radio’s headphone jack picked up by the nx_voice_out sink because dummy is now the default sink and the received audio is sent back  to the speakers/headphones of the Mac.

    Next, I send audio from my Mac to the output of the USB soundcard to be input into the mic jack of my transmitter:

    pactl load-module module-loopback source=nx_voice_out.monitor sink=alsa_output.usb-C-Media_Electronics_Inc._USB_Audio_Device-00.analog-stereo

    This appears  to work and I don’t have output audio from the ham transceiver also on the 0utput of the USB soundcard going back to the radio’s mic.  The key here is use of the dummy sink using module-null-sink.

    Does this all make sense?

     

    in reply to: Unable to stream audio from Raspberry Pi to Mac #22939
    hpb
    Participant

    And, the output of the NoMachine audio can be redirected using the Playback tab on pauvcontrol.  But this is still better than running a pauvcontrol command.

    in reply to: Unable to stream audio from Raspberry Pi to Mac #22938
    hpb
    Participant

    Yes, I can now hear audio from my Mac’s mic on the output of the USB soundcard.  Thank you!  One less PulseAudio command to run.

    in reply to: Any way to have a static NX URL? #22937
    hpb
    Participant

    Thank you!  I have registered to be notified when NoMachine network is implemented.  In the meantime I will investigate these dynamic DNS solutions.

    in reply to: Unable to stream audio from Raspberry Pi to Mac #22919
    hpb
    Participant

    One final question, I want to understand why the command you gave me earlier works.

    pacmd load-module module-loopback source=alsa_input.usb-C-Media_Electronics_Inc._USB_Audio_Device-00.analog-mono

    There is no sink specified.  According  to the PulseAudio docs, when this happens, the source is sent to the default sink which on my system is:

    * index: 0
    name: <alsa_output.usb-C-Media_Electronics_Inc._USB_Audio_Device-00.analog-stereo>

    The * before index means this is the default sink.

    So, my question is, this works because NoMachine automatically connects to the default sink on the Pi and this is how audio gets back to NoMachine on the Mac, right?  Or at least this is what appears to be happening.

    Right now I’m happy this all works, but I’m trying to understand why it works so that I can troubleshoot on my own.

    in reply to: Unable to stream audio from Raspberry Pi to Mac #22918
    hpb
    Participant

    To close the loop on this topic so that it is properly documented for anybody searching for a solution….

    I have figured out how to get voice audio from the mic of my MacBook Pro into the output of the USB soundcard connected to my Pi.  This means that I’ll be able to use my Mac as a mic to talk to my amateur radio transceiver.

    The final piece of the puzzle is the following PulseAudio command:

    pactl load-module module-loopback source=nx_voice_out.monitor sink=alsa_output.usb-C-Media_Electronics_Inc._USB_Audio_Device-00.analog-stereo

    When I plug in a set of headphones into the output of the USB soundcard and use pavucontrol to enable NoMachine output and increase the output, I hear the output of my Mac’s mic!

    Thank you so much for the help and teaching me how to configure PulseAudio.  I have many years of experience as a Linux admin, but in a business environment, so I never had the opportunity to work with PulseAudio before.

    in reply to: Unable to stream audio from Raspberry Pi to Mac #22915
    hpb
    Participant

    It works!  Thanks you so much, especially since PulseAudio support is outside typical NoMachine usage.

    I am an amateur radio operator who is looking at operating my station remotely using NoMachine.  I operate mostly modern digital modes and Morse Code, which is all generated on my Raspberry Pi.  It would be nice to be able to operate voice remotely, but I can very much live without it.

    This is excellent support, especially for something that cost me nothing to download.  Thanks!

Viewing 15 posts - 1 through 15 (of 19 total)