DomiStyle / docker-idrac6

iDRAC 6 web interface and VNC proxy
https://hub.docker.com/r/domistyle/idrac6/
MIT License
756 stars 135 forks source link

Wrong client desktop size #46

Open archont94 opened 2 years ago

archont94 commented 2 years ago

Because of current DISPLAY_WIDTH and DISPLAY_HEIGHT values, it is not possible to enable full screen inside iDRAC6 2.92. It return error: client desktop size

Besides, window is really small and you have to scroll all the time to see whole image.

Fix is simple - set DISPLAY_WIDTH=1280 and DISPLAY_HEIGHT=1024 and rebuild container. I tested it locally - app still works fine (including VIRTUAL_ISO automount) and I'm able to enable full screen: after fix

adampaulsen commented 1 year ago

Where did you make those variable adjustments?

thanegill commented 1 year ago

@adampaulsen Pass them when starting the docker container:

Example:

docker run -d \
  -p 5801:5800 \
  -p 5901:5900 \
  -e DISPLAY_WIDTH=1920 \
  -e DISPLAY_HEIGHT=1080 \
  -e IDRAC_HOST=192.168.0.100 \
  -e IDRAC_USER=root \
  domistyle/idrac
adampaulsen commented 1 year ago

@thanegill Thank you! I ended up branching it, and editing it in the dockerfile itself.