Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
Search
Run YAAC in s screen in linux
开云体育When you say "screens", do you mean the alternate command-line-output that doesn't have to be actively displayed on a graphical desktop? Such as is typically used for direwolf, a "headless" command-line app that reports its log data to standard
output?
If so, that is why "screens" won't work with YAAC. YAAC is a graphical app that must be displayed on a graphical desktop, not in a command-line-only environment. The only information that YAAC writes to command-line standard output is debug
and error log data which is also copied to a rolling disk file. And "screens" doesn't tell the apps hosted in it where its desktop is (because screens doesn't know, and may not even have a desktop at any given time).
Now, if you are trying run the graphical displays of YAAC in a virtual desktop (such as a VNC remote desktop), when you launch YAAC, you need to tell it which desktop to use for its displays. On Linux and other Unix derivatives, this is done
with the DISPLAY environment variable, whose value defines the X Windows address of the X server (screen server) to use. Graphical desktops and terminal windows upon such a desktop inherit the desktop's setting of this environment variable. For security reasons,
X servers do not by default allow access from apps not launched from their desktops, so you may have to not only define the DISPLAY environment variable correctly, but also use the xhost command to authorize non-desktop app processes to access the screens
of the desktop.
If your system is using Wayland instead of X, the desktop is deliberately not remotely accessible. You will have to either switch from Wayland back to X, or find an X server emulator for Wayland that will provide the off-system access capabilities
of X.
Hope this explains why your attempts aren't working.
Andrew, KA2DDO
author of YAAC
From: [email protected] <[email protected]> on behalf of Joseph LaFerla <joe@...>
Sent: Wednesday, January 29, 2025 2:18:16 PM [Edited Message Follows] I have recently been introduced to running apps in screens in raspberry pi.??
?
I tried to run yaac in a screen but have not been successful.? Maybe I do not have the correct options.? Can anyone help.
?
Thanks.
?
Joe
VA3TV
?
|
Niece thanks
?
I My question to the group was whether YAAC could be run in a screen.? I too run direwolf in a screen but was asking whether YAAC cold be run in a screen.? Running apps in a screen allows for more control.? On my raspberry pi, am running cumulusMX and direwolf (both in a screen) and YAAC (not in a screen). |
开云体育Easily. This is how I normally run YAAC, by launching a Terminal window on my desktop, then typing the command
java -jar YAAC.jar
at the command prompt. Of course, the environment of such Terminal windows includes the definition of the DISPLAY environment variable that identifies the graphical desktop the Terminal window is running on.
On the other hand, since I am developing changes to YAAC,? I want to see the error messages being printed to standard output in case there is a code bug?
Andrew, KA2DDO
author of YAAC
From: [email protected] <[email protected]> on behalf of Joseph LaFerla <joe@...>
Sent: Thursday, January 30, 2025 1:32:06 PM To: [email protected] <[email protected]> Subject: Re: [yaac-users] Run YAAC in s screen in linux Doug
?
That is exactly what I mean and the added flexibility is? very useful.? Andrew, I should mention that CumulusMX, like YAAC, starts in a terminal and then opens into the graphical interface.? Could YAAC also work like this?
?
Joe VA3TV
?
|
Andrew
?
I tried to run this in a terminal window
?
screen -DmS test /home/pi/YAAC "java -jar YAAC.jar" and I don't think anything happened when I check screen -ls, there is no test screen created,? I am? likely doing something wrong because I am a total newbie here.? What kind of printing to? standard output do you need?
?
Joe
?
? |
Andrew
?
I just created a service file to launch YAAC.jar using the following ExecStart?
?
ExecStart=/usr/bin/screen -DmS test ?java -jar YAAC.jar -service
?
and ran the service file and it looks like it is working because the test file 16727.test is created? in /run/screen/S-pi.
?
I am out of my league now so I will leave this for your comment but it certainly looks like it can work.
?
Joe
?
? |
to navigate to use esc to dismiss