|
2020-09-02
, 13:41
|
Posts: 202 |
Thanked: 385 times |
Joined on Jul 2018
|
#62
|
Interesting. Silly question, did you install/set up the desktop gui (/mnt/guest/setup_desktop.sh then /mnt/guest/setups/debian.sh from command line within the container or the 'setup xsession' in the app under the 'advanced controls')? From what you describe it looks like there is no GUI installed in the container, only command line.
Edit1:
In your host under /home/.lxc/<container_name>/opt/bin there should be some files:
Edit2:Code:-rwxr-xr-x 1 root root 13318156 Jul 28 16:46 Xwayland lrwxrwxrwx 1 root root 27 Jul 28 16:23 kill_xwayland.sh -> /mnt/guest/kill_xwayland.sh lrwxrwxrwx 1 root root 27 Jul 28 16:23 setup_desktop.sh -> /mnt/guest/setup_desktop.sh lrwxrwxrwx 1 root root 27 Jul 28 16:23 start_desktop.sh -> /mnt/guest/start_desktop.sh lrwxrwxrwx 1 root root 27 Jul 28 16:23 start_onboard.sh -> /mnt/guest/start_onboard.sh
What was the problem? I guess you haven't installed the gui in your desktop distro.
The Following User Says Thank You to levone1 For This Useful Post: | ||
|
2020-09-02
, 13:45
|
|
Posts: 600 |
Thanked: 711 times |
Joined on Jul 2019
@ UK
|
#63
|
On the Proš, Pavucontrol shows I'm using "Droid sink deep_buffer" in the "Playback device" tab. In the "Output devices" tab, I have "Droid sink primary_output" and "Droid sink deep_buffer", both with "Port: Output to speaker (plugged in)".
The Following User Says Thank You to edp17 For This Useful Post: | ||
|
2020-09-02
, 13:59
|
Posts: 202 |
Thanked: 385 times |
Joined on Jul 2018
|
#64
|
Interesting. Silly question, did you install/set up the desktop gui (/mnt/guest/setup_desktop.sh then /mnt/guest/setups/debian.sh from command line within the container or the 'setup xsession' in the app under the 'advanced controls')? From what you describe it looks like there is no GUI installed in the container, only command line.
Edit1:
In your host under /home/.lxc/<container_name>/opt/bin there should be some files:
Edit2:Code:-rwxr-xr-x 1 root root 13318156 Jul 28 16:46 Xwayland lrwxrwxrwx 1 root root 27 Jul 28 16:23 kill_xwayland.sh -> /mnt/guest/kill_xwayland.sh lrwxrwxrwx 1 root root 27 Jul 28 16:23 setup_desktop.sh -> /mnt/guest/setup_desktop.sh lrwxrwxrwx 1 root root 27 Jul 28 16:23 start_desktop.sh -> /mnt/guest/start_desktop.sh lrwxrwxrwx 1 root root 27 Jul 28 16:23 start_onboard.sh -> /mnt/guest/start_onboard.sh
What was the problem? I guess you haven't installed the gui in your desktop distro.
|
2020-09-02
, 14:34
|
|
Posts: 600 |
Thanked: 711 times |
Joined on Jul 2019
@ UK
|
#65
|
New container, new error...
Yes I set up desktop gui, trying both with cmd line and with app gui. Both instances were successful, and ended with "...x-session is ready"
Thanks
`/usr/bin/qxdisplay --wayland-socket-name "../../display/wayland-container-0"` &
sudo lxc-attach -n <container_name> -- /mnt/guest/start_desktop.sh 0
|
2020-09-02
, 15:09
|
Posts: 1,335 |
Thanked: 3,931 times |
Joined on Jul 2010
@ Brittany, France
|
#66
|
|
2020-09-02
, 16:30
|
Posts: 202 |
Thanked: 385 times |
Joined on Jul 2018
|
#67
|
Levone1, can you tell which distribution and release you are trying to install? If Debian Sid, then there is a known issue with the latest updates because a package is no longer available in the repository and this results in a failure to use Xwayland for this release. This was not an issue when I set up my Sid container months ago.
If this is your issue, then there is a failure to compile something during the GUI installation procedure, which you could easily miss because the terminal will just close without giving you time to read any error. When everything goes well, the build procedure should keep the terminal busy for 10-15 minutes depending on the performance of your device.
You may want to try Buster or Testing, or if you're trying to install another distribution, then try to run the setup_desktop.sh script manually in a new terminal session to check where it fails without the window closing itself.
Regarding sound edp17, I didn't install any patches, plugins or extensions, but maybe there is a difference in how the audio sinks are set up between the ports for our respective devices?
The Following User Says Thank You to levone1 For This Useful Post: | ||
|
2020-09-02
, 16:33
|
Posts: 202 |
Thanked: 385 times |
Joined on Jul 2018
|
#68
|
I think know now what the problem could be. I just have replicated your scenario.
So, please do the following.
1. Start the container with the gui or manually with sudo lxc-start -n <container_name>
2. Then you need two terminal window (comman-line).
2.a. In one of them issue the following command (watch out for back tick!):
2.b. Then in the other command-line, run this:Code:`/usr/bin/qxdisplay --wayland-socket-name "../../display/wayland-container-0"` &
Code:sudo lxc-attach -n <container_name> -- /mnt/guest/start_desktop.sh 0
The Following User Says Thank You to levone1 For This Useful Post: | ||
|
2020-09-02
, 18:28
|
Posts: 1,335 |
Thanked: 3,931 times |
Joined on Jul 2010
@ Brittany, France
|
#69
|
devel-su lxc-attach -n Linux2 /mnt/guest/./setup_desktop.sh
|
2020-09-02
, 18:47
|
Posts: 202 |
Thanked: 385 times |
Joined on Jul 2018
|
#70
|
Can you try to run the following and post the errors?
If you don't mind, since we are going into specific details, I suggest creating a new issue on Github to post the output, and continue the discussion there. It would be more adapted to address the issue, and also more useful for future users if the issue turns out to occur in other cases. Also, the developer of the LXC app is not active here.Code:devel-su lxc-attach -n Linux2 /mnt/guest/./setup_desktop.sh
The Following User Says Thank You to levone1 For This Useful Post: | ||
Tags |
application, development, linux |
Thread Tools | |
|
Edit1:
In your host under /home/.lxc/<container_name>/opt/bin there should be some files:
What was the problem? I guess you haven't installed the gui in your desktop distro.
Porting SailfishOS to some devices:
Last edited by edp17; 2020-09-02 at 13:35.