Closed plyoung closed 4 months ago
Are you running freerdp version 3? Also, we do not officially support virt-manager anymore, please use docker
ah I see. I'll try figure out how to do the docker thing.
FreeRDP reports this when I query version This is FreeRDP version 3.5.1 (n/a)
3.5.1 should work perfectly
I got the docker installed and see Windows 11 in the browser but when I run bin/winapps check
I just get a black fullscreen window now. Added, I removed name: "winapps"
from the compose.yalm since docker-compose threw errors. (rest I kept as is).
Maybe it is just cause of my docker version and I need to switch to a distro that allows me to install the latest version. docker compose
command does not work for example so I had to revert to docker-compose
and have no idea how to update to "latest".
Sorry, very little experience with Linux and Docker so not sure what might I might be doing wrong.
Also, still getting the reported errors lines with installer.sh. Like the lines on 297 & 298 saying "command not found" and line 50 with no directory error. In this case I also get the fullscreen black window now. But again.. maybe just my distro. I'm gonna try install something else tomorrow and try all this again.
Btw, how does one access the shared "volume"? The one defined as data:/storage
in the compose file? I can access it on Windows but no idea where it is on Linux side.
@plyoung you could try podman instead. It normally just works and the cli usage is the same as docker. You just need the enable the podman socket.
Why cant you just update docker using dnf?
For folder sharing just mount a folder to /shared int the docker container.
@plyoung You should install Docker from the official engine installation guide linked in the docker setup docs They have their own RPM repository you need to add
(You can do this without having to recreate the VM, just make sure to run docker-compose down before reinstalling docker)
For folder sharing just mount a folder to /shared int the docker container.
If they mount the folder now they will have to reinstall the VM, which is why I said we should opt for bind mounts by default @LDprg
I am on Bazzite, it is a Fedora atomic desktop using an ostree. The first step in Docker guide for example did not even work. I could not add the dnf-plugins-core to add their repo. I can not even do dnf search
on this distro and I am too new to Linux to figure out how to deal with all this. So I'll rather try a distro that is bit more "normal" than wasting your time further with questions here.
I am having the same issues on Fedora Silverblue, using podman. Using the same freerdp version as @plyoung and setup with podman.
Please see attached terminal output:
Maybe an issue with immutable systems? I'll attempt to do some more digging see if I can find the issue.
Looking at the installer.sh script the first issue with no such file or directory, it looks like the $DIR and $F are calling the same thing.
In regards to the installer.sh not working, I'm thinking it's definitely an issue with immutable OS's, like Fedora Silverblue and others as /usr are read only filesystems etc.
I could see putting winapps in an e.g. distrobox but I'm not sure how well that would work in regards to the rdp connection port and graphics. Might look into it.
@plyoung In the meantime calling the application manually with ./bin/winapps manual "C:\my\directory\executableNotInPath.exe"
works. from which I should be able to make a .desktop file to start these apps.
More manual than installer.sh but it works.
Did you try running the installer with --user
?
Did you try running the installer with
--user
?
Yep, just did it now with a fresh git clone:
The output is:
Removing any old configurations... ./installer.sh: line 297: : command not found
Looking at the installer.sh line 297 there's no missing commands on my distro. I'm thinking something is silently failing and bash is calling a function as a regular command?
@Firelfy Can you try removing the double quotes around $SUDO
on that line?
NOTICE: I AM USING DOCKER
I am having the same problems. Here is the check results:
Here is the installer results:
Reg is working and I can rdp fine with remmina and novnc. Check is also working as you can see. I will be happy to try anything you tell me to make it work. office 365 is already activated and installed and I have a full win11 install from your yaml
running the "C:\Program Files\Microsoft Office\root\Office16\WINWORD.EXE" manually works but I have the top bar cut(minimize close etc)
Edit: Another bug I have is the window is freaking out when maximized or I try to resize it but I count that as an nvidia wayland weirdness with KDE
EDIT2: Removing the quotes on sudo and forcing the user flag returns this error for line 50:
@oskardotglobal
@Firelfy Can you try removing the double quotes around
$SUDO
on that line?
I get the following in response:
Checking for installed apps in RDP machine (this may take a while)..../installer.sh: line 50: /var/home/cameron/winapps/apps//var/home/cameronvuleta/winapps/apps/info: No such file or directory
Looks like $DIR is being called twice in the for loop, I tried changing the code to:
for F in $DIR/apps/*/ ; do [[ -e "$F" ]] || break # shellcheck disable=SC1090 . "$F/info" printf "IF EXIST \"%s\" ECHO %s >> \\\\tsclient\\home\\.local\\share\\winapps\\installed.tmp" "$WIN_EXECUTABLE" "$F" >>"$HOME/.local/share/winapps/> done
Which gets me through, but I seem to fail elsewhere, a terminal window flashes at:
Checking for installed apps in RDP machine (this may take a while)...
At which point I get the RDP connection failed to connect or run error message.
@Xarishark @Firelfy there were some errors in installer.sh, this will be fixed with #107
System: Fedora Linux 40 (Kinoite) x86_64 (Bazzite)
installer.sh does not seem to work right. I do see some flashes which I assume is from the VM since I saw the Windows lock screen background for a moment.
I've set up and started the VM via virt-manager. bin/winapps check did run and Explorer came up.
installer output
winapps check output