webmin / authentic-theme

Official theme for the best server management panel of the 21st Century
https://authentic-theme.com
MIT License
949 stars 164 forks source link

Terminal #1685

Open forlotto opened 10 months ago

forlotto commented 10 months ago

Terminal in Webmin does not show what you type.

The output is all over the screen and often it freezes and doesn't let you type stuff in as well.

Its a sweet feature though to have.

Don't know if its able to be cleaned up somehow.

Using Debian 12 with Cloudmin Pro.

pixel-paul commented 10 months ago

Are you using the web based terminal via:

Webmin tab -> Tools -> Terminal ?

Which browser are you using?

swelljoe commented 10 months ago

We need something more specific to go on here. Like your browser and client OS and exactly how to reproduce the problem. The terminal works fine for me. :man_shrugging:

iliajie commented 10 months ago

The output is all over the screen and often it freezes and doesn't let you type stuff in as well.

If you go to Terminal config and disable WebGL -- does it solve your problem?

Like this:

image
forlotto commented 10 months ago

Debian 12 Chrome latest version cloudmin pro 9.7 Pro webmin

I'll have to test the WebGL thing. But its always had this problem on every server if I bring up the terminal in the webmin interface..

AMD64 base nonfree

forlotto commented 10 months ago

I should've specified its the terminal overlay that comes up when you click the button on the menu not in the webmin terminal menu. Tried to disable webGL doesn't seem to matter. So when you click that button and you have the terminal overlay not in the actual terminal when you click on it. That appears to work rather well it would be nice if that button just took you to the terminal screen problem solved no overlay. Simple is often the better fix.

forlotto commented 10 months ago

Unsure if this makes any sense or not but its the one on the menu at the bottom where you log out. It works but its a part timer and the text gets jostled all over the place. Most folks probably wouldn't use it they'd use the terminal from the menu I get that but I'm sure its some web buffer thing how the info gets output via HTML it almost reminds me of like VB output of a web page where things became unformated when you tried to output live data and then trying to handle the information and keeping it formated correctly from a stored value in a register. Anyways back to cloudmin fun learning how to work it right from a networking standpoint I might eventually have to give up and read documentation DOH!

iliajie commented 10 months ago

Chrome latest version

What version of Chrome is this and what client OS os that?

Most folks probably wouldn't use it they'd use the terminal from the menu

I use dropdown terminal all the time and never had such problem with that. At least the version of Webmin 2.105 most certainly doesn't have such issue. What is your Webmin version?

It works but its a part timer and the text gets jostled all over the place.

It shouldn't be the problem in the latest Webmin 2.105 version.

I get that but I'm sure its some web buffer thing how the info gets output via HTML

Try the other browser and or incognito tab

it almost reminds like VB output of a web page where things became unformated when you tried to output live

Come on, we wanna see it too!

forlotto commented 10 months ago

Debian 12 Errr Chrome 10 I believe whatever the latest is.

You your thinking it may be a plugin I suppose that's possible But IDK I'll have to check when I get back on seeing if its a plugin or something else with incognito and disabling all plugins simple test. yep skipped the simple test. Yeah I'll stick with using the terminal rather than the overlay but the overlay was quicker to get to that's the point of a GUI ;) If it saves time use it if not well use the terminal. Actually though once you get a good grasp on webmin based web GUI I don't see why an admin wouldn't want to use it it is a timesaver. Especially on those days when your brain don't want to remember all those memorized things that you thought you had memorized and you draw a blank.

forlotto commented 10 months ago

lol I am sorry I wound up formatting my server this morning at 5AM to do a fresh install otherwise I'd post some screen shots my fault I get it it helps to see ;) I got a lot going on car repair, network upgrades, half torn down ceiling remodeling the kitchen so I have only been checking on on things haven't messed around much sense last night well actually this morning oh and we had to do some shopping after cleaning up the dinner mess. Finally got my network all backup and running solid couldn't figure out what was happening actually had a bum cable coupler that was knocking out WLAN AP #4 yey! Should've known but forgot to do some static IP mapping on a lot of newly added devices so had to creat a new mapping again and I'll have to remap the edge as well good stuff. Anyways when I get around to reinstalling Debian and Cloudmin back on er I will surely share a screenshot. Thanks for your help sorry running on 3hrs of sleep or just shy of.

forlotto commented 10 months ago

I am likely going to hold off on further testing until cloudmin works well with Deb12 at that point I'll take screenshots but it isn't impossible to picture in your minds eye.

What happens with the overlay is all text input doesn't display that is typed. (easy to picture and understand.)

So when you hit enter after executing you still get output but the output on the terminal overlay comes out like so. (dots represent space) ....................................................................................................................................................................output a word..........................................................................................................................................................................................................................................................................................................................................................................................................................................output a couple words............................................................................................................................output a word......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................Do you want to continue (Y/N)

often at this point it may stop giving output or it will stop functioning you can't even enter something simple like clear it loses all function.

