gotty
gotty copied to clipboard
GOTTY: error open terminal: unknow
When file a bug report (see below for feature requests)
Please answer these quesions for a bug report. Thanks!
What version of GoTTY are you using (gotty --version
)?
gotty version unknown_version+unknown_commit (downloaded from Github)
What operating system and browser are you using?
Server on execute gotty (Ubuntu 18.04 LTS) under LXC on Proxmox
What did you do?
If possible, please provide the command you ran.
Hello everyone
I have installed and run without any type of GOTTY problem and I must admit that it really is a very successful solution to be able to see or access the console through the web.
My problem is that it works fantastic if I launch it from the console, but if I try to program it to auto-run in a cron (crontab -e) when the server restarts, the process is launched correctly, but on the page I get the error of:
error opening terminal: unknow
I am using this script:
#! / bin / bash
set -e set .x TERM = linux / usr / local / go_projects / bin / gotty --term xterm -c "user: password" dnstop -4 -6 -Q -R -l 3 eth0 &
Thank you
What did you expect to see?
Is there a way to run it automatically when restarting the server?
What did you see instead?
If possible, please provide the output of the command and your browser's console output.
error opening terminal: unknow
When file a new feature proposal
Please provide an actual usecase that requires your new feature.
maybe you should use systemd to control it
Hey @jacrespo64 did you find the solution for this? I am having the same problem when trying to start gotty from cron at startup!
same problem here!
I'm trying to run raspi-config using gotty, from a php exec call.
No problem running from command line, no problem running other commands from php exec call, but no way to run raspi-config.
I allways get the error:
tput: unknown terminal "unknown"
I also tried --term xterm and hterm, without results