JuliusCode / MP4MUSEUM

MP4MUSEUM.org Media Player
GNU General Public License v3.0
32 stars 8 forks source link

CLI not available after logging in with SSH #37

Closed nickteeple closed 9 months ago

nickteeple commented 10 months ago

Hello, I enabled WiFi with the wpa config file. I can get the SSH password prompt and log in successfully, but no prompt shows up. When it does this with keyboard and local display, I have to hit control+c and it will drop me to the regular prompt, but this doesn't work via SSH. Any tips?

Maybe it's worth noting that the video that's playing back on the display flashes chaotically after I log in to this prompt.

Another interesting data point is that if I try from another Ubuntu system, it at least gives me the prompt, but it only let me complete a few commands before locking up and closing the connection once again. The previous tests were from WSL on Windows.

pi@192.x.x.x's password:
debug3: send packet: type 50
debug2: we sent a password packet, wait for reply
debug3: receive packet: type 52
debug1: Authentication succeeded (password).
Authenticated to 192.x.x.x ([192.x.x.x]:22).
debug1: channel 0: new [client-session]
debug3: ssh_session2_open: channel_new: 0
debug2: channel 0: send open
debug3: send packet: type 90
debug1: Requesting no-more-sessions@openssh.com
debug3: send packet: type 80
debug1: Entering interactive session.
debug1: pledge: network
debug3: receive packet: type 80
debug1: client_input_global_request: rtype hostkeys-00@openssh.com want_reply 0
debug3: receive packet: type 91
debug2: channel_input_open_confirmation: channel 0: callback start
debug2: fd 3 setting TCP_NODELAY
debug3: ssh_packet_set_tos: set IP_TOS 0x10
debug2: client_session2_setup: id 0
debug2: channel 0: request pty-req confirm 1
debug3: send packet: type 98
debug1: Sending environment.
debug3: Ignored env SHELL
debug3: Ignored env WSL2_GUI_APPS_ENABLED
debug3: Ignored env WSL_DISTRO_NAME
debug3: Ignored env JAVA_HOME
debug3: Ignored env NAME
debug3: Ignored env PWD
debug3: Ignored env LOGNAME
debug3: Ignored env MOTD_SHOWN
debug3: Ignored env HOME
debug1: Sending env LANG = C.UTF-8
debug2: channel 0: request env confirm 0
debug3: send packet: type 98
debug3: Ignored env WSL_INTEROP
debug3: Ignored env WAYLAND_DISPLAY
debug3: Ignored env TERM
debug3: Ignored env USER
debug3: Ignored env DISPLAY
debug3: Ignored env SHLVL
debug3: Ignored env XDG_RUNTIME_DIR
debug3: Ignored env WSLENV
debug3: Ignored env XDG_DATA_DIRS
debug3: Ignored env PATH
debug3: Ignored env HOSTTYPE
debug3: Ignored env PULSE_SERVER
debug3: Ignored env _
debug2: channel 0: request shell confirm 1
debug3: send packet: type 98
debug2: channel_input_open_confirmation: channel 0: callback done
debug2: channel 0: open confirm rwindow 0 rmax 32768
debug3: send packet: type 1
debug1: channel 0: free: client-session, nchannels 1
debug3: channel 0: status: The following connections are open:
  #0 client-session (t4 r0 i0/0 o0/0 e[write]/0 fd 4/5/6 sock -1 cc -1)

debug3: fd 1 is not O_NONBLOCK
Connection to 192.x.x.x closed by remote host.
JuliusCode commented 10 months ago

hi, it could be that the shell crashes as the .bashrc file tries to start mp4museum on login. can you exit the script on the local console first, then try to login via ssh? after connection is established, try ctrl-c to kill the script. first i found it helpful to get to console much easier, but it seems to have some downsides. might go back to the old ways, since a fatal vlc error now leaves the player with console open, which is not good either. best, Julius