I just don't have the time to blow right now to get screenshots for this when it can be easily pictured if you are familiar with it I mean I get it in support we often tend not to have good data to work with but this explanation is as good as a picture if you are familiar with it.

The fact that the overlaid terminal shows no input does beg to question if my spell checking plugin might be causing the issue its a very good possibility you may be on to something there odd though it doesn't interfere with any other website so it kind of makes me wonder what they are doing different. Grammarly free edition I just use that if you wanna give it a test that was about the only thing I'm using that I thought might be causing the problem when you brought that up I thought sheesh why didn't I think of that one duh!

But like I say I figured I'd spend a minute just updating my current situation just to let you know I'm not ignoring you but just waiting on the new release.

forlotto commented 10 months ago

tried it in firefox ESR no plugins or anything here goes a video. Screencast from 2023-11-19 17-48-09.webm Hope that helps display the issue brand new install decided to spend my day doing an install just to try and help the process along. Well as you can see I'm typing stuff as I said no input shows to the screen the freezing and not working is rather random as well but enough to know there is no input accepted. New install new browser no plugins. So I can verify it wasn't plugins.

iliajie commented 10 months ago

New install new browser no plugins. So I can verify it wasn't plugins.

What about Chromium browser?

forlotto commented 10 months ago

Good question I'd have to reinstall and check again but it was doing the same last I checked so maybe its my DPI settings being kicked up to 200% seeing as how I'm on a 4k monitor wouldn't think so but guess its possible but it's exact on both systems I even think I tested it from an old M$windblows machine I have as well cause I was curious. So your guess is as good as mine. But it does the same thing with each browser each system on the overlay. No viewable input from keyboard odd formatting on the response after hitting enter and freezes from time to time. Again the cloudmin/webmin is on Debian 12 OS which I believe also has some odd package or dependency issues or repo issues at the moment for that OS I'm half tempted to switch OS's and give ubuntu a run or run a downgraded bullseye and try that but I want to stick with it for a little bit and see.

forlotto commented 10 months ago

Yeah IDK even the regular terminal doesn't show input on debian12 at least I did post a bunch of things about issues on debian12 in the cloudmin forum you may want to take a look there as well I finally individualized a lot of the things that need some work. Most of it is likely package related.

jcameron commented 10 months ago

Seems unlikely that this is related to Debian 12, since the terminal is pretty much independent on the server OS.

Does it work with the same browser when accessing Webmin on an older Debian version?

forlotto commented 10 months ago

Don't know its a brand new install I show a video not much more that I can contribute as far as information goes. I just know it is not working with several browsers even logging on from a windows machine with a different browser its the same thing so is this a me only thing or have you guys tested it?

I cant see any text that I type on the screen. but I see output hrmmm... I wonder all of my PC's are set to be dark... ugh brand new install no matter what device its accessed from same issue. Don't know what to say.

On Tue, Nov 28, 2023 at 11:36 PM Jamie Cameron @.***> wrote:

Seems unlikely that this is related to Debian 12, since the terminal is pretty much independent on the server OS.

Does it work with the same browser when accessing Webmin on an older Debian version?

— Reply to this email directly, view it on GitHub https://github.com/webmin/authentic-theme/issues/1685#issuecomment-1831253124, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHCOYHYYST2DS63S5YJMMALYG3CWZAVCNFSM6AAAAAA7PKRCLSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZRGI2TGMJSGQ . You are receiving this because you authored the thread.Message ID: @.***>

-- Geno Whizconsin Solutions LLC

iliajie commented 10 months ago

I just know it is not working with several browsers even logging on from a windows machine with a different browser

Can we just login to your system and see what's up?

forlotto commented 10 months ago

Yes. May need your IP to whitelist.

At current I've been testing cockpit as a temporary VM hypervisor until I can figure out how to get cloudmin running.

Host and Server are same machine with 1 ethernet connection. Is the setup.

At current I am waiting on another NIC cause I'm having bridging issues I'd like to see if its my bridge or the fact that the physical switch my Host server is hooked to doesn't support VLAN. Trying to figure out the issue there as well.

So please just give me a little time maybe a week or so to get my NIC and run those tests then I'll wipe everything install cloudmin from scratch and give you access to see the terminal in action and what it is doing. It don't matter if it is virtualmin or cloudmin or what browser I experience the same issue like I say I've also turned of the hardware acceleration or whatever it was that you suggested.

So in short YES that would be fine but not at this exact moment we'll have to setup a time at least a week out. Sorry for this I have a lot of other things going on as well holiday stuff, trying to remodel a room, trying to organize stuff and make space for christmas decor replacing the ceiling in the kitchen. A lot for one person. So got many IRONS in the fire I actually as a joke took a few minutes and built a tree out of trash just to be funny cause the other half was feeling under the weather so it would put her in a better mood. :P and get a laugh and feel christmasy.

I'll share it with you as well so you can get a laugh Merry Christmas to you guys I appreciate what you are doing. At Virtualmin/Cloudmin/Usermin

