logilab-devtools #18194 [lgp login] make it possible to run X11 apps [rejected]
Make the lgp login setup correct environment variables so one can run X11 applications from within the chroot. | |
priority | normal |
---|---|
type | enhancement |
done in | 0.21.0 |
load | 0.000 |
load left | 0.000 |
closed by | <not specified> |
similar entities
- logilab-devtools #5032 piuparts checker fails
- logilab-devtools #6273 Add Ubuntu distribution support
- apycot-moved #22622 Improve log parsing of lgp build
- logilab-devtools #6305 Add maintenance utility lgp setup
- logilab-devtools #9033 sortir les checks pour les rendre accessibles par appels systèmes
[see all]
Comments
-
2009/09/24 14:21, written by ddouard
- get the .Xauthority entry line for the terminal from which you are running the lgp login command by issuing: xauth list $DISPLAY
- start the chroot lgp login
- run apt-get install xauth
- run xauth add <.Xauthority entry line>
- type export DISPLAY=<you DISPLAY env variable outside the chroot>
-
2009/10/08 15:37, written by eanclin
- some images might not be displayed (libgtk bug?)
-
2009/10/09 17:29
-
2009/10/09 17:33
-
2009/10/10 12:38, written by nchauvat
- lgp login
- /root/xsetup.sh
- the script asks for the xauthority entry line
- the script asks for the value of display
-
2010/03/22 09:34
add commentI've been able to run a X11 app from within a lgp login chroot:
Note: DISPLAY will be exported by default in 0.16.0.
I'm not convinced to put that into lgp. The most of tested packages don't require x11 and it puts a lot of new packages by installing xauth (and so x11 stuff). That will be not a minimal chroot afterwards. Nevertheless, I will see if I can put easily the .Xauthority entry line in the chroot somewhere.
I am -1 on installing xauth by default in the chroot. +1 on adding a script that does the above. Scenario would be:
could be easily done with pbuilder >= 0.194 but requires manual step till that. I think to use a script instead of hook to resolve the ticket.