messed up x again-(solved)-tks ya'll

Moderators: 666philb, Forum moderators

Post Reply
rburkartjo
Posts: 237
Joined: Thu Feb 25, 2021 12:29 am
Been thanked: 4 times

messed up x again-(solved)-tks ya'll

Post by rburkartjo »

first tks everyone an especially thru for all your help. i am doing things in puppy that i have done in other linux distros and they arent working here. fine just need to learn how to fix things in puppy. that said i again tried to install an old xfce4 pet file. my system froze up so did a forced reboot. then couldnt get x started. now running in ram mode. tried restarting and running echo "jwm" > /etc/windowmanager then xwin while in the virtual terminal but didnt work. note third over 3times.

Last edited by rburkartjo on Sun Mar 28, 2021 4:02 pm, edited 1 time in total.
rburkartjo
Posts: 237
Joined: Thu Feb 25, 2021 12:29 am
Been thanked: 4 times

Re: messed up x again

Post by rburkartjo »

sometimes i feel like the sorcerous apprentice in the disney movie fantasia/ :idea:

https://video.disney.com/watch/sorcerer ... 59a5867853

User avatar
foxpup
Posts: 186
Joined: Fri Jul 24, 2020 1:23 pm
Location: Europe near the Northsea
Has thanked: 75 times
Been thanked: 32 times

Re: messed up x again

Post by foxpup »

Try

Code: Select all

xwin jwm

or even

Code: Select all

xwin /usr/bin/jwm

when you are at the prompt (no X).

Doesn't echo add a line to a file, not overwriting?
Yo know you have a text editor, Minimum Profit, on the prompt in Fossapup?

Code: Select all

mp -txt /etc/windowmanager

Have you tried installing xfce through the PPM?

Also, there is at the moment a topic about alternative managers on the forum.
XFCE, Lxde & Other, alternate, Window Managers
There are packages on offer there, maybe some good advice as well.

I very much enjoyed your film suggestion. ;-)

User avatar
bigpup
Moderator
Posts: 6403
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 757 times
Been thanked: 1325 times

Re: messed up x again

Post by bigpup »

i am doing things in puppy that i have done in other linux distros and they arent working here

That is because Puppy does some things the Puppy way.

This is the same for any operating system.
Software has to be compiled to work in a specific version of an operating system.
this applies to Puppy pet packages.

tried to install an old xfce4 pet file

This is probably just not compiled to work in Fossapup64 9.5
Some pet packages work in a lot of different Puppy versions, some do not.
Most likely this xfce4 pet does not have everything needed.
Wants support files/programs, that are not in Fossapup or not the same versions, as what is in Fossapup.

The easy answer, replace the old save file/folder, with the backup copy you made of the save file/folder, when everything was working.

If you have a boot menu that offers booting to a prompt.
The entry may be titled this:
"fossapup64 9.5 - No X"

Do that boot.
At the prompt enter:
xwin jwm

to make a boot menu entry do a boot to the prompt.
Before it activates press E key to edit.
Find the pfix= entry and change it to pfix=nox
Press enter key to make change active.
Press B key to boot.
Note:
This change is only for this one time booting, using that boot menu entry. It is only a temp. change to how it boots.

Forum Global Moderator
The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
Grey
Posts: 2003
Joined: Wed Jul 22, 2020 12:33 am
Location: Russia
Has thanked: 75 times
Been thanked: 365 times

Re: messed up x again

Post by Grey »

If you install xfce from PPM, then there are two options. 'xfce4_4.14' - actually only xfce. But there is also 'xubuntu-desktop_2.233' - complete xubuntu(xfce with additions). But if I remember correctly, there are some nuances. I even installed KDE once for a test.

Fossapup OS, Ryzen 5 3600 CPU, 64 GB RAM, GeForce GTX 1050 Ti 4 GB, Sound Blaster Audigy Rx with amplifier + Yamaha speakers for loud sound, USB Sound Blaster X-Fi Surround 5.1 Pro V3 + headphones for quiet sound.

rburkartjo
Posts: 237
Joined: Thu Feb 25, 2021 12:29 am
Been thanked: 4 times

Re: messed up x again

Post by rburkartjo »

big problem i have a continuous save file and that is whats messed up

User avatar
ThruHammer
Posts: 257
Joined: Sun Jul 12, 2020 1:08 am
Location: Ray Brook, NY
Been thanked: 14 times

Re: messed up x again

Post by ThruHammer »

What do you mean when you say you have a "continuous save file?"

That there's no other choice to boot into?