ENJOY HOPEFULLY YOU CAN GET A LAUGH OUT OF THIS AS WELL :P

Merry XMAS

Saentist commented 7 months ago

image

Can anyone explain how to fix this strange font?

forlotto commented 7 months ago

On webmin you click on terminal there is typically a gear icon where you can set the type of terminal view and use. There are other settings as well. You are likely using shell default as well I presume so ... You may have to change that to UTF8 or something other than this I'm unsure. Also you could try to type reset in the terminal and hit enter to see if that helps.

I fixed my terminal issues by simply typing reset before I issue anything else in the terminal would be nice if this was done by default when you open the terminal it would solve so many problems I think people are facing with terminal issues a simple call to enter reset upon invoking the terminal. Anyways, good luck hope this was helpful!

iliajie commented 7 months ago

Yes, this is a bug in the underlying libraries. You should be able to fix it by calling reset though.

forlotto commented 7 months ago

At the moment those involved insist that it is a me issue "Although I have proved otherwise." With 100% certainty this is not true and not the case. The problem is development can most likely fix the issue depending upon how they want to go about doing so, it may be a problem outside of their scope and they may not wish to implement a fix lets say like a issued reset, but they have so much to support that they pick and choose what gets fixed based upon the financial incentives and time. Not a radical way to do things actually its how things are done as a standard in most situations. But, I hope and wait patiently for repairs in the terminal and in cloudmin so that the extra features and plugins work properly sooner or later. It's the most awesome and powerful software out there for a webserver and the price is reasonable but you do have to have a lot of time and working knowledge on your hands to get cloudmin up and running and in order to spin up VM's from it. It's not as simple of a task as it once was because things have not been kept up to date simply because of a lack of people purchasing licenses. Which I don't quite understand fully the licenses are cheap every company in the world should be buying a license to cloudmin really just so they can afford to hire more staff it beats anything out there once you get it running and it is a fraction of the price. For 100bux a year you have the ultimate hypervisor capable of running any type of VM...

Citrix Xen Host Systems Docker Host Systems KVM Host Systems LXC Host Systems OpenVZ Host Systems Solaris Zones Host
Xen Host Systems

All of these are systems that can be spun up from the Cloudmin Hypervisor.

I urge everyone even though it isn't working the best right now and takes a bit of work to get VM's up and running to purchase a cloudmin license if you can purchase several cloudmin liscesnses it is indeed the best hypervisor out in the wild!

Supports Clusters, Remote Servers, Amazon EC2 etc....

BUY A LICENSE TO CLOUDMIN FOLKS SUPPORT THE PROJECT!!!!

Saentist commented 7 months ago

reset don't change anything

image

iliajie commented 7 months ago

reset don't change anything

What about slightly resizing your browser's window?

Saentist commented 7 months ago

reset don't change anything

What about slightly resizing your browser's window?

same but with smaller font MC 25% image

on 30% image

there is problem with Opera browser but not with Firefox image

iliajie commented 7 months ago

If you used Authentic Theme you could pass options to Xtermjs constructor, like fontFamily: 'Courier Sans Mono', for example.

Does the same issue happen using Framed Theme in Chrome or Chromium? Does this issue happen in Authentic Theme using Opera?

What version of Opera do you have installed?

Saentist commented 7 months ago

Opera latest Framed Theme is problematical on Authentic Theme is OK /but this theme is full of useless and oddly positioned items/

pass options to Xtermjs constructor, like fontFamily: 'Courier Sans Mono'

any example?

iliajie commented 7 months ago

any example?

Yeah, sure. Open browser's console and run the following:

config_portable_module_xterm_options = JSON.stringify({'fontFamily': 'Ubuntu Mono, courier-new, courier, monospace'});
theme.config.save();

When done, re-visit Terminal module.

/but this theme is full of useless and oddly positioned items/

Which items exactly? Can you show a screenshot?

Saentist commented 7 months ago

Command is some kind incomplete image


Which items exactly? Can you show a screenshot?

This will be more for video review image

But lets start with items centered instead left positioned in lot of locations Top left two buttons, who use them, what a waste of space. where is a contrast of text box border image foggy shady = unreadable image

notification bell not possible to be removed definitely not my theme, only good thing is dark theme but even there contrasting colors are bad chosen

iliajie commented 7 months ago

Command is some kind incomplete

This command would only work in Authentic Theme.

foggy shady = unreadable

Which Webmin version are you running?

notification bell not possible to be removed

Possible in theme configuration page and disabling "Enable slider" option in "Side slider" section.

definitely not my theme, only good thing is dark theme but even there contrasting colors are bad chosen

Are you sure that you're using the latest Webmin version, i.e. 2.105?

Saentist commented 7 months ago

Yes latest version image image

If in next update is changed default theme to Framed, not all users will switch back to Authentic I guess. I managing lot of systems and first thing is to switch theme

iliajie commented 7 months ago

I'll work on updating the height of elements in Authentic Theme to better meet modern standards and expectations.