linux live kit not working on ubuntu 20.04 access denied when making new directory - linux

Does anyone know how to get Linux live kit to work on Ubuntu 20.04? I found a website that showed me how, but when I tried to build it, the file would not show up. I tried rebooting but it did nothing. I know that Tmp empties on reboot, but when I try to make a directory like /build it says access denied.
Does anyone know how to get a bootable ISO using Linux live kit on Ubuntu 20.04?
I know how to use systemback and other tools. Also when I asked on askubuntu they did not answer my question. I am trying to make a working linux distro.
I tried to put it in /srv but it did not work. also when i tried to put it in /tmp. It would not show up in /tmp. One issue I had was also making a new directory like /bluespace. Can anyone please help. Maby even go through the steps. Thanks! This distro is for education. It comes with website blocking its own search engine and so much more. P.s I am only in highschool. I am done customizing it but I need the file with linux live kit. I tried every option and it wont work. I tried pinguy, but it only makes a backup. I want linux live kit to work but it wont.

Related

my pyinstaller executable is not opening on other computers besides mine

The last few days, I created a site, using wix, to use as a portfolio. I left all my projects there. My sister, helping me try It, downloaded one of them, but she could not open it
The first problem was solved pretty fast. My computer uses linux, and her's uses Windows, so I just had to use a windows computer to run pyinstaller on my project. It worked
Now, I managed to create the windows executable. I tested on my windows computer, and it worked. However, my computer HAS python, while her's dont. I think the error might be my venv (virtual environment). Maybe the python interpreter she is supposed to use to run the program is in the wrong directory?
Image of what you get, after downloading my project "FastGrid":
https://i.stack.imgur.com/PS77Y.png
(sorry for using external images, It's the only way I can make a good description the situation)
The only difference between her directory and mine is that her python files have a notepad icon. However, the extension is ".py", so I don't see how that is a problem. Unless somehow her pc is opening that with notepad, without using the python interpreter, and not executing the code properly.
Also, when I tried on my computer, my antivirus thought the file was a virus, and said It would take 80 minutos to verify It. I trusted the file and tried to open It, only to get a "You might not have permission to open the file" error. I refreshed the directory and It opened sucessfullt. The same happened to my sister (without the opening part, of course). She had this error, but later, when I tried again, It simply didn't run. No errors.
Again, I think the directory "venv" may be in the wrong spot, and that's why she can't open the executable, since the project may not be able to read the files. But, if that's the case, I don't know how I should modify that.
Also, here is my site, if you think that can be helpful. You can find my projects in the "blog" part
https://lvalencacomputacao.wixsite.com/website
Thanks in advance. If I wasn't clear, please, feel free to ask your doubts on comments. I'll do my best to make the post better
Edit: The image is the project for windows, but opened in ubuntu, that's why there is a ".exe" there.
does all of your computer have python, it could probably beacuse you are using a virtual enviorment, and need to activate it before entering the the exe. the command : .\venv\Scripts\activate to activate te asets in your python project, what was the difrent from your sister computer and all of the computer, i could help you
Everyone, the problem is solved. My sister's pc is probably the one at fault, here, since the program worked in every computer I tried besides her's.
Thanks

Correctly set up Valves Source SDK 2013 on Linux

I just try to set up Valves Source SDK 2013 for Linux but I need to say that I find the wiki + documentation rather confusing and partly heavily outdated (Windows-only instructions, only for GoldSrc / pre-20XX SDk etc.).
I hope that someone who already has gone through the hassle can supply me with some hints on how to correctly set up the system.
I tried to use some Windows-specific instructions to understand the system but some are highly platform-specific.
So here is the current status (I based what I did on this wiki page: Wiki: Source SDK 2013:
The source of the SDK SDK 2013 from GitHub is cloned to
~/Git/source-sdk-2013/
the SDK Base 2013 installed via Steam and the steam-runtime to
~/working/steam-runtime-sdk_2013-09-05/
I was not sure whether there is a specific path I should put the steam runtime into so I just put it into my self-created working dir.
# Create a Multiplayer sample project
export SDKROOT="~/Git/source-sdk-2013"
bash $SDKROOT/mp/src/creategameprojects
bash $SDKROOT/mp/src/createallprojects
# Setup Steam Runtime
export STEAMRT="~/working/steam-runtime-sdk_2013-09-05/"
cd $STEAMRT
# Choose all build targets (i386 + amd64) and download these
./setup.sh
# Set current to target to the same as host machine (ie. amd64)
./shell.sh
# Compile the actual game
make -f $SDKROOT/mp/src/games.mak
I have not yet touched any source files as there's plenty of sources already supplied. I just wanted to confirm having a working toolchain set up
This all compiles fine but in the end the script wants to chmod the client.so and server.so but claims "not found" – but it sadly does not provide any information where it searched for them. Actually these are existant in
$SDKROOT/mp/game/mod_hl2mp/bin
and even marked as executable (-rwxr-xr-x).
So I just ignored this and hoped for the best. The next line to me sounds a bit strange:
At this point you should have client.so and server.so files to load with the Source SDK Base 2013 of your choice.
So I should be able so load the files with "the Source SDK Base 2013" (of your choice?!? Valve is the only one providing it O.o). How am I supposed to do that? I have not found any hint whatsoever for that, sadly.
But they hint me to the README.txt of the steam-runtime which tells me to do this:
run.sh ./MyGame
But where's the executable? I only have .so's
And this is the point where I currently am. I'm quite confused as I have many questions now:
Why do only the Linux users need to download the steam runtime? What if I want to not ship via Steam?
Is that chmod failure a script failure or a mistake in my directory setup?
How do I load these libraries via the SDK Base
Where is the binary? I'm quite confused here...
Have I overlooked something?
I appreciate any hints or links to resources, maybe explanations when I just were to dumb to understand what they mean :P
EDIT: Actually there is a GitHub repo for the steam-runtime too (GitHub/steam-runtime) – why is the download so outdated, the git repo has some updated stuff going on. Which should one choose?
With the help of a friend I didn't expect to be able to answer this (he didn't know about Linux but we could figure it out) I could solve it faster than expected.
To "load" the game via the Steam SDK Base just append the -game parameter and point it to the directory with the gameinfo.txt (ie. $SDKROOT/mp/game/mod_hl2mp/) in it.
Alternatively just copy the contents of this directory to
~/.local/share/Steam/steamapps/sourcemods/$MYSOURCEMOD
where $MYSOURCEMOD is how you want to call it (do not use spaces). Then add a steam.inf file in that dir with following content:
appID=243750
ProductName=$MYSOURCEMOD
PatchVersion=1.0.0.0
After a restart Steam will be able to find the sourcemod.
I'm not quite sure what the "steam-runtime" thingy is but I suppose it is to set up the build environment (to use a custom gcc etc.) as this is how the scripts look like. I'm not sure why you should run the game via the run.sh in the bin/ subfolder of the runtime instead of via Steam or via the parameter one the Source SDK Base but maybe someone can enlighten me here.
The archive one shall download is only a downloader/configurator for the steam-runtime hosted on GitHub.

Live development environment in windows when project is on Linux server

Maybe this question is not so proffesional, but still, maybe someone has got into this issue as well. I am using windows os. And the project i am working on is on Linux servers. I am using Netbeans IDE and WAMP. The problem i ran into is that i cannot make the development environment configured via ALIAS or something similar. I want to DEBUG and run tests but the folder structure is different and it gives me errors, like in windows it is C:/wamp and on the Linux server it is /var/www . How can i make windows machine to get to understand the different file structure ? Maybe there are some guides ? I do not want to switch to Linux. I have everything configured and the only thing i need is like redirect from c:/wamp/myProject to /var/www/myProject
I'm afraid that might not be possible.
You are trying to get one OS to read data from another OS
This is not a problem. However, your issue is that your files are located in directories of different structures, and you are trying to get Windows to read from /var/www directly.
Am I right?

How do I install wkhtml2pdf?

I've been looking for a solution to this for about a year, still haven't found one.
I'm trying to get a website snapshot script that I can host on my server and use freely that works well on 99% of webpages.
So far I've been using html2canvas but it doesn't really display images.
I looked into wkhtml2pdf before but I tried installing every single binary and executing from PHP. None of them worked!
All I know about my server is that it is Linux (so I only tested Linux static binaries). Even the basic --help command didn't work.
Please help me out. Thanks!
If you are using a hosting service, it is possible that it is impossible to execute binary programs stored in users' directories. (noexec flag on specific partition). You should first contact system administrator and ask if it is possible to put your own binary executables there. Perhaps, you can ask system administrator to install wkhtmltopdf for you in a global directory /usr/local/bin.
You'll need more then a simple shared hosting, and more then "it is Linux". PHP could be in safemod and lots and lots of other limitations. I would choose a minimal VPS (like digitalocean or similar), root access, install wkhtml2pdf with dnf, yum or what's on you Linux distro, because it brings lots of dependencies to your machine. A minimal LAMP server should not have what's needed on it. You need to be able to allow Apache (or other user) to exec the binary.

Any workarounds for getting swfupload.js working in Linux?

SWFUpload doesn't work on ubuntu, I can see various mentions of it throughout the internets but I'm wondering if anyone here as found any work arounds?
I'm developing on Windows, so the code executes fine. But my colleague is running ubuntu, and SWFUpload crashes instantly. Has anyone encountered that and found a work around? I've tried a couple of things like commenting out things that cause known-issues like progress but to no effect.
Any help appreciated.
Dave.
be sure you are not under proxy that does not support http1.1 as you will receive an error
make sure the folder that will handle the contents will have a chmod 777(read/write/execute) permissions.
if you type: ls -lsa
you can view all your files and folders. you will see the permissions, name, owners and etc.
in my example contents is a folder in which i will upload the files.
4 drwxrwxrwx 2 maryon maryon 4096 2010-10-26 11:21 contents
as you can see the contents folder which i have has rwx(read write execute) for all users. this will allow users to upload files thru SWFUPLOAD.
if you dont have this permission you can try running this:
sudo chmod a=rwx contents
it means the 'a' stands for all users, will have 'rwx'(read/write/execute).
note:
Contents folder where you are saving
your files.
777 is not so secure,
you can change it later and restrict
other users(which you dont want to
give permission to upload) on
uploading files.
I have problems just with large files. With bigger files flash movie freeze after some time and i need to reload page and nothing is uploaded. It is same in firefox and also google chrome. I use kubuntu 9.10. On windows there is no issue at all...
So i think that it is flash problem, because on linux uploadStart and uploadProgress events are not fired...
DO you have any workaround for this ? Flash version is 10.0 r45 (32bit on 64bit system).
I am using Ubuntu 9.04 with swfupload and everything works just fine. Might be an old flash player.

Resources