跳至内容

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 年前512 查看次数
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 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。