[solved/workaround] Is it possible to run porteus-server on a machine also running apache?

'User made' tutorials related to Porteus Kiosk edition.
Official kiosk documentation can be find here: http://porteus-kiosk.org/documentation.html
Forum rules
Porteus Kiosk section of the forum is unmaintained now. Its kept in a 'read only' mode for archival purposes.
Please use the kiosk contact page for directing your queries: https://porteus-kiosk.org/contact.html
casystems
White ninja
White ninja
Posts: 19
Joined: 08 May 2018, 13:35
Distribution: Porteus Kiosk version 20180422

[solved/workaround] Is it possible to run porteus-server on a machine also running apache?

Post#1 by casystems » 28 Aug 2018, 15:54

I can't see any setting to configure the server to listen on a different port (won't 443 be listened on by apache?)
Last edited by casystems on 31 Aug 2018, 10:00, edited 1 time in total.

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Is it possible to run porteus-server on a machine also running apache?

Post#2 by fanthom » 28 Aug 2018, 16:54

PK Server does not use web server. Only stunnel+ssh which listens on port 443 by default and you cant change it.

If you want to have PK Server on a public IP and run Apache server behind this IP (using different PC) then you can configure the clients like that:
kiosk_server=domain.com:8443

and then redirect the traffic from 'public-IP:8443' to 'local-IP-of-PKServer:443' in your router/firewall settings.
Please add [Solved] to your thread title if the solution was found.

casystems
White ninja
White ninja
Posts: 19
Joined: 08 May 2018, 13:35
Distribution: Porteus Kiosk version 20180422

Is it possible to run porteus-server on a machine also running apache?

Post#3 by casystems » 29 Aug 2018, 12:05

I've got Porteus Server running inside a virtual box and the problem I have now is I can't get to the Monitoring Mode checkbox / buttons at the bottom of the Administration Panel without using keyboard shortcuts to move the window off the screen.
The display resolution while it loads up Porteus Server seems to be 1024x768, then it blanks and drops down to 800x600 and as the Server Admin panel looks like it has been designed for a minimum of 1024x768, I can't get to the good stuff. Help!

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Is it possible to run porteus-server on a machine also running apache?

Post#4 by fanthom » 29 Aug 2018, 14:31

Please add at least 32MB of memory to the GPU card in the VM settings. You should have native resolution then.
Please add [Solved] to your thread title if the solution was found.

casystems
White ninja
White ninja
Posts: 19
Joined: 08 May 2018, 13:35
Distribution: Porteus Kiosk version 20180422

Is it possible to run porteus-server on a machine also running apache?

Post#5 by casystems » 29 Aug 2018, 14:41

Confirmed ; tried 64MB ; no difference!

This is the size/order of events:
Oracle VM logo shown (4:3)
window blanks and resizes to a console size (16:9)
the porteus kiosk server (basic) displays splashscreen at (4:3) @ 1024x768
this takes a while then shinks and blanks the window down to 800x600
then it shinks the window down again to console size
then it expands and shows the splashscreen (but at 800x600) and loads the Admin panel...

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Is it possible to run porteus-server on a machine also running apache?

Post#6 by fanthom » 29 Aug 2018, 15:19

Just installed and cant recreate your problem:
http://porteus-kiosk.org/public/files/P ... -VBox.webm

Make sure you have activated following option:
"View - > Auto-resize Guest Display"

and also maximize your VM window.
Please add [Solved] to your thread title if the solution was found.

casystems
White ninja
White ninja
Posts: 19
Joined: 08 May 2018, 13:35
Distribution: Porteus Kiosk version 20180422

Is it possible to run porteus-server on a machine also running apache?

Post#7 by casystems » 29 Aug 2018, 15:28

View -> Auto-resize Guest Display is already set on. Maximizing the window just centres the content. We are running the VM box on a windows host (but this shouldn't make a difference should it?).
Please see here for an image showing our problem...https://imgur.com/a/FAS1RjH

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Is it possible to run porteus-server on a machine also running apache?

Post#8 by fanthom » 29 Aug 2018, 16:17

1) Cant recreate
2) Others are not reporting it

Must be something on your side (probably VM version or settings).

If you want me to troubleshoot then you need to provide TeamViewer (or similar) access to your desktop.
Support fees will apply. If you are interested then please contact with support@porteus-kiosk.org.

Added in 13 minutes 56 seconds:
You could also run other linux (e.g. Porteus Desktop or Ubuntu) in very same VM and check if it behaves the same.
Please add [Solved] to your thread title if the solution was found.

casystems
White ninja
White ninja
Posts: 19
Joined: 08 May 2018, 13:35
Distribution: Porteus Kiosk version 20180422

Is it possible to run porteus-server on a machine also running apache?

Post#9 by casystems » 31 Aug 2018, 09:59

I've found that leaving the Virtual Machine windowed gets the PK Server (and also the Kiosk Client) to detect (or perhaps default to?) a maximum resolution of 800x600. Maximizing the VM window as the VM boots for the first time seems to allow PK Server to detect a higher available resolution. Perhaps there is some VirtualBox setting that controls this behaviour but I don’t know it.

We've worked around the problem so as when booting Porteus Kiosk Server for the first time, we maximize the VM window, and the resulting resolution that is set remains persistent between reboots. We can then resize the window and scroll it so the Administration Panel is in the centre of the window (the desktop still doesn’t respond to the screen resize commands like “auto resize” in the View menu of the VM which it does when I installed Mint in the same VM).

Locked