diff --git a/AppImage/components/lxc-terminal-modal.tsx b/AppImage/components/lxc-terminal-modal.tsx
index cc5d33e2..469be12f 100644
--- a/AppImage/components/lxc-terminal-modal.tsx
+++ b/AppImage/components/lxc-terminal-modal.tsx
@@ -342,31 +342,9 @@ export function LxcTerminalModal({
{/* Header */}
-
-
- Terminal: {vmName} (ID: {vmid})
-
-
-
-
+
+ Terminal: {vmName} (ID: {vmid})
+
{/* Terminal container */}
@@ -452,6 +430,30 @@ export function LxcTerminalModal({
)}
+
+ {/* Status bar at bottom */}
+
+
+
+
+
{connectionStatus}
+
+
+
)
diff --git a/AppImage/components/script-terminal-modal.tsx b/AppImage/components/script-terminal-modal.tsx
index 3d799010..95c58e00 100644
--- a/AppImage/components/script-terminal-modal.tsx
+++ b/AppImage/components/script-terminal-modal.tsx
@@ -787,7 +787,7 @@ export function ScriptTerminalModal({
diff --git a/AppImage/components/terminal-panel.tsx b/AppImage/components/terminal-panel.tsx
index 92a7024f..5a2be017 100644
--- a/AppImage/components/terminal-panel.tsx
+++ b/AppImage/components/terminal-panel.tsx
@@ -755,7 +755,7 @@ const handleClose = () => {
variant="outline"
size="sm"
disabled={terminals.length >= 4}
- className="h-8 gap-2 bg-green-600 hover:bg-green-700 border-green-500 text-white disabled:opacity-50"
+ className="h-8 gap-2 bg-green-600/20 hover:bg-green-600/30 border-green-600/50 text-green-400 disabled:opacity-50"
>
New
@@ -765,7 +765,7 @@ const handleClose = () => {
variant="outline"
size="sm"
disabled={!activeTerminal?.isConnected}
- className="h-8 gap-2 bg-blue-600 hover:bg-blue-700 border-blue-500 text-white disabled:opacity-50"
+ className="h-8 gap-2 bg-blue-600/20 hover:bg-blue-600/30 border-blue-600/50 text-blue-400 disabled:opacity-50"
>
Search
@@ -775,7 +775,7 @@ const handleClose = () => {
variant="outline"
size="sm"
disabled={!activeTerminal?.isConnected}
- className="h-8 gap-2 bg-yellow-600 hover:bg-yellow-700 border-yellow-500 text-white disabled:opacity-50"
+ className="h-8 gap-2 bg-yellow-600/20 hover:bg-yellow-600/30 border-yellow-600/50 text-yellow-400 disabled:opacity-50"
>
Clear
@@ -784,7 +784,7 @@ const handleClose = () => {
onClick={handleClose}
variant="outline"
size="sm"
- className="h-8 gap-2 bg-red-600 hover:bg-red-700 border-red-500 text-white"
+ className="h-8 gap-2 bg-red-600/20 hover:bg-red-600/30 border-red-600/50 text-red-400"
>
Close
diff --git a/AppImage/scripts/flask_terminal_routes.py b/AppImage/scripts/flask_terminal_routes.py
index 56500e62..b416d0e7 100644
--- a/AppImage/scripts/flask_terminal_routes.py
+++ b/AppImage/scripts/flask_terminal_routes.py
@@ -258,8 +258,9 @@ def lxc_terminal_websocket(ws, vmid):
master_fd, slave_fd = pty.openpty()
# Start pct enter directly to connect to the LXC container
+ # pct is located in /usr/sbin on Proxmox VE
shell_process = subprocess.Popen(
- ['/usr/bin/pct', 'enter', str(vmid)],
+ ['/usr/sbin/pct', 'enter', str(vmid)],
stdin=slave_fd,
stdout=slave_fd,
stderr=slave_fd,