wahasa / Fedora

Welcome To Fedora Termux For Android
https://youtube.com/@layargeser
11 stars 1 forks source link

Problems with script #4

Open b9Joker108 opened 2 months ago

b9Joker108 commented 2 months ago

Hi

I installed the Fedora40.sh script, and it seemed to go without a hitch, as there was no error output. I then executed the .fedora script:

Fedora 40 - aarch64                                                                                3.9 MB/s |  19 MB     00:04
Fedora 40 openh264 (From Cisco) - aarch64                                                          466  B/s | 1.8 kB     00:03
Fedora 40 - aarch64 - Updates                                                                       81  B/s | 134  B     00:01
Package sudo-1.9.15-2.p5.fc40.aarch64 is already installed.
Dependencies resolved.
===================================================================================================================================
 Package                     Architecture                Version                                  Repository                  Size
===================================================================================================================================
Installing:
 nano                        aarch64                     7.2-6.fc40                               fedora                     748 k
 ncurses                     aarch64                     6.4-12.20240127.fc40                     fedora                     420 k

Transaction Summary
===================================================================================================================================
Install  2 Packages

Total download size: 1.1 M
Installed size: 4.7 M
Downloading Packages:
(1/2): ncurses-6.4-12.20240127.fc40.aarch64.rpm                                                    1.3 MB/s | 420 kB     00:00
(2/2): nano-7.2-6.fc40.aarch64.rpm                                                                 2.1 MB/s | 748 kB     00:00
-----------------------------------------------------------------------------------------------------------------------------------
Total                                                                                              725 kB/s | 1.1 MB     00:01
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                           1/1
  Installing       : ncurses-6.4-12.20240127.fc40.aarch64                                                                      1/2
  Installing       : nano-7.2-6.fc40.aarch64                                                                                   2/2
  Running scriptlet: nano-7.2-6.fc40.aarch64                                                                                   2/2

Installed:
  nano-7.2-6.fc40.aarch64                                   ncurses-6.4-12.20240127.fc40.aarch64

Complete!

Which demonstrates that fedora is installed and working. But, I can't seem to open the chroot. The 'fedora' command doesn't take me to the fedora environment. What is the full command to login to the chroot environment, and I will alias it?

Thanking you in anticipation Beauford

b9Joker108 commented 2 months ago

On executing: bash .fedora a second time, the chroot opens successfully. I have made changes to the .bashrc, but the .fedora script doesn't source the .bashrc upon logging in to the chroot. I tried different ways to make this change by editing .fedora, but I just get errors and the chroot doesn't open.

These are two of the fixes I ventured:

32 #command+=" /bin/bash -c 'source ~/.bashrc; bash --login'"
33 #command+=" /bin/bash -c 'source \/fedora-fs\/root\/.bashrc; bash --login'"

I tried others as well.

b9Joker108 commented 2 months ago

I chose to install KDE Plasma, and followed the instructions for: de-kde.sh. It installed correctly. But the GUI didn't launch successfully. In VNC Viewer, there was only a black window with a moveable cursor, but the screen wasn't clickable, and there was no KDE Plasma desktop. Also, the script isn't appropriate for my screen resolution, as I am running a Samsung Galaxy Tab S9 Ultra: 2,960 by 1,848 pixels. But, am unsure where to make the changes.

I also got this error message:

WARNING: vncserver has been replaced by a systemd unit and is now considered deprecated and removed in upstream. Please read /usr/share/doc/tigervnc/HOWTO.md for more information.

b9Joker108 commented 2 months ago

So, I resolved to use the termux-x11 process:

[root@localhost ~]# termux-x11
/usr/local/bin/termux-x11: line 17: startplasma-x11: command not found

Just to be sure, I killed Termux. Started the process from the beginning, same result.

wahasa commented 2 months ago

yeah somehow fedora has too many problems and also I can't do anything maybe from fedora repository.