rockstor / rockstor-core

Linux/BTRFS based Network Attached Storage(NAS)
http://rockstor.com/docs/contribute_section.html
GNU General Public License v3.0
552 stars 137 forks source link

4.5.8-0 System Shell not working in mobile browsers #2522

Open kensee opened 1 year ago

kensee commented 1 year ago

Tested with all browsers like Internet, Chrome, firefox, Safari.

No enter key in keyboard to enter for userid/password

For firefox, on top of the above issue, multiple characters appear when trying to login.

Same issue already exists since 4.1

phillxnet commented 1 year ago

@kensee Thanks for the report. We use shellinabox for this embedded Web-UI terminal.

As a workaround you should be able to use any ssh client app available for your phone OS and use that for terminal access. Currently our root user is permitted ssh access on our Leap based installers.

kensee commented 1 year ago

@phillxnet Thanks for the reply. It works fine with desktop browsers. Will there be a fix for it in mobile browsers? With that I do not need to open ssh port to the Internet.

phillxnet commented 1 year ago

@kensee Hello again. Re:

Will there be a fix for it in mobile browsers?

Not from our end as we basically use it as it's delivered form upstream openSUSE repos on OBS. We do host it on our own OBS but it's basically unchanged from how it is delivered upstream but we needed at the time an ARM target that was missing so we hosted the exact same code and added a ARM target to allow us to install it in our aarch64 installers.

You could report the issue upstream maybe. Our build of shellinabox is build on OBS here: https://build.opensuse.org/package/show/home:rockstor/shellinabox but is just a copy (unchantged at the time) from the upstream within OBS here: https://build.opensuse.org/package/show/shells/shellinabox Where the last change noted there was one we submitted to the project via: https://build.opensuse.org/request/show/781298

So that would rather indicate that it's not actively maintained. However our suggested change detailed in the above was received by the OBS packages for shellinabox pretty quick and accepted as soon as I got my changelog ducks-in-a-row.

As you see our prior change was only to the included systemd file as we required these changes in our move from our old/prior upstream of CentOS to our new "Built on openSUSE" setup.

I wonder if a work-around such as a specialist keyboard overlay type app would help your situation.

I'll leave this issue open for a bit but to see if we get any interest, but you might like to try asking on our forum: https://forum.rockstor.com/ to see i others have found other workarounds or have some knowledge of how this can be fixed upstream. But really I think it's basically working as the original authors intended and that you just need a keyboard app that work son your phone OS and with this terminal in a webpage shellinabox that we basically use unaltered. We don't embed it in our app, we just start and stop it via it's systemd apps and point it's output to a page of ours.

It may be we can improve out bit of all this but again I think it's down to the thing not having awareness of mobile and so not triggering the build-in keyboard or something.

With that I do not need to open ssh port to the Internet.

OK, yes I see that use now. Good point.

Hope that helps, and do consider asking folks on the forum on this one.