LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-06-2021, 12:09 PM   #31
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6624Reputation: 6624Reputation: 6624Reputation: 6624Reputation: 6624Reputation: 6624Reputation: 6624Reputation: 6624Reputation: 6624Reputation: 6624Reputation: 6624

Quote:
Originally Posted by Kron4ek View Post
bassmadrigal The test build binds /etc/asound.conf by default, so you can additionally try to bind /etc/machine-id and see if the sound works after that (and if Steam works too):

Code:
BIND="/etc/machine-id" conty_lite_test.sh mpg123 ../04\ \ -\ Linkin\ Park\ -\ New\ Divide\ -\ Linkin\ Park.mp3
I'm at work, but that did seem to work for mpg123 based on the output. YAY! I'll give steam a try when I get home.
 
1 members found this post helpful.
Old 04-06-2021, 01:38 PM   #32
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6624Reputation: 6624Reputation: 6624Reputation: 6624Reputation: 6624Reputation: 6624Reputation: 6624Reputation: 6624Reputation: 6624Reputation: 6624Reputation: 6624
Sound works with steam when I use the test build and bind /etc/machine-id!
 
1 members found this post helpful.
Old 04-06-2021, 01:48 PM   #33
Kron4ek
LQ Newbie
 
Registered: Apr 2021
Posts: 9

Rep: Reputation: Disabled
Quote:
Originally Posted by bassmadrigal View Post
Sound works with steam when I use the test build and bind /etc/machine-id!
Good! I will add /etc/asound.conf and /etc/machine-id in the next release then.
 
4 members found this post helpful.
Old 04-06-2021, 02:36 PM   #34
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6624Reputation: 6624Reputation: 6624Reputation: 6624Reputation: 6624Reputation: 6624Reputation: 6624Reputation: 6624Reputation: 6624Reputation: 6624Reputation: 6624
Awesome to hear! I'll keep my eye out.

Thanks again for all the help!
 
Old 04-09-2021, 08:54 PM   #35
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 3,574
Blog Entries: 7

Rep: Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869
Hey Bassmadrigal, I see this in the changelog:
Code:
/etc/asound.conf and /etc/machine-id are now automatically get bound to the container. This fixes sound issues that were happening on some systems.
Does the latest version fix your problems with sound?
 
Old 04-10-2021, 12:18 AM   #36
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6624Reputation: 6624Reputation: 6624Reputation: 6624Reputation: 6624Reputation: 6624Reputation: 6624Reputation: 6624Reputation: 6624Reputation: 6624Reputation: 6624
Yep, I actually meant to post on here the other day and then I spaced it. New build is working flawlessly and doesn't need any options for sound to work. Thanks again Kron4ek!
 
2 members found this post helpful.
Old 04-12-2021, 06:27 AM   #37
notzed
Member
 
Registered: Dec 2020
Location: South Australia
Distribution: slackware64-current
Posts: 83

Rep: Reputation: Disabled
This is great! Managed to get rid of multilib and still run steam (the only reason I installed it). I did notice one thing, a Proton game wanted to run a desktop service (open a web page?) and it failed. Nothing important for me though.

FWIW I'm using pipewire and it's pulse daemon, so no pulse-audio at all apart from libpulse.so, although Proton seems to just go to alsa anyway as the daemon doesn't run until I do something in firefox like youtube. Either way and including concurrent sound things, audio "just works", not surprisingly. Dunno why paddo doesn't build pipewire with it's libpulse support, but it doesn't really matter I guess.
 
Old 04-25-2021, 07:03 AM   #38
scorpion77
Member
 
Registered: Sep 2003
Distribution: Slackware64 current
Posts: 95

Rep: Reputation: 15
I tried to use wine through Conty, but I can't access my host filesystem.
I ran this command: ./conty.sh wine /WinD/Emu/WinUAE/winuae64.exe to use Amiga Emulator (WinUAE), but I got this error:

wine: failed to open "/WinD/Emu/WinUAE/winuae64.exe": c0000135

