Suggestion for changing cockpit default session timeout
by Gal Zaidman
Hi Cockpit developers,
I saw that on cockpit-209 Session timeouts were added with the default to
15 minutes of inactivity (https://cockpit-project.org/blog/cockpit-209.html
).
I think that this change is problematic because:
1. The timeout is very short and it can cause unexpected behavior to users
and cockpit packages.
2. The timeout can only be configured in the /etc/cockpit.conf file, so it
is hard for packages to configure it to fit to their behavior.
For example,
we created a package for installing ovirt with cockpit UI, that
installation can take a lot of time, it has different phases and
logging out in the middle can cause problems.
We prefer to avoid editing /etc/cockpit.conf because we don't want to run
over user configuration (what to do when there is already cockpit.conf
present?)
I want to suggest:
1. Raising the timeout to 2 hours of inactivity, this seems reasonable.
2. Provide a more flexible way of configuring the timeout, with an option
to the manifest.json package file and/or with a cockpit API call.
Thanks
3 years, 4 months
Debugging cockpit spawn
by Justin Stephenson
Hi,
I am looking to debug an issue in my cockpit
module(cockpit-session-recording) as I believe I am not getting all the
output from the cockpit spawn returned object. I have a few questions from
my initial investigation:
In src/base1/cockpit.js I see:
* function spawn_debug() { if (window.debugging == "all" ||
window.debugging == "spawn") console.debug.apply(console,
arguments); }*
How do I enable this debugging?
I also went through the below steps but I'm not sure which cockpit process
I need to debug.
https://github.com/cockpit-project/cockpit/blob/master/HACKING.md#running...
Is it correct to assume cockpit_pipe_spawn() in src/common/cockpitpipe.c is
the C interface that the cockpit.spawn API calls underneath?
If there are better ideas, or i'm going about this in the wrong way then
I'm open to suggestions.
Thank you in advance.
-Justin
3 years, 7 months
Re: Cockpit on windows
by Martin Pitt
Hello Jonathan,
Jonathan Aquilina [2020-04-07 5:25 +0000]:
> There is a bit of a misunderstanding. Is it possible to run cockpit on a windows machine on IIS to admin linux machines?
Theoretically, it may be possible to reengineer the build system to build
*just* cockpit-ws (the web server component) on Windows, if you have gnutls,
glib etc., and provide the service startup manually. Normally this is
controlled by systemd, through the TLS proxy cockpit-tls. But the practical
answer is "no, it does not work right now and there is neither effort going on
nor motivation to do so".
You can certainly place IIS in front of cockpit-ws as a reverse proxy, though.
https://github.com/cockpit-project/cockpit/wiki/Proxying-Cockpit-over-NGINX
documents how to do that for nginx.
But when you use cockpit, you always have to use cockpit-ws somewhere (with a
reverse proxy on top of it or not).
Martin
3 years, 7 months
Re: Cockpit on windows
by Martin Pitt
Hello Jonathan,
Jonathan Aquilina [2020-04-07 4:54 +0000]:
> Is cockpit going to be brought to windows? If not are there plans to release it to be run for windows?
Cockpit is strictly a tool to administer a *Linux* server. It is absolutely not
portable to run on or administer a Windows server (it's not even portable to
other Unix flavors). However, Windows has its own kind of web console:
https://docs.microsoft.com/en-us/windows-server/manage/windows-admin-cent...
(Previously known as "Project Honolulu").
On the client side, Cockpit can be *used* with any web browser, including
Microsoft Edge (or other browsers) on Windows.
Martin
3 years, 7 months
Re: Cockpit 215
by Paul Bovbel
Is libpod and cockpit-podman going to be available in Ubuntu 20.04? It
would be a shame to have neither cockpit-docker nor cockpit-podman
available in an LTS release.
Moreover, it would be great to have both available in a release to allow
folks to transition as necessary.
3 years, 7 months
Cockpit on windows
by Jonathan Aquilina
Hi Guys,
Is cockpit going to be brought to windows? If not are there plans to release it to be run for windows?
Regards,
Jonathan Aquilina
EagleEyeT
Phone +356 20330099
Sales - sales(a)eagleeyet.net<mailto:sales@eagleeyet.net>
Support - support(a)eagleeyet.net
3 years, 7 months