rburkartjo
Posts: 237
Joined: Thu Feb 25, 2021 12:29 am
Been thanked: 4 times

Re: messed up x again

Post by rburkartjo »

no just the ram only which is the standard puppy linux you get when first booting puppy. i still have access to the virtual terminal to run any command so i know it is fixable. son it has to be a terminal command or maybe a file i could copy into my save file.

User avatar
ThruHammer
Posts: 257
Joined: Sun Jul 12, 2020 1:08 am
Location: Ray Brook, NY
Been thanked: 14 times

Re: messed up x again

Post by ThruHammer »

Is this a stick with ONE savefile?

And which btldr (bootloader) have you got there? Is there a "menu.lst" file?

Yes? Copy and paste its contents here.

User avatar
666philb
Posts: 429
Joined: Thu Jul 09, 2020 3:18 pm
Location: wales uk
Has thanked: 111 times
Been thanked: 146 times

Re: messed up x again

Post by 666philb »

@rburkartjo which .pet did you install exactly?

from the prompt you could run

Code: Select all

cat /var/packages/user-installed-packages

then

Code: Select all

pkg rm nameofdodgypackage
User avatar
bigpup
Moderator
Posts: 6403
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 757 times
Been thanked: 1325 times

Re: messed up x again

Post by bigpup »

Did you try what I posted earlier????????????

Running commands in a terminal, when booting not using the save, is not going to do anything to what is in the save.

You have to boot using the save, but only boot to the prompt.
There you can use commands, that will affect the rest of the boot to desktop, and over ride what is in the save.
You have to run the commands, before the window manager is used.
That is booting to only the prompt.

If you boot using the save ,but only boot to the prompt.
That is before the window manager gets loaded and used.
By typing xwin jwm
This should over ride, what is set in the save, as window manager to use, and use JWM.

You trying what we post and it not working, is a clue to us, as to what next to try.

Last edited by bigpup on Sat Mar 27, 2021 10:18 pm, edited 1 time in total.

Forum Global Moderator
The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
foxpup
Posts: 186
Joined: Fri Jul 24, 2020 1:23 pm
Location: Europe near the Northsea
Has thanked: 75 times
Been thanked: 32 times

Re: messed up x again

Post by foxpup »

rburkartjo wrote: Sat Mar 27, 2021 8:51 pm

no just the ram only which is the standard puppy linux you get when first booting puppy. i still have access to the virtual terminal to run any command so i know it is fixable. son it has to be a terminal command or maybe a file i could copy into my save file.

You mean that you can run either without pupsave, just all in RAM
OR with the pupsave, but then you cannot access a desktop (jwm or XFCE) and you stop at the prompt?
Right?

When you boot into ram without pupsave, you look where the pupsave is.
Click the drive icons on your desktop (sda1, sda2, sda3, sdb1, ...) and look there.
When you have found it, go into the pupsave and find /etc/windowmanager.
You can delete the file or open it with a texteditor (geany) and put jwm in it.
Shut down without saving and reboot with the pupsave.

The other possibility:
You boot with the pupsave but you stop at the prompt.
Delete the file /etc/windowmanager (to be sure) and open jwm:

Code: Select all

rm /etc/windowmanager
xwin jwm

(EDIT: This is what bigpup tells you. I was writing while @bigpup answered. :roll: )

.

Just an advice:
If one of those has worked, shut down while saving.
Reboot without pupsave (into RAM only), look up your pupsave through the drive icons on your desktop as explaind above
and copy your pupsave, so you have a good pupsave as fallback when things go wrong.
You have to put the copy somewhere under the desktop drive icons, that means 'ouside' Puppy itself.
Shutdown without saving and reboot with your pupsave to continue your adventures.
Make sure you make a fallback pupsave from time to time as explained here.

Last edited by foxpup on Sat Mar 27, 2021 10:43 pm, edited 1 time in total.
User avatar
ThruHammer
Posts: 257
Joined: Sun Jul 12, 2020 1:08 am
Location: Ray Brook, NY
Been thanked: 14 times

Re: messed up x again

Post by ThruHammer »

philb,

as an example, "dodgy" package would refer to which: "lxterminal" or "lxterminal_0.3.2-1_amd64.deb?"

In other words, the general name or the full package name?

IIRC, the "general" name is enough.

##########

rburkartjo, YES! It's your packages general name you'll use with rm: pkg rm [pkg_name]

In your case you're looking for either "xfce4" or "xubuntu-desktop" when running:

Code: Select all

cat /var/packages/user-installed-packages

