Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java windows are blank when color depth is 32b #1135

Open
Coolgeek789 opened this issue May 25, 2018 · 3 comments
Open

java windows are blank when color depth is 32b #1135

Coolgeek789 opened this issue May 25, 2018 · 3 comments

Comments

@Coolgeek789
Copy link

I found that, when I use 32b color depth connecting to xrdp session, java app are showing blank :
https://stackoverflow.com/questions/45412979/java-rendering-over-remote-desktop

@peanutbutterandcrackers

I can confirm that I faced the same issue with current xrdp devel branch (as of yesterday).

The solution was to set max_bpp=24 and xserverbpp=24 in /etc/xrdp/xrdp.ini because it turns out Java applications expect the color depth to be 24 bits per pixel.

It still remains to be figured out how to set it to some other value.

@matt335672
Copy link
Member

This could be a duplicate of #1906. See TigerVNC/tigervnc#1308 if you're using the Xvnc back-end.

@MarcusJentzsch
Copy link

I figure out the problem. In my case we were using xrdp with xvnc on the background. All java screens were blank when connecting with Remote Desktop. The solution was to edit \etc\xrdp\xrdp.ini

[Xvnc]
name=Xvnc
lib=libvnc.so
username=ask
password=ask
ip=127.0.0.1
port=-1
xserverbpp=24 <------ The default here was 32. I changed to 24 and it worked

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants