Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: grenchyoll on April 06, 2021, 05:48:56 AM

Title: netSurf browser : connection rejected by Tinycorelinux.net
Post by: grenchyoll on April 06, 2021, 05:48:56 AM
Hello team TCL

Ive been using Netsurf from time to time , for browsing tasks like newspapers , etc

just minutes ago , I logged in to this forum using NetSurf  , and since then every time I try to access forumTinycoreLinux.net , the browser is closed unexpectedly , pam !!! every single time again and again

looks like it is automaticaly blacklisted , suspicous activities etc something like that . I tried to clean all cookies from Netsurf because Ive been logged in both Firefox and Netsurf , with no avail , it keeps closing everytime I try to access this forum .

any thoughts whats going wrong with the forum and Netsurf ?

regards

GO
Title: Re: netSurf browser : connection rejected by Tinycorelinux.net
Post by: Juanito on April 06, 2021, 07:23:17 AM
Do you see an error message if you start netsurf from a terminal window?
Title: Re: netSurf browser : connection rejected by Tinycorelinux.net
Post by: jazzbiker on April 06, 2021, 08:17:38 AM
Hi!
Under TC10 x86 netsurf opens forum without problems. I noticed, that netsurf has librsvg among its dependencies, if I am not mistaken, librsvg in TC12 is totally rewritten version, maybe netsurf needs to be recomiled against it?
Edit: now I am writing from netsurf under TC12 x86, forum is ok.
Hi, grenchyoll! What TC version do You mean?
Title: Re: netSurf browser : connection rejected by Tinycorelinux.net
Post by: grenchyoll on April 06, 2021, 12:33:59 PM
Do you see an error message if you start netsurf from a terminal window?

Hello Juanito ! thanks again for your guidance !! cool  ;)

I proceeded as per your instructions  :
    - it opens the browser from terminal command "netsurf"  , no problems
    - after I search the forum in the browser , and click on the link ... PAM !!!!     :'( it closes
    - the error message displayed on terminal is the following :
    -  " tc@box : $ netsurf-gtk : Fatal Error (0) Sucess on X server 0:0 "

GO
Title: Re: netSurf browser : connection rejected by Tinycorelinux.net
Post by: grenchyoll on April 06, 2021, 12:43:48 PM
Hi!
Under TC10 x86 netsurf opens forum without problems. I noticed, that netsurf has librsvg among its dependencies, if I am not mistaken, librsvg in TC12 is totally rewritten version, maybe netsurf needs to be recomiled against it?
Edit: now I am writing from netsurf under TC12 x86, forum is ok.
Hi, grenchyoll! What TC version do You mean?
Hello Jazzbiker !! thanks for your reply ! nice nick btw

im new to TinyCore , just few weeks , hardcore fan already !

Im in the latest release TC12 , on 32bit old-timer Pentium M , 1 gb ram , laptop ( considering that I learned Fortran on IBM mainframe and punch cards , thats an advance man ! ) . Trying to revive this laptop . Everything just fine with internet Firefox 87 . As I said I mostly try Netsurf because its listed , so why not ? and its nice really low footprint .

I review their site and as you indicated , netsurf is 3.10 ( may 2020 ) , and we have 3.9 ( july 2019) on repo , but it works for basic tasks on my machine , only this little cavet now with it .

any thoughts I appreciate it ,
regards

GO


Title: Re: netSurf browser : connection rejected by Tinycorelinux.net
Post by: curaga on April 06, 2021, 12:48:30 PM
Sounds like a bug in netsurf. Websites cannot make your browser close.
Title: Re: netSurf browser : connection rejected by Tinycorelinux.net
Post by: jazzbiker on April 06, 2021, 01:19:03 PM
Hi, grenchyoll!
I took the look at my local TC12 tcz storage. I have two netsurfs, I don't rmemeber exactly why, probably I've built 3.10 version. Current extension version in repo is 3.9 and I had some questions to the way neonix packed the extension. And I see one difference between the .dep files of these two netsurfs - built by myself has libffi6.tcz among its dependencies. How Your netsurf will behave in case You load libffi6.tcz before starting it?
Code: [Select]
tce-load -i libffi6.tcz
Title: Re: netSurf browser : connection rejected by Tinycorelinux.net
Post by: Rich on April 06, 2021, 03:24:02 PM
Hi grenchyoll
Start netsurf from a terminal. After it crashes, run this:
Code: [Select]
dmesg > dmesg.txtAttach the  dmesg.txt  file to your next post so we can see if netsurf logged any other errors.
Title: Re: netSurf browser : connection rejected by Tinycorelinux.net
Post by: jazzbiker on April 06, 2021, 03:38:30 PM
Sorry for mistake in my previous post, it would be better to
Code: [Select]
tce-load -w libffi6.tcz
tce-load -i libffi6.tcz
Title: Re: netSurf browser : connection rejected by Tinycorelinux.net
Post by: grenchyoll on April 06, 2021, 09:24:22 PM
Hi grenchyoll
Start netsurf from a terminal. After it crashes, run this:
Code: [Select]
dmesg > dmesg.txtAttach the  dmesg.txt  file to your next post so we can see if netsurf logged any other errors.
Hello Rich thank you

 see attached as per your instructions ,
- open in terminal , netsurf opens
- search forum.tinycore.net , click on link ... browser unexpectedly closes 
- reply the same error on terminal ,
- dmesg > dmesg.txt  ( attached )

regards

GO
Title: Re: netSurf browser : connection rejected by Tinycorelinux.net
Post by: grenchyoll on April 06, 2021, 09:40:08 PM
Sorry for mistake in my previous post, it would be better to
Code: [Select]
tce-load -w libffi6.tcz
tce-load -i libffi6.tcz
Hello Jazzbiker thanks for you comments , I appreciate it !!

I did as you instructed me , I run these commands on terminal and TC downloaded libffi6.tcz  ,
once netSurf was opened from command line , it was the same behaviour .
I could browse normally  the Wiki tinycore  , but forum.tinycore.Net  closes the browser and replies back to command line  the same error as before  ( Fatal I.O error 0 sucess on X server 0:0 ) 

ohh , now I discover that www.ebay.com , closes netsurf as well

GO



regards

GO
Title: Re: netSurf browser : connection rejected by Tinycorelinux.net
Post by: Rich on April 06, 2021, 11:53:13 PM
Hi grenchyoll
I don't see any  netsurf  errors logged in the attachment.

I did notice this entry for  Kernel command line:
Code: [Select]
loglevel=3 cde showapps lst=xfbase.lst desktop=flwm_topside initrd=/boot/core.gz waitusb=5 tce=sda2 kmaps=qwerty/la-latin1 BOOT_IMAGE=/boot/vmlinuzThe  cde  boot code should only be used when booting from  Read Only  media. You should only be using the  tce  boot code.
By using both I don't know if some extensions are being loaded from the  cde  directory and others from the  tce  directory.
I'm guessing you used some 3rd party installer instead of the  tc-install  extension.

Remove the  cde  boot code.
Then execute the following:
Code: [Select]
sudo mv -n /mnt/sda2/cde/optional/* /mnt/sda2/tce/optional/
That leaves  lst=xfbase.lst  which is a list of extensions to load when you boot.
Is it located in  /mnt/sda2/cde/  or  /mnt/sda2/tce/  or both?

If it's only in  /mnt/sda2/cde/  copy it to  /mnt/sda2/tce/.
If it's only in  /mnt/sda2/tce/  you're good.
If it's in both, you may have to figure out which entries to copy from  /mnt/sda2/cde/xfbase.lst  to  /mnt/sda2/tce/xfbase.lst
so everything you need loads when you boot.

Now reboot.
Title: Re: netSurf browser : connection rejected by Tinycorelinux.net
Post by: jazzbiker on April 07, 2021, 10:47:46 AM
Hi!

I rechecked what was the reason for me to build netsurf - it is segmentation fault caused by any download file attempt. I didn't submitted netsurf updated to 3.10 earlier because I didn't managed to get working netsurf's own icons.
Title: Re: netSurf browser : connection rejected by Tinycorelinux.net
Post by: grenchyoll on April 08, 2021, 12:19:14 AM
The  cde  boot code should only be used when booting from  Read Only  media. You should only be using the  tce  boot code.
Remove the  cde  boot code.
Then execute the following:
hello Rich thanks a lot for this review

everytime I run TCL from my pendrive , I have to choose among the options avaiable , so I choose
"tcl .... with Wire + firmware "    11th option if you will ...
then I press tab , and I see that "cde" boot code is always there , then I insert waitusb , tce=sda2 and kmaps , otherwise sda2 do not mount .

In all my newbiness I couldnt  find a way to get rid of cde code ...I could  see its embbeded inside sislinux.cfg  the  other files you mentioned do not contain cde .... I couldnt save the sislinux file without cde , ask for password , I used mine with no avail . Tried sudo spacefm , no way .

how to I start without cde code  ?  I still didnt follow through the other instructions
Title: Re: netSurf browser : connection rejected by Tinycorelinux.net
Post by: grenchyoll on April 08, 2021, 09:36:38 AM
The  cde  boot code should only be used when booting from  Read Only  media. You should only be using the  tce  boot code.
Remove the  cde  boot code.
Then execute the following:
how to I start without cde code  ?
sorry , today I realized I just had to delete "cde" after  press TAB , can go backwards on command line , and manually delete "cde" code . results :
>>>>>  it didnt startx automatically as before , I was sent to command line . Then I tried to run the code you instructed >>>>  "sudo mv -n /mnt/ .... etc "  , but  tcl replies  "cannot edit " in the command line .

I have xfbase.lst on both tce and cde directories .
-----in tce = reflects few entries  I insert using "on boot" in App (kmaps , alsa , pavucontrol... )
                (it appears ni spaceFm as regular icon of text files )
-----in cde = xvesa , aterm , and all  the firmware list
                (this icon is in blue in spaceFm , like executable stuff  )

your advice is welcome

GO

Title: Re: netSurf browser : connection rejected by Tinycorelinux.net
Post by: Rich on April 08, 2021, 10:07:24 AM
Hi grenchyoll
You need to do a proper installation. Your pendrive is booting the CorePlus ISO file which is a file system used for CDs
and is a read only file system. You can not use some installer you found on the Internet to install Tinycore Linux. You have
to use our installer.

Boot your pendrive, but select the first option. This will load all of the extensions in the  cde  directory.
Click on the mount tool (looks like a disk drive) at the bottom of the screen. Make a note of which devices are listed.
Plug in a new pendrive. After a few seconds, a new device will be listed in the mount tool. That's your pendrive. Remember it.

Now click on the gray circle with the diagonal line through it that looks like a screw head. That's the Tinycore installer.
When it asks you where to install, select the device that matched your pendrive in the mount tool.

Once you have created a bootable pendrive with a proper installation, you will be able to install extensions to your pendrive
and not have to enter commands every time you boot.

Title: Re: netSurf browser : connection rejected by Tinycorelinux.net
Post by: grenchyoll on April 08, 2021, 06:40:27 PM
You need to do a proper installation.
  OK thanks Rich for this review , will do that !  I have been using this other "tool" to burn ISO on usb , so everytime I see an ISO file in front of me  I dont think twice LOL ....

will do like you instructed . Thanks again !! Ive learned something more today .

GO
Title: Re: netSurf browser : connection rejected by Tinycorelinux.net
Post by: neonix on April 09, 2021, 09:42:41 AM
http://forum.tinycorelinux.net/index.php/topic,22451.msg145776.html#msg145776

I noticed this problem few monts ago. Solution: use Xorg or other browser to view forum. Dillo works great with this forum. I don't think this problem will be solved ever because TinyX, Xfbdev and Xvesa are old and won't be developed in the future.
Title: Re: netSurf browser : connection rejected by Tinycorelinux.net
Post by: jazzbiker on April 09, 2021, 01:04:52 PM
Hi, neonix!

Let me debate with You about TinyX deficiencies. Earlier (before Rich wrote his wonderful AutoCursor) I was using exclusively Xfbdev under TC10,11 and 12. And netsurf 3.10 worked without problems. Built with default configuration it was not finding its own icons, that was the reason I didn't submitted the update. I don't know the desktop related machinery. Don't You remember or maybe You've made some records about how to make netsurf recognize its own icons?

So nice, that TinyX won't be developed in the future, it will remain tiny :)
Title: Re: netSurf browser : connection rejected by Tinycorelinux.net
Post by: Rich on April 09, 2021, 04:50:43 PM
Hi jazzbiker
... (before Rich wrote his wonderful AutoCursor) ...
Aw shucks, you're going to make me blush. :-[
Title: Re: netSurf browser : connection rejected by Tinycorelinux.net
Post by: neonix on April 10, 2021, 04:21:07 AM
Hi jazzbiker

I don't understand what is the problem. If you asking about wbar icons just copycat the solution from older verion of netsurf.tcz from the repo. I can't check this problem on my desktop computer because I don't have access to the Internet in my home.
Title: Re: netSurf browser : connection rejected by Tinycorelinux.net
Post by: jazzbiker on April 10, 2021, 05:38:03 AM
Hi, neonix!

Oh, thanks for the reminder, wbar icon is to be checked too. But I was talking about netsurf's buttons icons, such as "reload" "back" and others. I saw the corresponding folder and images in the build directory, but after packing an extension I saw empty rectangles instead of buttons icons. Something must be corrected during build - like path to the desktop stuff. Don't You remember, did You pointed some directories during build?
Title: Re: netSurf browser : connection rejected by Tinycorelinux.net
Post by: Rich on April 10, 2021, 08:48:44 AM
Hi jazzbiker
See it the information in replies #12 and #13 here helps any:
http://forum.tinycorelinux.net/index.php/topic,23593.msg147901.html#msg147901
Title: Re: netSurf browser : connection rejected by Tinycorelinux.net
Post by: jazzbiker on April 10, 2021, 10:26:22 AM
Thanks, Rich! Will try to work this out...
Title: Re: netSurf browser : connection rejected by Tinycorelinux.net
Post by: Juanito on April 11, 2021, 09:58:04 AM
But I was talking about netsurf's buttons icons, such as "reload" "back" and others. I saw the corresponding folder and images in the build directory, but after packing an extension I saw empty rectangles instead of buttons icons. Something must be corrected during build - like path to the desktop stuff. Don't You remember, did You pointed some directories during build?

Did you try loading adwaita-icon-theme and restarting netsurf?
Title: Re: netSurf browser : connection rejected by Tinycorelinux.net
Post by: jazzbiker on April 11, 2021, 04:07:57 PM
Hi, Juanito!

Yes, and many other activities, don't understanding their exact purpose :)   I saw the icon files in /usr/local/share/netsurf and decided, that something went wrong during build and binary can't find the way to this directory. After several absolutely unsuccessful attempts I got the feeling, that I'm drilling tha air. Then I loaded the working 3.9 version, removed all image files from /usr/local/share/netsurf, and - voila! - nothing changed. Main icons are compiled into the binary, and to heal this the source needs to be patched.

Then I've built gtk3 version of netsurf 3.10 and it works fine and looks fine too. The size is quite the same - around 2.1M - I mean tcz.

Will it be desirable to submit gtk3 version of netsurf? We don't know, when gtk2 version will be repaired.

Thanks for advices and support!
 
Title: Re: netSurf browser : connection rejected by Tinycorelinux.net
Post by: Juanito on April 12, 2021, 02:17:11 AM
The current netsurf (gtk2 v3.9) seems to work OK, maybe you could submit a netsurf-gtk3 extension?
Title: Re: netSurf browser : connection rejected by Tinycorelinux.net
Post by: jazzbiker on April 13, 2021, 06:09:43 PM
Hi, Juanito!

The current netsurf (gtk2 3.9) is segfaulting on file download attempts, I don't know why and what can be done with this trouble. I've played a little with 3.10 gtk2 and gtk3 versions, and in my opinion gtk3 version has no advantages over the gtk2 one. Yes, it can show You 4 icons with the help of 14M sized adwaita-icon-theme.tcz (without it You will see rectangles). Ok, I will pack the gtk3 version, hope it will be useful. Netsurf is interesting of its independent rendering engine. Just an inverted pyramid: 2M engine - 11M toolkit - 14M icons. :)
Title: Re: netSurf browser : connection rejected by Tinycorelinux.net
Post by: jazzbiker on April 13, 2021, 06:16:54 PM
Oh, a few words about the topic subject. Under Xvesa and Xfbdev both netsurf-gtk2 and netsurf-gtk3 fail (issuing mystical "error caused by success" messages) if background images are engaged. To use them under one of the TinyX servers open Edit -> Preferences -> Content and set "Load and display" = "foreground images". Under Xorg You can use any of acceptable option.