Control Web Panel

WebPanel => CentOS-WebPanel GUI => Topic started by: chrisg on July 12, 2019, 10:26:45 AM

Title: Does "CWPpro Terminal" work for you?
Post by: chrisg on July 12, 2019, 10:26:45 AM
When I click on the "Terminal" button at the top in CWP Pro (paid version), I get a submenu with two options:
"Simple Terminal"
"CWPpro Terminal"

"Simple Terminal" opens a terminal just fine in a new tab, without asking again for the password. However,
"CWPpro Terminal" doesn't seem to work with Chrome or Firefox:
- it asks again for the user name and password
- once I enter them, I get a black screen with a tiny (about one character) white square in the upper left corner

I have tried disabling Noscript on that tab, but that didn't make any difference.

Maybe I need to install some additional packages via yum to make this work?
Title: Re: Does "CWPpro Terminal" work for you?
Post by: andrereyes_mzt on July 13, 2019, 08:34:32 AM
Hi,

CWP Pro Terminal works fine for me, the first time took a little longer to start, I remember it installed additional software.

Title: Re: Does "CWPpro Terminal" work for you?
Post by: chrisg on July 14, 2019, 10:16:59 AM
Well, I have waited for an hour now after entering user name and password, but nothing happened. I used user "root" for login. I also tried a non-root user, but then I got an error.
Title: Re: Does "CWPpro Terminal" work for you?
Post by: Jamshed Datori on July 14, 2019, 10:56:31 AM
It did not work for me. Also, it was asking for root login despite of the fact that I was already logged in as a root.

Bug report was submitted to CWP team three days ago.
Title: Re: Does "CWPpro Terminal" work for you?
Post by: adamjedgar on July 14, 2019, 11:00:20 AM
It has never worked for me either...I just assumed one day it may work (ie it's a works in progress kinda thing) and have used the simple one instead.

What is the difference between the two?
Title: Re: Does "CWPpro Terminal" work for you?
Post by: Jamshed Datori on July 14, 2019, 11:03:51 AM
It has never worked for me either...I just assumed one day it may work (ie it's a works in progress kinda thing) and have used the simple one instead.

What is the difference between the two?


This is the detail added by CWP Team about CWPro Terminal

Quote
Once you have initialized and revalidated the access with your root password, you will have access to your server via shell with all the functionality of any desktop terminal in Linux, Mac or Windows and without any type of limitations in the execution of certain commands (as it happens with the previous version of the terminal).

You can use commands like vi, nano, htop, iotop, nmtui without any graphic restriction.

In addition, you can copy and paste lines naturally. You will no longer have to transcribe your passwords, just a traditional copy and paste and go!.

The terminal is developed under strict layers of security to ensure reliability under the root environment.
Title: Re: Does "CWPpro Terminal" work for you?
Post by: studio4host on July 14, 2019, 04:01:38 PM
for all not working on centos 7 the best would be that you contact cwp support via the website contact page so the development team can check it.
Title: Re: Does "CWPpro Terminal" work for you?
Post by: chrisg on July 15, 2019, 07:54:19 AM
I wonder what are the requirements for "CWPpro Terminal":

1. Does it require Java? I ask because there is a menu entry in "Service SSH" named "SSH Java Console", and it doesn't work either. To my knowledge, modern browsers no longer support Java. Here is a test page:
https://java.com/en/download/installed.jsp
a) In Firefox, I get "We have detected you are using the 64-bit version of Firefox which will not run the Java plugin."
b) In Chrome I get "The Chrome browser does not support NPAPI plug-ins and therefore will not run all Java content. Switch to a different browser".

2. Does it matter that I changed my SSH port (due to the many hacking attempts to port 22)? The "SSH Java Console" page allows to set the port and correctly shows the one I use, though.
Title: Re: Does "CWPpro Terminal" work for you?
Post by: chrisg on July 15, 2019, 10:24:03 AM
1c) I have now also tried with Internet Explorer 11: The "CWPpro Terminal" doesn't work either. The "SSH Java console" fails to launch due to an invalid signature of the applet jcterm-0.0.10.jar located at
admin/design/3rdparty/sshterm/jcterm-0.0.10.jar.

jarsigner.exe -verify jzlib-1.1.1.jar reports:

Warning:
This jar contains entries whose signer certificate has expired.
This jar contains signatures that does not include a timestamp. Without a timestamp, users may not be able to validate this jar after the signer certificate's expiration date (2014-07-18) or after any future revocation date.
Title: Re: Does "CWPpro Terminal" work for you?
Post by: Sandeep on July 16, 2019, 08:23:44 AM
for CWP pro terminal you need to have valid Hostname with A record DNS and ssl.
Title: Re: Does "CWPpro Terminal" work for you?
Post by: chrisg on July 16, 2019, 09:38:35 AM
I have a valid Hostname with A record DNS and ssl, and the normal CWPro admin panel shows up just fine. The "CWPpro Terminal" loads without any error messages, but the page is blank with a white square the size of a single character in the upper left.
Title: Re: Does "CWPpro Terminal" work for you?
Post by: adamjedgar on November 18, 2019, 05:09:38 AM
ok so this is now like 6 months after last post...I am still getting the exact screen that the original O.P complained about.

Has this been fixed at all yet? How do we get this working?

I notice that my host.domain.com does not use SSL to login to CWP. Is this the reason why it doesnt work? I will try to get SSL for CWP and see what happens.
Title: Re: Does "CWPpro Terminal" work for you?
Post by: vicarodi on November 21, 2019, 07:24:10 PM

Hello, for the use of the terminal you need to have a valid SSL Hostname for the secure connection.
Title: Re: Does "CWPpro Terminal" work for you?
Post by: licode on September 12, 2023, 09:57:52 AM
Wow! 4 years and still no solution?!
It takes so long time to load and then shows blank page.

A screenshot of the blank page:
(https://imgur.com/a/zko1Q9B)

Some system info:
OS: Centos 7 (7.9.2009)
Kernel Version: 3.10.0-1160.90.1.el7.x86_64
CWP pro Version: 0.9.8.1170
Title: Re: Does "CWPpro Terminal" work for you?
Post by: overseer on September 12, 2023, 08:34:38 PM
LPJon has a revised install script for the CWP Pro terminal. Note that it requires python3 to be installed as a dependency.
https://forum.centos-webpanel.com/index.php?topic=13054.0 (https://forum.centos-webpanel.com/index.php?topic=13054.0)
Title: Re: Does "CWPpro Terminal" work for you?
Post by: licode on September 14, 2023, 06:18:13 PM
LPJon has a revised install script for the CWP Pro terminal. Note that it requires python3 to be installed as a dependency.
https://forum.centos-webpanel.com/index.php?topic=13054.0 (https://forum.centos-webpanel.com/index.php?topic=13054.0)

Yeah, that worked.
Thank you so much.