Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Buster+LightDM+Openbox+java application-> no network connection

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
Werbe
Posts: 2
Joined: 2021-08-15 19:12

Buster+LightDM+Openbox+java application-> no network connection

#1 Post by Werbe »

Hello Debian forums,
I have a simple java application - I check the device status by sending ICMP packets. The program dosn't work (network unavailable status) when I run it via the openbox startup script (/home/user/.config/openbox/autostart). But when I open a terminal window in openbox and run this program, everything works fine (network status is OK, I have replies from device for my ICMP packets). What is wrong? What should I configure/set up to make it works via startup script?
Any help is appreciated!

Werbe
Posts: 2
Joined: 2021-08-15 19:12

Re: Buster+LightDM+Openbox+java application-> no network connection

#2 Post by Werbe »

Problem solved.

My big, big, big mistake.
I store the program connection configuration parameters in a txt file.
The user.dir property is /home/user/programFolder when run from a terminal window and /home/user when run from an openbox script. This difference caused all the problems.

Post Reply