Then go ahead and re-kick xwin.

rburkartjo
Posts: 237
Joined: Thu Feb 25, 2021 12:29 am
Been thanked: 4 times

Re: messed up x again

Post by rburkartjo »

thru how do i check for installed files on my save file when i booted into the ram puppy.

User avatar
ThruHammer
Posts: 257
Joined: Sun Jul 12, 2020 1:08 am
Location: Ray Brook, NY
Been thanked: 14 times

Re: messed up x again

Post by ThruHammer »

Mount your save by clicking on it, then go into its /var/packages directory and right-clk "user-installed-packages." NOTE: I'm not sure this is possible.

Go to rename and highlight the entire path / copy / then cancel. Once you have this you'd then run:

Code: Select all

cat /path/to/user-installed-packages

Hopefully you can follow what I've outlined.

If you struggled, I'm sure I'll hear about it. :D

If any of what I've outlined didn't go as expected, I'm pretty sure it's because you'd have to boot to a prompt ON THAT SAVE in order to run the commands philb suggested.

rburkartjo
Posts: 237
Joined: Thu Feb 25, 2021 12:29 am
Been thanked: 4 times

Re: messed up x again

Post by rburkartjo »

tks all will try in morning have to take my service dog out and do her daily training session. :thumbup:

User avatar
666philb
Posts: 429
Joined: Thu Jul 09, 2020 3:18 pm
Location: wales uk
Has thanked: 111 times
Been thanked: 146 times

Re: messed up x again

Post by 666philb »

ThruHammer wrote: Sat Mar 27, 2021 10:31 pm

philb,

as an example, "dodgy" package would refer to which: "lxterminal" or "lxterminal_0.3.2-1_amd64.deb?"

In other words, the general name or the full package name?

IIRC, the "general" name is enough.

##########

rburkartjo, YES! It's your packages general name you'll use with rm: pkg rm [pkg_name]

In your case you're looking for either "xfce4" or "xubuntu-desktop" when running:

Code: Select all

cat /var/packages/user-installed-packages

Then go ahead and re-kick xwin.

if it's a pet you need the whole pet name i think ie pkg rm geany-plugins-1.35-x86_64 for debs it works with just the general name.

BTW xfce installed from the PPM in fossapup works nicely and gets some postinstall fixes for icons, removes thunar root warning, settings manager working and a window manager switcher

User avatar
ThruHammer
Posts: 257
Joined: Sun Jul 12, 2020 1:08 am
Location: Ray Brook, NY
Been thanked: 14 times

Re: messed up x again

Post by ThruHammer »

Thanks Mate. Just ran a quick test and "pkg rm [name-of-pet-alone]" works.

Now we both know. ;) Thanks too for the info and confirmation about Xfce.

I guess our boy here may have tampered about more than was needed?

We'll soon hear how he got along...

User avatar
mikewalsh
Moderator
Posts: 5652
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 597 times
Been thanked: 1734 times

Re: messed up x again

Post by mikewalsh »

ThruHammer wrote: Sun Mar 28, 2021 11:03 am

Thanks Mate. Just ran a quick test and "pkg rm [name-of-pet-alone]" works.

Now we both know. ;) Thanks too for the info and confirmation about Xfce.

I guess our boy here may have tampered about more than was needed?

We'll soon hear how he got along...

I don't know for sure, but I suspect "our boy" may be trying to use Puppy exactly as you would a mainstream distro.....and, as most of us are aware, that's usually a recipe for disaster..!

We'll put him right eventually.....

Mike. ;)

Puppy "stuff" ~ MORE Puppy "stuff" ~ ....and MORE! :D
_______________________________________________________

Image

User avatar
mikeslr
Posts: 2846
Joined: Mon Jul 13, 2020 11:08 pm
Has thanked: 173 times
Been thanked: 859 times

Re: messed up x again

Post by mikeslr »

rburkartjo "messed up x again" Emphasis supplied.

mikewalsh wrote: Sun Mar 28, 2021 1:06 pm

...
I don't know for sure, but I suspect "our boy" may be trying to use Puppy exactly as you would a mainstream distro.....and, as most of us are aware, that's usually a recipe for disaster..! We'll put him right eventually..... Mike. ;)

Puppy is designed for exploring, experimenting, learning. But the first step is to appreciate and make use of that design. Puppy is to be run as a Frugal Install. As such, on boot-up, it merges the source file-systems in RAM and 'Runs-in-RAM'. Unless you allow it to do otherwise, it will only run in RAM, not preserving any mistakes you make. All mistakes only exist in RAM. You can shut-down --if necessary literally 'pull the plug'. Your mistakes won't survive the reboot and on the next boot-up it will be as if they never happened. You 'allow it to do otherwise' by not changing its default settings.

