Saltar al contenido

NICE DCV --init to auto start application is starting then in half screen and black background

0

so i just started out with nice dcv, and creating a session works fine. but if i do this dcv create-session --init init.sh elliot this is how my init.sh looks like:

#!/bin/bash
# Navigate to the application directory
cd ~/Downloads/

# Start the application in the background
./Default\ Linux\ desktop\ 64-bit.x86_64 


Enter image description here

Above is the screenshot, when this opens, i have like an "X" on my cursor, that makes me unable to interract with the screen / application also.

but if i just do a dcv create-session elliot which creates a normal session and i go to the desktop to run this application myself, this opens up in a full screen and i can interract with the window.

I do not know if i am missing something required in the init.sh

preguntada hace un año505 visualizaciones
1 Respuesta
0
Respuesta aceptada

I think you need to start a Window manager before starting your app.

The example in Troubleshooting Virtual Session Creation on Linux starts a metacity window manager before running xterm executable.

#!/bin/sh
metacity &
xterm

Replace metacity above with a window manager that is installed in your Linux OS.

AWS
EXPERTO
respondido hace un año
AWS
EXPERTO
revisado hace 8 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.