跳至內容

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

已提問 1 年前檢視次數 506 次
1 個回答
0
已接受的答案

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
專家
已回答 1 年前
AWS
專家
已審閱 8 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。