starting vlc with rc telnet from .config startup file cannot connect

*nix specific usage questions
sooh
New Cone
New Cone
Posts: 4
Joined: 25 Jun 2024 15:05

starting vlc with rc telnet from .config startup file cannot connect

Postby sooh » 23 Sep 2024 18:55

Thanks!

VLC latest, Raspberry Pi 64-bit, user myuser.

I am controlling a video playing on a raspberry pi desktop via rc telnet. If I type the command string manually in a terminal "vlc -I rc --rc-host 192.168.1.24 :4212 --fullscreen --started-from-file /home/myuser/Videos/myuservideo.xspf" I can connect to it. If I run the same command in /home/myuser/.config/autostart/vlc.desktop it runs the video, and sits there running, but the telnet connection will not work with "connection refused." I am sure this is very elementary, but I cannot figure it out.

Htop shows the user running vlc, when started via vlc.desktop, to be the correct one.

Very grateful for any help!

sooh
New Cone
New Cone
Posts: 4
Joined: 25 Jun 2024 15:05

Re: starting vlc with rc telnet from .config startup file cannot connect

Postby sooh » 23 Sep 2024 20:43

Here is some more information:

Problem is a socket bind error--it cannot assign the address. This only happens when I start it from the startup folder, however. I would think permissions on the port but it works fine if I run it in the terminal after logging in.

Thanks!

Rémi Denis-Courmont
Developer
Developer
Posts: 15271
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: starting vlc with rc telnet from .config startup file cannot connect

Postby Rémi Denis-Courmont » 24 Sep 2024 13:18

Are you perhaps using a network management tool that only set the network up later on after logon?
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

sooh
New Cone
New Cone
Posts: 4
Joined: 25 Jun 2024 15:05

Re: starting vlc with rc telnet from .config startup file cannot connect

Postby sooh » 24 Sep 2024 18:58

Thanks for your reply, Remi.
So I have fixed this without understanding it, by setting GUI settings to match roughly match the command line--lua, rc, telnet checked at defaults, set to run as a daemon. Now whatever the obscure issue was, it is no more. Where skill is lacking, luck may prevail. Leaving this response here for anyone else with this issue.


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 13 guests