Using Palera1n on porteus

Post here if you are a new Porteus member and you're looking for some help.
User avatar
Rava
Contributor
Contributor
Posts: 4606
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.0 x86_64 + 4.0 i586
Location: Forests of Germany

Using Palera1n on porteus

Post#16 by Rava » 25 Jan 2023, 02:43

Ed_P wrote:
24 Jan 2023, 22:22
Where does one customize one's LS_OPTIONS? I'm not a fan of the --color=auto option and I don't see it in Nemo's Edit>Preferences window.
I think you confuse some stuff here.
The LS_OPTIONS are for ls, as in: for the terminal, and usually that is a bash for you. (Could also be something else, like the c-shell or whatnot)

The GUI's file browser is a different think, that one not uses ls to display files, that one has its own rendering system. And it's not terminal based (though it can also have an option for opening a terminal, but many like XFCE's thunar do not have such option)
Cheers!
Yours Rava

User avatar
Ed_P
Contributor
Contributor
Posts: 7435
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.0 ISO
Location: Western NY, USA

Using Palera1n on porteus

Post#17 by Ed_P » 25 Jan 2023, 03:03

:wall: Yes, ~/.bashrc is what and where to change the ls color option.

Thank you :worthy: Rava.
Ed

alharthi6
White ninja
White ninja
Posts: 11
Joined: 23 Jan 2023, 11:48
Distribution: Porteus5.0 xfce4.16

Using Palera1n on porteus

Post#18 by alharthi6 » 25 Jan 2023, 14:12

Ed_P wrote:
23 Jan 2023, 23:52
alharthi6 wrote:
23 Jan 2023, 23:35
Ive installed a lot of modules..
Please post the output of these commands:

Code: Select all

uname -a
cat /etc/porteus/*
ls -l /mnt/live/memory/images
cat /proc/cmdline
so we can help you better. :)

Code: Select all

root@porteus:~# uname -a
Linux porteus.example.net 5.18.8-porteus #1 SMP PREEMPT_DYNAMIC Sat Jul 2 10:05:31 MSK 2022 x86_64 Intel(R) Core(TM) i5-2450M CPU @ 2.50GHz GenuineIntel GNU/Linux
root@porteus:~# cat /etc/porteus/*
001-core.xzm:20221211
002-xorg.xzm:20221211
002-xtra.xzm:20221211
003-xfce4.xzm:20220505
initrd.xz:20220509
root@porteus:~# ls -l /mnt/live/memory/images
total 0
drwxr-xr-x  5 root root  61 Jul  2  2022 000-kernel.xzm/
drwxr-xr-x 20 root root 305 Dec 11 08:47 001-core.xzm/
drwxr-xr-x 10 root root 154 Dec 11 08:50 002-xorg.xzm/
drwxr-xr-x  6 root root  72 Dec 11 06:13 002-xtra.xzm/
drwxr-xr-x  8 root root  95 Apr 11  2022 003-xfce.xzm/
drwxr-xr-x  6 root root  60 Oct 29 17:51 011-slapt-get-0.11.6-x86_64-2gv.xzm/
drwxr-xr-x  7 root root  84 Jun 30  2022 05-devel.xzm/
drwxr-xr-x  4 root root  49 Jan 12 12:36 curl-7.49.1-x86_64-1.xzm/
drwxr-xr-x  4 root root  37 Jan  5 04:09 firefox-108.0.2-x86_64-en-US.xzm/
drwxr-xr-x  5 root root  60 Jan 23 15:12 gcc-5.3.0-x86_64-3.xzm/
drwxr-xr-x  4 root root  37 Jan 12 07:08 git-2.9.0-x86_64-1.xzm/
drwxr-xr-x  9 root root 107 Jan 23 18:07 glibc-2.33-x86_64-5.xzm/
drwxr-xr-x  5 root root  60 Jul 11  2021 gtk2-2.24.33-x86_64-2-alldesktops.xzm/
drwxr-xr-x  4 root root  37 Jan 12 06:58 libimobiledevice-1.2.0-x86_64-1.xzm/
drwxr-xr-x  4 root root  37 Jan 23 15:47 libmpc-1.0.3-x86_64-1.xzm/
drwxr-xr-x  4 root root  37 Jan 23 23:25 libusbmuxd-20200615_c7d7d1a-x86_64-3.xzm/
drwxr-xr-x  4 root root  37 Jan 23 15:47 mpfr-3.1.4-x86_64-1.xzm/
drwxr-xr-x  4 root root  37 Jan 15 05:56 python-pip-22.2.2-x86_64-1.xzm/
drwxr-xr-x  4 root root  37 Jan 14 20:11 python3-3.9.5-x86_64-1alien.xzm/
drwxr-xr-x  5 root root  48 Jan 23 23:26 usbmuxd-20210925_e3a3180-x86_64-1.xzm/
root@porteus:~# cat /proc/cmdline
quiet BOOT_IMAGE=/boot/syslinux/vmlinuz changes=/mnt/sda1/porteus/m.dat initrd=/boot/syslinux/initrd.xz
root@porteus:~#

User avatar
Rava
Contributor
Contributor
Posts: 4606
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.0 x86_64 + 4.0 i586
Location: Forests of Germany

Using Palera1n on porteus

Post#19 by Rava » 25 Jan 2023, 16:53

Thanks alharthi6 for the info, about the output of

Code: Select all

ls /mnt/live/memory/images
can you tell me what extra programs you try to run with these, and what is a dependency module for which program, please?
(aside from what 00* 011-slapt-get* and 05-devel.xzm, these are self-explanatory.)


You have 05-devel.xzm which includes gcc, but also an extra gcc-module. Why is that?
Cheers!
Yours Rava

alharthi6
White ninja
White ninja
Posts: 11
Joined: 23 Jan 2023, 11:48
Distribution: Porteus5.0 xfce4.16

Using Palera1n on porteus

Post#20 by alharthi6 » 25 Jan 2023, 18:19

Mmm, I really don’t understand a lot on Linux.
But I kept try for a week so I installed all those modules.
I got errors then search and install whatever error is, that’s it😅
I don’t know which one is recommended or no.

I’ve another question, how to make root login default instead of quest, so I just type password and that’s it?

beny
Full of knowledge
Full of knowledge
Posts: 1664
Joined: 02 Jan 2011, 11:33
Location: italy

Using Palera1n on porteus

Post#21 by beny » 25 Jan 2023, 20:11

hi you have this on porteus boot prompt:

LABEL text
MENU LABEL Text mode
KERNEL /boot/syslinux/vmlinuz
INITRD /boot/syslinux/initrd.xz
APPEND 3
TEXT HELP
Run Porteus in text mode and
start the command prompt only
ENDTEXT
you start the system in txt mode and you can login with root toor startx
porteus devel package have all you need to work, remove the gcc5.5 that you have, porteus version is gcc 11

alharthi6
White ninja
White ninja
Posts: 11
Joined: 23 Jan 2023, 11:48
Distribution: Porteus5.0 xfce4.16

Using Palera1n on porteus

Post#22 by alharthi6 » 25 Jan 2023, 20:31

Ok, so I need to remove gcc only?
And for login I mean when it starts up it goes to guest directly, I want root only

User avatar
Ed_P
Contributor
Contributor
Posts: 7435
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.0 ISO
Location: Western NY, USA

Using Palera1n on porteus

Post#23 by Ed_P » 25 Jan 2023, 23:45

alharthi6 wrote:
25 Jan 2023, 20:31
I want root only
beny wrote:
25 Jan 2023, 20:11
start the system in txt mode and you can login with root toor startx
When the boot menu appears choose the Text Mode boot option.
When the text mode screen appears login as root with the password toor
Once logined in enter: startx and press Enter.
You are now logged into the gui DE as root.
Ed

alharthi6
White ninja
White ninja
Posts: 11
Joined: 23 Jan 2023, 11:48
Distribution: Porteus5.0 xfce4.16

Using Palera1n on porteus

Post#24 by alharthi6 » 26 Jan 2023, 00:23

Ok, and this will make it default?
Because I’ve save data file so I want it at all.
Edit: it just through some texts and stays in text mode nothing else.

User avatar
Rava
Contributor
Contributor
Posts: 4606
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.0 x86_64 + 4.0 i586
Location: Forests of Germany

Using Palera1n on porteus

Post#25 by Rava » 26 Jan 2023, 01:50

alharthi6 wrote:
26 Jan 2023, 00:23
Edit: it just through some texts and stays in text mode nothing else.
Only after you typed

Code: Select all

startx
and entered [Enter] or [Return] only then X Window is started.
When that is not working can you please save the Virtual terminal output of what is displayed after you did

Code: Select all

startx
and entered [Enter] or [Return] as root.

Warning to all:
When you have a harddisk in your PC and any partition is mounted in your system (or can manually mounted later), a regular hacker/cracker can do all he wants to your harddrive since all programs you start in your DE (e.g. your standard browser, e.g. firefox, chrome, palemoon) are owned by root and not by a normal user and thus access to the root account is already available, so that cracker can add all kinds of nasty stuff to your drive as he wants. Therefore the default of having guest user group users is the preferred and much more secure way.
Cheers!
Yours Rava

alharthi6
White ninja
White ninja
Posts: 11
Joined: 23 Jan 2023, 11:48
Distribution: Porteus5.0 xfce4.16

Using Palera1n on porteus

Post#26 by alharthi6 » 26 Jan 2023, 02:06

Yes I did and nothing, but while I’m logged on as root it worked! But it does not make a since while I’m already is root user!
I want it to be my default login, so I don’t want to be in guest then logout then switch user then typing root and toor…

User avatar
Rava
Contributor
Contributor
Posts: 4606
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.0 x86_64 + 4.0 i586
Location: Forests of Germany

Using Palera1n on porteus

Post#27 by Rava » 26 Jan 2023, 02:13

alharthi6 wrote:
26 Jan 2023, 02:06
But it does not make a since while I’m already is root user!
What do you mean by "does not make a"?
Cheers!
Yours Rava

alharthi6
White ninja
White ninja
Posts: 11
Joined: 23 Jan 2023, 11:48
Distribution: Porteus5.0 xfce4.16

Using Palera1n on porteus

Post#28 by alharthi6 » 26 Jan 2023, 02:21

I mean I’m already a root user then why do I need to use startx?
I wanted to be always root user no guest at all.

User avatar
Rava
Contributor
Contributor
Posts: 4606
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.0 x86_64 + 4.0 i586
Location: Forests of Germany

Using Palera1n on porteus

Post#29 by Rava » 26 Jan 2023, 03:20

alharthi6 wrote:
26 Jan 2023, 02:21
I mean I’m already a root user then why do I need to use startx?
You do not execute startx when it's okay with you not having any DE (Desktop Environment) , as in: not started X Windows and therefore: no CINNAMON nor GNOME nor KDE nor LXDE nor LXQT nor MATE nor OPENBOX nor XFCE nor any other possible non-standard DE.

You then only work in and use the text Virtual Terminal e.g. using mc as only semi-graphical file manager. Any only lynx or links as text-based browser etcetera pp.

When that's sits well with you, you can sure obtain from executing "startx" :)
Cheers!
Yours Rava

alharthi6
White ninja
White ninja
Posts: 11
Joined: 23 Jan 2023, 11:48
Distribution: Porteus5.0 xfce4.16

Using Palera1n on porteus

Post#30 by alharthi6 » 26 Jan 2023, 03:41

Rava wrote:
26 Jan 2023, 03:20
alharthi6 wrote:
26 Jan 2023, 02:21
I mean I’m already a root user then why do I need to use startx?
You do not execute startx when it's okay with you not having any DE (Desktop Environment) , as in: not started X Windows and therefore: no CINNAMON nor GNOME nor KDE nor LXDE nor LXQT nor MATE nor OPENBOX nor XFCE nor any other possible non-standard DE.

You then only work in and use the text Virtual Terminal e.g. using mc as only semi-graphical file manager. Any only lynx or links as text-based browser etcetera pp.

When that's sits well with you, you can sure obtain from executing "startx" :)
so now, can I make the root user my default login (without changing every time to guest and entering login info again and again)?

Post Reply