Older Puppies are configured to automatically Save the contents of RAM to Storage every 30 minutes. You can change that to 'Never' by opening Menu>System>Puppy Event Manager, Click the Save Session Tab and both (1) change the Save Interval to Zero/0 AND (2) put a check mark in the "Ask at Shutdown" box. Some newer Puppies already have that configuration. But there remains one more thing you must still do if your Puppy boots from a Hard-drive.
Regardless of what boot-loader you are using, if you boot from a hard-drive, the boot-loader will either include an argument recognizing that (pmedia=atahd) or silently assuming that. You have to 'trick' Puppy into treating your Storage mechanism as a USB-Stick. You do that by opening the menu.lst or grub.cfg in a text editor and changing or adding a pmedia argument to read pmedia=ataflash.
That argument goes on the line beginning with the word kernel or linux, depending on which boot-loader is used.
It takes 2 minutes to make the above changes. Doing that will avoid hours of trying to recover from mistakes.
There is one other technique I recommend while learning to make the most of Puppies: don't use SaveFolders. On first shut-down choose to create a SaveFile. Use a SaveFile even if your goal is to eventually run your Puppy without either a SaveFile or a SaveFolder: as by remastering or using nic07's Save2SFS, converting a SaveFile/Folder to a 'ydrv.sfs'.
Unlike a SaveFolder, a SaveFile is that, just one file. You can duplicate it in a couple of minutes. If you boot pfix=ram, you can duplicate your current SaveFile, copy it into a folder 2 levels from the Top --/Top-Level/Level1/Level2-- and on boot-up Puppy will not offer to use it. So it will remain just as you left it. There are some applications --a few-- you can't try out without Saving and Rebooting 'into them'. Only a Save can be broken. If and when that happens, again boot pfix=ram; delete the broken Save and replace it with your protected one. You're again 'as good as gold'.
'An ounce of prevention is worth a pound of cure.' :)

Last edited by mikeslr on Sun Mar 28, 2021 3:36 pm, edited 1 time in total.
User avatar
666philb
Posts: 429
Joined: Thu Jul 09, 2020 3:18 pm
Location: wales uk
Has thanked: 111 times
Been thanked: 146 times

Re: messed up x again

Post by 666philb »

@rburkartjo

i'm still interested in the name of the exact xfce.pet you installed and where you got it, so that i can take a look

cheers

rburkartjo
Posts: 237
Joined: Thu Feb 25, 2021 12:29 am
Been thanked: 4 times

Re: messed up x again

Post by rburkartjo »

okay thank you all and mike here is the pet file that i believe caused the problem XFCE-4.12r6b.pet
this is how i fixed
my save file is located in my / of my uubuntu partition
i had used timeshift to make a backup last week
booted into my ubuntu partition and installed backup
this restored puupy to last weeks version
just had to refix
the pdf problem which i did
and the vivaldi problem to run as spot so i could upload images to the puppy discussion board
could someone reply that they can see my attachment so i can confirm fix

Screenshot.jpg
Screenshot.jpg (151.12 KiB) Viewed 353 times
User avatar
Grey
Posts: 2003
Joined: Wed Jul 22, 2020 12:33 am
Location: Russia
Has thanked: 75 times
Been thanked: 365 times

Re: messed up x again-(solved)-tks ya'll

Post by Grey »

I told you in some forum thread that Timeshift is a great thing :) Too bad it only works in Ubuntu/Mint but not Fossapup. I see the picture.

Fossapup OS, Ryzen 5 3600 CPU, 64 GB RAM, GeForce GTX 1050 Ti 4 GB, Sound Blaster Audigy Rx with amplifier + Yamaha speakers for loud sound, USB Sound Blaster X-Fi Surround 5.1 Pro V3 + headphones for quiet sound.

User avatar
666philb
Posts: 429
Joined: Thu Jul 09, 2020 3:18 pm
Location: wales uk
Has thanked: 111 times
Been thanked: 146 times

Re: messed up x again

Post by 666philb »

rburkartjo wrote: Sun Mar 28, 2021 4:01 pm

here is the pet file that i believe caused the problem XFCE-4.12r6b.pet

no wonder that broke fossapup. it contains lots of old libs, old /etc/profile & old /root/.xinitrc. if you want xfce install from the PPM.

glad you fixed it

Post Reply

Return to “Fossapup64”