4

I have installed GNOME Desktop in Centos 7 minimal Docker image using the following command. yum groupinstall "GNOME Desktop" "Graphical Administration Tools" .

I enabled the GUI Instance by: ln -sf /lib/systemd/system/runlevel5.target /etc/systemd/system/default.target

I am unable to access the GUI mode. Can anyone guide how to do it?

kd0807
  • 650
  • 6
  • 14
  • You need a valid display, check for example http://stackoverflow.com/questions/16296753/can-you-run-gui-apps-in-a-docker-container – user2915097 Mar 11 '15 at 06:06

2 Answers2

3

try echo $DISPLAY to see the installed GUI visit https://askubuntu.com/questions/432610/how-to-know-which-processes-have-the-display-variable-set

Community
  • 1
  • 1
SOP
  • 743
  • 2
  • 8
  • 25
0

the best explanation I have seen on that subject is this post https://linuxmeerkat.wordpress.com/2014/10/17/running-a-gui-application-in-a-docker-container/

user2915097
  • 27,609
  • 6
  • 52
  • 56