It seems clear that Conty is not able to see my host filesystem. How can solve it?

Thanks in advance.
 
Old 04-25-2021, 08:01 AM   #39
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 3,574
Blog Entries: 7

Rep: Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869
Unprivileged container to run wine/steam on slackware64 with no multilib

is the path correct?
 
Old 04-25-2021, 08:51 AM   #40
Kron4ek
LQ Newbie
 
Registered: Apr 2021
Posts: 9

Rep: Reputation: Disabled
Quote:
Originally Posted by scorpion77 View Post
I tried to use wine through Conty, but I can't access my host filesystem.
I ran this command: ./conty.sh wine /WinD/Emu/WinUAE/winuae64.exe to use Amiga Emulator (WinUAE), but I got this error:

wine: failed to open "/WinD/Emu/WinUAE/winuae64.exe": c0000135

It seems clear that Conty is not able to see my host filesystem. How can solve it?

Thanks in advance.
Well, host filesystem is visible, but not completely, the dirs that are visible from within the container by default are: /home, /media, /mnt, /opt, /var and /run. So the solution for you is to either move (or copy) your Emu directory to one of these visible dirs, or bind /WinD to an existing directory. For instance:


Code:
mkdir "${HOME}"/WinD
./conty.sh --bind /WinD "${HOME}"/WinD wine "${HOME}"/WinD/Emu/WinUAE/winuae64.exe

Last edited by Kron4ek; 04-25-2021 at 08:54 AM.
 
2 members found this post helpful.
Old 04-25-2021, 09:29 AM   #41
scorpion77
Member
 
Registered: Sep 2003
Distribution: Slackware64 current
Posts: 95

Rep: Reputation: 15
Quote:
Originally Posted by Kron4ek View Post
Well, host filesystem is visible, but not completely, the dirs that are visible from within the container by default are: /home, /media, /mnt, /opt, /var and /run. So the solution for you is to either move (or copy) your Emu directory to one of these visible dirs, or bind /WinD to an existing directory. For instance:


Code:
mkdir "${HOME}"/WinD
./conty.sh --bind /WinD "${HOME}"/WinD wine "${HOME}"/WinD/Emu/WinUAE/winuae64.exe
Thank you very much, it works!
 
Old 10-13-2021, 02:51 PM   #42
bamunds
Member
 
Registered: Sep 2013
Location: Mounds View MN
Distribution: Slackware64-14.2-Multilib XDM/FVWM3
Posts: 776

Rep: Reputation: 254Reputation: 254Reputation: 254
Sorry for the old thread opening, but want to understand this application.
As I understand it this is a container which runs another GNU/Linux (ie Arch) inside Slackware, which then runs Wine or Steam, etc. Is that correct?
Isn't that basically saying that Wine or Steam runs better under Arch, rather than making Wine and Steam run properly under Slackware?
 
Old 10-13-2021, 04:42 PM   #43
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 3,574
Blog Entries: 7

Rep: Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869
Quote:
Originally Posted by bamunds View Post
Sorry for the old thread opening, but want to understand this application.
As I understand it this is a container which runs another GNU/Linux (ie Arch) inside Slackware, which then runs Wine or Steam, etc. Is that correct?
Isn't that basically saying that Wine or Steam runs better under Arch, rather than making Wine and Steam run properly under Slackware?
No, not at all. Not everything is political, you know. In fact, Slackware would probably be a better choice for this.

The point of this is that, being fully self contained you don't need anything else to use it. You can just download it and run it. It's got everything you need built in... And it's literally a single file. You can put it under /usr/local/bin and every user on your system will be able to use wine, steam, lutris, playonlinux, and more.

I use this because I'm too lazy/time poor to install multi-lib and compile everything else that is needed, just for gaming.

If you wanted, you could build the same thing using Slackware... But again, I'm too lazy/time poor to do that. And it lets me keep my system pure 64 bit, which means I don't have any of the problems which come with running multi-lib.
 
