Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
howtos:misc:lxc [2019/12/28 02:27 (UTC)]
montagdude Add running GUI applications
howtos:misc:lxc [2019/12/28 02:28 (UTC)] (current)
montagdude Move running GUI applications section out of Configuration section
Line 157: Line 157:
 Note that the second path intentionally lacks a leading slash. This is because it is a relative path -- relative to the container'​s rootfs. Once you start the container again and log in, you should see that the directory has been mounted at /​home/​container_user/​foo. In general, it is best if the username on the host is the same as the container'​s username, because it avoids any conflicts in file ownership between the host and container user. Note that the second path intentionally lacks a leading slash. This is because it is a relative path -- relative to the container'​s rootfs. Once you start the container again and log in, you should see that the directory has been mounted at /​home/​container_user/​foo. In general, it is best if the username on the host is the same as the container'​s username, because it avoids any conflicts in file ownership between the host and container user.
  
-==== Running GUI Applications ====+===== Running GUI Applications ​=====
  
 Without taking additional steps, it will not be possible to run GUI applications installed in the container. The simplest way to accomplish this is to run them using SSH with X forwarding to the host. However, there are still a few steps required to make this happen. In the container, in /​etc/​ssh/​sshd_config,​ set the following: Without taking additional steps, it will not be possible to run GUI applications installed in the container. The simplest way to accomplish this is to run them using SSH with X forwarding to the host. However, there are still a few steps required to make this happen. In the container, in /​etc/​ssh/​sshd_config,​ set the following:

In Other Languages
QR Code
QR Code howtos:misc:lxc (generated for current page)