Tiny Core Linux
Tiny Core Base => Raspberry Pi => Topic started by: steveumbal on October 20, 2013, 02:22:57 PM
-
Really nice project ... now I have piCore installed and working on my otherwise unused 256mb sd with sshd on boot and browser jumping like a charme.
Keyboard, mouse and monitor are far from my Raspberry so I test the sd in a virtualbox client, is there any chance to have a vnc server (like x11vnc) on the repository?
If there will be also a torrent client I promise I'll change the sd :) :) :) :)
-
Hi,
let me see which VNC server I can add ton the repo shortly. Regarding torrent, you can use lft. It is a console client which support not only ftp but many other protocols including torrent:
http://lftp.yar.ru/features.html
-
x11vnc is added to the repo.
-
Hi steveumai:
Can you please explain the " so I test the sd in a virtualbox client" procedure a little bit more. I do not anderstand what you are doing.
1. On what system is the Virtual Box system running?
2. What is running inside Virtual box?
3. From what OS are you "ssh - ing" into Raspi?
I was able to connect from Mint 14 ssh client into the headless Raspi running Raspian.
X forwarding in Raspian is enabled, so after I found the Raspi IP I could administer the Raspi.
I could start GUI applications such as midori. But - I was not able to start the Raspian GUI, which is LDXE - I guess.
Now I learned that a VNC server on the RaspberryPI would allow to have a remote GUI on my MINT14 system. They recommend Tightvnc in an article from"Peguin Tutor"
BMarkus is it too much to ask for TCL Tightvnc extension ?
My plan is to have piCore-X running on my RaspberryPI and vnc into he RaspberryPI from a Core Plus machine.
-
BMarkus is it too much to ask for TCL Tightvnc extension ?
My plan is to have piCore-X running on my RaspberryPI and vnc into he RaspberryPI from a Core Plus machine.
No plan to add it to the repo. There is x11vnc in the 5.x repo which works fine. You can connect to piCore from TC 5.0 x86 to the Raspberry via VNC with tigervnc-client.
-
Thank you for this. I will do that. But is there a way to have a VNC server on my current piCore-X 4.77. For the time beeing I have piCore-X4.7.7 on a 2GB SD card running. I am writing this from RASPI in piCore 4.7.7 using dillo browser.
Works great. I installed openssh on the Raspi and it starts at boot. So I can ssh into TCL piCore from my mint 14 system without a mouse, monitor and keyboard
-
Hi steveumai:
Can you please explain the " so I test the sd in a virtualbox client" procedure a little bit more. I do not anderstand what you are doing.
1. On what system is the Virtual Box system running?
2. What is running inside Virtual box?
3. From what OS are you "ssh - ing" into Raspi?
Doesn't matter from where I run TinyCore, it's in the SD so I can boot it from my Raspberry Pi or from a virtualbox client. I used virtualbox because it's a pain to move my Raspberry from where it is now, attach a keyboard, a mouse, switching monitor, ecc... but without a vnc server I can't use Tiny Core gui.
So, simply, I created a machine in Virtualbox, switch to x86 image and attached the SD as an hd storage and boot from it.
Virtualbox is installed in my windows server/workstation pc but I'd could have done the same from my mint-mate partition.
-
x11vnc added to 4.x repo
-
Thank you again.
Now I set up an 8G SD card with piCore-5.0.alpha5.img.gz and it boots ok into CLI.
On a readme.txt file in the 4.x section I found instructions on how to ger X running from base piCore image. I followed the commands and after reboot I got:
Bus error
Bus error
awk: cmd. line:1: Inpu/output error
.
.
several times and then:
failed in waitforX
Please help?
-
sorry I did not follow exactly: I did not create a swap patrition
-
x11vnc added to 4.x repo --- I am not able o install on piCore 4.7.7
error in installer
I still can not get the piCore-5.0.alpha5 to work. After installing the GUI and reboot I am getting that "failed in waitforX" error.
-
x11vnc added to 4.x repo --- I am not able o install on piCore 4.7.7
error in installer
Provide details. Which installer, what is the error.
I still can not get the piCore-5.0.alpha5 to work. After installing the GUI and reboot I am getting that "failed in waitforX" error.
Can't reproduce. Tested installation from scratch, works as expected. Please describe your installation procedure, for example where is /tce and how much free space there is.
-
bmarkus thank you for the good work with raspi. I am not sure whether to continue my testing results here or if I should start a new post?
I will put it here for the time being and later we could make a new subject:
1. piCore 5.0 rc 5
It took me 10 hours to find out that the problems I had were related to SD cards. There is a wiki especially about that. Result: SanDisk SDHC Card, 4GB, class4 Type: BH1216021911G
finally worked for me. I also discovered that there can be problems, when you use the wrong SD card to USB adaptor. (when dd image to SD) Another question is which file format do I use to start out? I tried FAT16, FAT32 and ext3. The new 4GB SanDisk SD card came with 4MB unallocated and the rest (3.69GB) were FAT 32. So I left this untouched and wrote the image onto the SD card. After dd is finished the SD card shows a 42MB FAT16 partition and the rest (/dev/sdc2)shows as unallocated. I formatted this to ext4 and forgot a swap partition. Until now I have not encountered any problems which might be related to the missing swap. If somebody knows more, please let me know.
Now the SD booted nicely into the CLI. I followed the instructions from the README.TXT file "Instructions to get X running from basic piCore image". No errors any more so far.
After sudo reboot the raspi did not reboot, I had to shut it off and start new again. Now it booted into GUI. I picked a mirror and tried to install aterm. It did not install an error message "aterm install -Failed" So I switched to the command line and installed aterm and pcmanfm using the tce command. Now install worked.
ALT CTRL F2 did not bring me back into GUI, but startx worked. Now I was able to install from the GUI installer. Why? - please check.
PROBLEMS: pcmanfm needs work. No icons, horrible fonts, it seems that several fonts are missing anyway.
DILLO3 browser needs libjpeg1.tcz in its dependencies.
I installed x11vnc and tigervnc but did not test yet. The tigervnc wbar icon shows up only after reboot and not after install.
For an alpha version this piece is great. I love that Raspi - in 1978 we had computers in our home now, we can have one in every corner of the room.
Now I will try the same with the new rc6. I will ry a 4GB Sony SDHC Type SON SF4N4 - the wiki says this should work.
-
SD CARDS
Doesn't matter how SD card partitioned, dd will overwrite partition table with a new one containing only one 40M Win95 FAT32 (type 0x0c) partition with RPI boot files, firmware and Core kernel plus initrd. It is OK for initial run in cloud mode, you can create additional partitions (ext4 for /tce and swap) later.
I'm always creating SD cards with a notebook equipped with SD card adapter running TC, not using externals USB adapters and WINDOWS for this. Usually it works, but there are more parts to fail.
I'm using cards from different vendors. Had problem only with a brand new VERBATIM 4G Class 4 card which was inrealible, with frequent write errors, etc. But in general no issues.
What you must avoid microSD cards with adapters. I have older microSD cards left from demaged smart phones. Cards are slow, and the adapter (Kingston) is causing problems, ubrealible operation, data loss, etc. Its mechanical parameters are different from normal cards, doesn't fit well into the RPI socket, etc. So, never use microsSD card with adapter!
SWAP
In the beginning you do not need swap, but need during ordinary use especially running memory hungry applications, compiling, etc. You can have
- swap partition
- swap file
and you can mix them also. piCore now enables zswap by default, so even if you are not addings swap yourself, you have 105M (Model B with 512M RAM) compressed swap in memory, see '
free
WBAR ICONS
tigervnc-viewer installs vncviewer. If the icon name (.desktop) different than the extension name it is not added when you load just after startx executed. It is not piCore bug, it is a TC5 behavior.
Will check dillo3/pcmanfm.
And thanks for testing and reporting you findings!
-
thanks. In the meantime I found out that the Sony SD SF4N4 is not working for me, not on TCL piCore 5.0rc5 nor on Raspian 2012-09-25 The wiki showed all Sony SD cards OK for RASPI?
The best SD card for me so far is the SanDisk SDSDB2L-004G-B35 - works with TCL and Raspian.
I will now switch to piCore 5.0 rc6
-
WBAR ICONS
tigervnc-viewer installs vncviewer. If the icon name (.desktop) different than the extension name it is not added when you load just after startx executed. It is not piCore bug, it is a TC5 behavior.
It is a well documented that the .desktop item must match the extension name.
See: http://wiki.tinycorelinux.net/wiki:iconmenuinfo?s[]=adding&s[]=icons
The .desktop file must have the same base name as the application package. (e.g. the desktop file for homebank.tcz must be named homebank.desktop
If extensions are compliant with documentation then all instances will the icon be displayed.
-
thanks. In the meantime I found out that the Sony SD SF4N4 is not working for me, not on TCL piCore 5.0rc5 nor on Raspian 2012-09-25 The wiki showed all Sony SD cards OK for RASPI?
The best SD card for me so far is the SanDisk SDSDB2L-004G-B35 - works with TCL and Raspian.
I will now switch to piCore 5.0 rc6
No experience with Sony cards. I'm using actually ADATA, KINGSTON and PNY 4-8GB Class 4 cards with no problem.
-
DILLO3 browser needs libjpeg1.tcz in its dependencies.
dillo3.tcz and fltk-1.3.tcz updated in the repo to be 5.0 compatible.
-
how can I update dillo3 and fltk-1.3.tcz now? Can I use the app installer or do I need to perform a new extension install?
- another question: The main reason is to have vnc is bringing the desktop from a host to my client - is this correct?
How about using x over ssh to connect into RASPIs ssh server? I know how to start a gui extension (application) on the remote pCore 5.0 rc but is there also a way to have the remote window manager from piCore on my client?
I tried startx on the remote machine, but this started he window manager on the remote machine and not in my client window.
-
how can I update dillo3 and fltk-1.3.tcz now? Can I use the app installer or do I need to perform a new extension install?
Use the regular tools, tce-update in terminal or apps gui.
-
please take a look also at pcmanfm. I do not have icons. During pcmanfm install I saw error messages related to fonts and permissions.
When I check for updates in piCore alpha6 am getting a warning: You are running version 5.0 alpha6 the latest release is 5.02 ??
How can I start the TCL window manager via ssh on a remote pc?
-
How can I start the TCL window manager via ssh on a remote pc?
Read documentation:
http://www.karlrunge.com/x11vnc/
-
thank you for this. Did you have a chance to take a look at the pcmanfm problem. The error messages occur during install and must be related to permission of fonts.
-
When I check for updates in piCore alpha6 am getting a warning: You are running version 5.0 alpha6 the latest release is 5.02 ??
Will be fixed in next release.
-
thank you for this. Did you have a chance to take a look at the pcmanfm problem. The error messages occur during install and must be related to permission of fonts.
pcmanfm updated, try it.
-
Hi, Markus
excuse me for the delay ... very busy days >:(
x11vnc works perfect, thanks.
Also I noted that tc-wbarconf still doesn't work as cited in a previous post ...
-
hi: I am still not able to install pcman fm. I am getting permission denied errors during install and at the end of install it says pcmanfm.tcz Failed
I need to check whether its my sd card or I will wait for the next version.
I also discovered that ScreenShot does not produce an image in /home/tc
-
Hi beerstein
Check your tce directory and its subdirectories, they should be tc/staff
Same goes for /home/tc
-
I also discovered that ScreenShot does not produce an image in /home/tc
Tested, it works on a clean system. Run it in a terminal and watch messages. Also check permissions of your home dir.
-
Also I noted that tc-wbarconf still doesn't work as cited in a previous post ...
Fixed, update wbar.tcz
-
hi: I am still not able to install pcman fm. I am getting permission denied errors during install and at the end of install it says pcmanfm.tcz Failed
Fixed, pcmanfm.tcz installs from the repo. 'Permission denied' message is normal, you can omit safely. It was an md5 mismatch.
-
Hi:
Until now I was not able to install pcmanfm, I always got that LOAD ERROR.
Now I just downloaded pcmanfm using the app browser and - see now it downloaded the extension and dependencies without any error messages. After that I installed localy and made sure that the files are in /tce/optional/...
and heat pcmanfm is in .onboot.lst
Now I have a minmalistic system:pcmanfm,dillo.openssh,awk,mc,nano, tigervnc and x11vnc - wow
I can not wait for the next release
TIP: I am using a HDMI - to VGA convertor cable and do not know what screen resolution I have. I have to user the CTRL-M function a lot to make the window visible.
-
TIP: I am using a HDMI - to VGA convertor cable and do not know what screen resolution I have. I have to user the CTRL-M function a lot to make the window visible.
You can set resolution in the /mnt/mmcblk0p1/config.txt file
-
I also discovered that ScreenShot does not produce an image in /home/tc
Thanks for reporting, it was a bug in Xprogs.tcz.dep Fixed, please update your dep file and download the missing extension (imlib2-bin.tcz)