Difference between revisions of "CentOS 7.x lxc use graphical applications"

From Notes_Wiki
(Created page with "<yambe:breadcrumb>CentOS_7.x_lxc|lxc</yambe:breadcrumb> =CentOS 7.x lxc use graphical applications= By default lxc templates only have command-line utilities as graphical acc...")
 
m
 
Line 1: Line 1:
<yambe:breadcrumb>CentOS_7.x_lxc|lxc</yambe:breadcrumb>
[[Main Page|Home]] > [[CentOS]] > [[CentOS 7.x]] > [[CentOS 7.x virtualization|Virtualization]] > [[CentOS 7.x lxc|Lxc]] > [[CentOS 7.x lxc use graphical applications]]
=CentOS 7.x lxc use graphical applications=


By default lxc templates only have command-line utilities as graphical access to containers is not very common.  However, if graphical access is required use:
By default lxc templates only have command-line utilities as graphical access to containers is not very common.  However, if graphical access is required use:
Line 14: Line 13:
# Use "ssh -X" to connect to container with X11 forwarding enabled
# Use "ssh -X" to connect to container with X11 forwarding enabled
# Try to run graphical application such as "gedit &" and validate.
# Try to run graphical application such as "gedit &" and validate.
[[Main Page|Home]] > [[CentOS]] > [[CentOS 7.x]] > [[CentOS 7.x virtualization|Virtualization]] > [[CentOS 7.x lxc|Lxc]] > [[CentOS 7.x lxc use graphical applications]]

Latest revision as of 08:57, 25 August 2022

Home > CentOS > CentOS 7.x > Virtualization > Lxc > CentOS 7.x lxc use graphical applications

By default lxc templates only have command-line utilities as graphical access to containers is not very common. However, if graphical access is required use:

  1. List available environments
    yum group list
  2. Install desired enviornment such as "GNOME Desktop" using
    yum install @^"GNOME Desktop"
  3. Exit from container
  4. Use "ssh -X" to connect to container with X11 forwarding enabled
  5. Try to run graphical application such as "gedit &" and validate.


Home > CentOS > CentOS 7.x > Virtualization > Lxc > CentOS 7.x lxc use graphical applications