Error recovery
-
- Shogun
- Posts: 282
- Joined: 10 Jan 2016, 17:26
- Distribution: Porteus 5.0 rc3 xfce
- Location: Denver, Colorado
Error recovery
Is there now a way to remove /tmp/.X0-lock without having to enter text mode and do it manually? This seems to come up often enough that having a cheatcode to do it would be helpful. It is one of the common ways in which Porteus doesn't boot -- and would leave most end-users boggled. I just encountered this error again and rebooting didn't help -- I left it at "x1 respawning too fast ...", and five minutes later, xorg started up and took me to the desktop -- why? Is there any way to automate recovery from this error (faster, if it is finally removing /tmp/.X0-lock on its own after five minutes)?
Re: Error recovery
U have to be novice in porteus as i see.
Few words regarding right philosophy of usage porteus and slax(1-st came from 2-nd).
And there is some slax philosophy - and some kind advice - which are simple, but it different from other distros except porteus.
This solve most your problem.
Few words regarding right philosophy of usage porteus and slax(1-st came from 2-nd).
And there is some slax philosophy - and some kind advice - which are simple, but it different from other distros except porteus.
Code: Select all
Use always Always fresh mode. This avide you of such error like this topic.
For saving your data use Magic Folders(check doc on site for details). Or user rootcopy directory. Or just link needed directory and files during boot.
Do not use other save modes. You may - but again it lead to such problem like this.
guest user for kiosk or masochists. Use root user only. This is right for slax and porteus distros.
- Ed_P
- Contributor
- Posts: 8368
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Re: Error recovery
An interesting problem. I use a save.dat file and Porteus doesn't save the /tmp folder to it so I have never seen the file you reference. Are you sure "x1 respawning too fast ..." error is writing it?
Ed
-
- Shogun
- Posts: 282
- Joined: 10 Jan 2016, 17:26
- Distribution: Porteus 5.0 rc3 xfce
- Location: Denver, Colorado
Re: Error recovery
This is an extremely common error I have seen on several installations over a period of years -- a message about removing /tmp/X0.lock accompanies that about x1 respawning. The forums suggest booting to text mode and removing it, but it somehow (sometimes) gets removed just by rebooting.Ed_P wrote:An interesting problem. I use a save.dat file and Porteus doesn't save the /tmp folder to it so I have never seen the file you reference. Are you sure "x1 respawning too fast ..." error is writing it?
-
- Shogun
- Posts: 282
- Joined: 10 Jan 2016, 17:26
- Distribution: Porteus 5.0 rc3 xfce
- Location: Denver, Colorado
Re: Error recovery
I'll take that as a "no". What appears a common enough problem will continue to stymie end-users trying to boot Porteus. I suggest that an OS for mass-use should not require diagnosis and fixing from the terminal -- I do not think of Porteus as a school of philosophy, nor do I want daily use interrupted by an endless series of research projects into its bugs and quirks. By the way, you are advising me not to use the default booting mode for Porteus -- if "Always fresh" mode is the most common or appropriate way to boot Porteus, then "DEFAULT GRAPHICAL" should not be in porteus.cfg.Falcony wrote:U have to be novice in porteus as i see.
Few words regarding right philosophy of usage porteus and slax(1-st came from 2-nd).
And there is some slax philosophy - and some kind advice - which are simple, but it different from other distros except porteus.
This solve most your problem.Code: Select all
Use always Always fresh mode. This avide you of such error like this topic. For saving your data use Magic Folders(check doc on site for details). Or user rootcopy directory. Or just link needed directory and files during boot. Do not use other save modes. You may - but again it lead to such problem like this. guest user for kiosk or masochists. Use root user only. This is right for slax and porteus distros.
- francois
- Contributor
- Posts: 6435
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Re: Error recovery
@rchase:
This is not a no. Falcony provided the solution:
For saving your data use Magic Folders
In some thread I cannot retreive, fanthom stated that using magic folders with porteus never failed on him. He is as you know the developper.
This is not a no. Falcony provided the solution:
For saving your data use Magic Folders
In some thread I cannot retreive, fanthom stated that using magic folders with porteus never failed on him. He is as you know the developper.
Prendre son temps, profiter de celui qui passe.
-
- Full of knowledge
- Posts: 2564
- Joined: 25 Jun 2014, 15:21
- Distribution: 3.2.2 Cinnamon & KDE5
- Location: London
Re: Error recovery
I would say, other way round. Possible scenario running as root, could be pasting an innocuous command into a terminal, and Murphy's Law taking over! For some reason or other the copied 'command/s' did not make it to the clipboard (this experienced not infrequenly by myself), resulting in the 'previous' contents being pasted into terminal. Applying Murphy's Law would be that the previous copy was of a browser page on an article to do with creating and intialising a certain type of partition, in which case Bash will execute all the examples on the page for you, in the twinkling of an eyelid, leaving you with your most important hdd partition intialised. Further application of Murphy's Law would mean that it had been quite a while since that partition was backed up, if at all! And you end up screwed big time!Falcony wrote:Code: Select all
guest user for kiosk or masochists. Use root user only.
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB
-
- Shogun
- Posts: 282
- Joined: 10 Jan 2016, 17:26
- Distribution: Porteus 5.0 rc3 xfce
- Location: Denver, Colorado
Re: Error recovery
I invariably use the root account. We are constantly enjoined to use the guest account in preference, and my goal is a stable installation fully satisfactory to end-users who use the guest account. To that end, I want access both accounts.
Re: Error recovery
Good deal and target. You may join to porteus developers team as you wish.
Currently they are not much.
Default setting as always "defaults" - so it is seems most average for all target usage. And not as good as it suite your target criteria. Anyway selecting best boot option for all is good deal - which split items by several groups and make menu for each.
Using non-CLI tools - anyway it not matter at all.
Currently they are not much.
That is all depends what user want. Some use porteus as kiosk, some for recovery OS - in that case no need saving at all. If you are using porteus as desktop OS - that case these default boot option not come at all.rchase wrote: By the way, you are advising me not to use the default booting mode for Porteus -- if "Always fresh" mode is the most common or appropriate way to boot Porteus, then "DEFAULT GRAPHICAL" should not be in porteus.cfg.
Default setting as always "defaults" - so it is seems most average for all target usage. And not as good as it suite your target criteria. Anyway selecting best boot option for all is good deal - which split items by several groups and make menu for each.
Basically there are not much difference between root or non-root operation due u use some kind of sudo tools - which - ha-ha also could lead to such problem as user's mistyping.Bogomips wrote: Further application of Murphy's Law would mean that it had been quite a while since that partition was backed up, if at all! And you end up screwed big time!
Using non-CLI tools - anyway it not matter at all.
-
- Shogun
- Posts: 282
- Joined: 10 Jan 2016, 17:26
- Distribution: Porteus 5.0 rc3 xfce
- Location: Denver, Colorado
Re: Error recovery
Thanks for the invitation, but I'd need to learn Linux first before being able to do much real development.Falcony wrote:Good deal and target. You may join to porteus developers team as you wish.