zquestz / s

Open a web search in your terminal.
MIT License
2.34k stars 114 forks source link

Error code 3 #173

Closed lockcher4 closed 1 year ago

lockcher4 commented 1 year ago

Ubuntu 20.04

Installation go apt install golang-go

Installation s go get -v github.com/zquestz/s cd go/src/github.com/zquestz/s make make install

._.

root@vm4072433:~# cd go/src/github.com/zquestz/s
root@vm4072433:~/go/src/github.com/zquestz/s# ls
cmd              go.mod    LICENSE    README.md  s.go
CONTRIBUTING.md  go.sum    Makefile   s          signals.go
Dockerfile       launcher  providers  server     snap
root@vm4072433:~/go/src/github.com/zquestz/s# ./s 2ip.ru
[Error] Exit status 3
root@vm4072433:~/go/src/github.com/zquestz/s# ./s 2ip
[Error] Exit status 3
zquestz commented 1 year ago

Any other information available?

What happens when you do xdg-open https://google.com? Does that work for you?

Perhaps it doesn't know what browser to use?

lockcher4 commented 1 year ago

Any other information available?

What happens when you do xdg-open https://google.com? Does that work for you?

Perhaps it doesn't know what browser to use?

IMG_20221228_211208.jpg I am use ssh to vps, any sites give an error error exit status 3

zquestz commented 1 year ago

You need to install a working browser. Since you are sshing into a vps I would recommend w3m or elinks.

Once that is installed then s should work as expected. It requires a working web browser.

zquestz commented 1 year ago

Closing due to inactivity. =)