1 members found this post helpful.
Old 10-13-2021, 07:39 PM   #44
bamunds
Member
 
Registered: Sep 2013
Location: Mounds View MN
Distribution: Slackware64-14.2-Multilib XDM/FVWM3
Posts: 776

Rep: Reputation: 254Reputation: 254Reputation: 254
OK I'm not trying to make this a political flame war over which GNU/Linux either. I get the container has everything needed to run Steam or Wine, etc. I just wanted to confirm my understanding of what conky is actually doing. I'm unfamiliar with containers enough to know I don't know what I need to know. Currently this Slackware64 14.2 has multilib installed along with qemu and Wine. I'm trying to find a path to running a MSoft Netframe 4.6.2 application on Slackware, and each time I've tried with Wine (AlienBob's version) it says it has fully loaded Netframe 4.6.2 (using the winetricks process) but the app crashes as not supported or unable to load a .dll. This one app is preventing me from converting my wife's Win10 to Slackware, which is why I want to figure it out. If Conky is a way to try, great. But if conky is simply arch wrapped in the container and that means needing another 2 G of memory just for the container, them the base machine isn't up to the task. Thanks for the advice.
 
Old 10-13-2021, 08:10 PM   #45
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 3,574
Blog Entries: 7

Rep: Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869
Quote:
Originally Posted by bamunds View Post
I just wanted to confirm my understanding of what conky is actually doing.
The way containers work is quite unique.

This explains it: "Linux containers, in short, contain applications in a way that keep them isolated from the host system that they run on. Containers allow a developer to package up an application with all of the parts it needs, such as libraries and other dependencies, and ship it all out as one package. And they are designed to make it easier to provide a consistent experience as developers and system administrators move code from development environments into production in a fast and replicable way.

In a way, containers behave like a virtual machine. To the outside world, they can look like their own complete system. But unlike a virtual machine, rather than creating a whole virtual operating system, containers don't need to replicate an entire operating system, only the individual components they need in order to operate. This gives a significant performance boost and reduces the size of the application."


Containers use the resources of the host system, while remaining isolated. The fact that it's "Arch based" should not be off putting. That just means that it uses the Arch version of certain libraries... and being a container, they remain completely isolated from your Slackware installation.
Quote:
Originally Posted by bamunds View Post
I'm trying to find a path to running a MSoft Netframe 4.6.2 application on Slackware, and each time I've tried with Wine (AlienBob's version) it says it has fully loaded Netframe 4.6.2 (using the winetricks process) but the app crashes as not supported or unable to load a .dll.
That could be a shortcoming of wine. If it doesn't work in Conty, then you probably won't get it working. It'd be a quick way to test.

Wine is great, but there are still many things it doesn't do properly. I'm not sure if I'd be comfortable using it to run applications required for work.
Quote:
Originally Posted by bamunds View Post
But if conky is simply arch wrapped in the container and that means needing another 2 G of memory just for the container, them the base machine isn't up to the task.
No, it doesn't work that way. Conty is quite efficient. Using it to run Warcraft III only causes the memory use of my machine to increase by a couple of hundred Mb... and most of that would be the game itself. The container runs 'alongside' rather than 'on top of'.

It's free software. It costs you nothing but the bandwidth used to download it. Try it... or not... Do whatever works for you.

Last edited by rkelsen; 10-13-2021 at 08:13 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to start unprivileged Lxc container on Debian Sid hurd Debian 0 02-02-2015 10:45 PM
LXC unprivileged container - operation no permitted gauthig Linux - Virtualization and Cloud 2 07-15-2014 03:34 PM
[ANN] mk-slack64-multilib : A tool to create slackware64+multilib tree/iso phenixia2003 Slackware 5 12-28-2012 05:42 AM
upgrading slackware64 13.1 multilib to slackware64 -current multilib Cultist Slackware 4 03-12-2011 09:04 AM
Steam on Wine, cannot login,"Steam is having trouble connecting to the Steam servers" cantab Linux - Games 1 06-19-2010 06:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration