Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: saravanan on May 13, 2010, 11:00:28 AM

Title: Virtual Box Guest additions
Post by: saravanan on May 13, 2010, 11:00:28 AM
Hi all,
          I need to install BirtualBox OSE guest additions in TinyCore for VirtualBox OSE.
Is it possible to have the seamless mouse pointer integration with the Windows host and TC guest with VirtualBox Guest additions/addons ??
has any one tried this before.
Please guide me.
Title: Re: Virtual Box Guest additions
Post by: Kingdomcome on May 13, 2010, 12:58:26 PM
Have you tried the VBox-OSE-additions-x11 extension?
Title: Re: Virtual Box Guest additions
Post by: saravanan on May 14, 2010, 05:38:03 AM
Have you tried the VBox-OSE-additions-x11 extension?
I installed VBox-OSE-additions-x11 extension and restarted, next time boot process stops in Command line, X dos not work.
when i try to start X, through startx command; following error is shown
Quote
/usr/local/bin/Xorg: error while loading shared libraries: libpixman-1.so.0: can not open shared object file or directory.
Title: Re: Virtual Box Guest additions
Post by: Juanito on May 14, 2010, 06:09:32 AM
This means you need to load the pixman extension
Title: Re: Virtual Box Guest additions
Post by: saravanan on May 14, 2010, 09:29:58 AM
This means you need to load the pixman extension
thanks juanito, i installed pixman now, but now the same error for missing libssl, which needs ?? how to solve this dependency problem?
Title: Re: Virtual Box Guest additions
Post by: gerald_clark on May 14, 2010, 10:57:22 AM
Make sure you are running the current version of TC.
Title: Re: Virtual Box Guest additions
Post by: Juanito on May 14, 2010, 11:31:38 AM
It looks to me like if you're using the latest version of tc and you load VBox-OSE via the appbrowser then the deps should be loaded as well?
Title: Re: Virtual Box Guest additions
Post by: Kingdomcome on May 14, 2010, 04:47:34 PM
Just tested in a clean VM and TC 2.11.  all deps are downloaded and X starts with "startx" after DL.  There is a small issue with the additions extension which I have described and given a workaround for here: http://forum.tinycorelinux.net/index.php?topic=1174.msg32247#msg32247 (http://forum.tinycorelinux.net/index.php?topic=1174.msg32247#msg32247)
Title: Re: Virtual Box Guest additions
Post by: saravanan on May 17, 2010, 11:56:16 PM
dear all,

thanks, i got that working on 2.11 :)

How do i change the resolution in Xorg?

in case of Xvesa before i jus changed the resolution value in .xsession file.
But now i am little confused with xorg.conf
Title: Re: Virtual Box Guest additions
Post by: maro on May 18, 2010, 01:15:09 AM
IIRC you could try the xrandr command (included in 'Xorg-7.4.tcz').
Title: Re: Virtual Box Guest additions
Post by: bmarkus on May 18, 2010, 01:17:55 AM
IIRC you could try the xrandr command (included in 'Xorg-7.4.tcz').

You can try also

http://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/2.x/tcz/lxrandr.tcz.info

which is in the repo.
Title: Re: Virtual Box Guest additions
Post by: Juanito on May 18, 2010, 03:17:59 AM
You need a section something like
Code: [Select]
Section "Screen"
Identifier "Screen0"
Device     "Card0"
Monitor    "Monitor0"
SubSection "Display"
Viewport   0 0
Depth     24
Modes     "1280x800" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

..but google is your friend
Title: Re: Virtual Box Guest additions
Post by: Kingdomcome on May 18, 2010, 06:55:41 AM
If you are still running inside VirtualBox, then after you start the VBoxClient apps you can simple resize the VM window and the xorg resolution will be changed to fill the window.   If you are no longer running inside VirtualBox, then you should start a new topic to not confuse others.
Title: Re: Virtual Box Guest additions
Post by: saravanan on May 18, 2010, 08:05:43 AM
Thanks juanito :) :) i could change the resolution
i am still working inside virtual box,

How can i make the /etc/X11/xorg.conf file to be persistent?
when i unpack the Xorg.7.4.tcz , i could find the xorg.conf.vesa but not just xorg.conf.

could any one please tell how will the xorg.conf file be created in filesystem from the Xorg.tcz contents?
Title: Re: Virtual Box Guest additions
Post by: Juanito on May 18, 2010, 10:46:23 AM
How can i make the /etc/X11/xorg.conf file to be persistent?
add etc/X11/xorg.conf to /opt/.filetool.lst and set up backup/restore from the panel

Quote
when i unpack the Xorg.7.4.tcz , i could find the xorg.conf.vesa but not just xorg.conf.

could any one please tell how will the xorg.conf file be created in filesystem from the Xorg.tcz contents?

Code: [Select]
$ sudo cp /tmp/tcloop/Xorg-7.4/etc/X11/xorg.conf.vesa /etc/X11/xorg.conf
Title: Re: Virtual Box Guest additions
Post by: Kingdomcome on May 18, 2010, 03:26:53 PM
The VBox-OSE-additions-x11 extension includes an xorg.conf that is compatible with VBox.
Title: Re: Virtual Box Guest additions
Post by: saravanan on May 19, 2010, 07:05:18 AM

Code: [Select]
$ sudo cp /tmp/tcloop/Xorg-7.4/etc/X11/xorg.conf.vesa /etc/X11/xorg.conf

Hi juanito,
this one can be done after extraction only.

as u guided i need to add a custom line for resolution inside xorg.cong file.

Could any one please help me how to make the modified xorg.conf file persistent with a live ISO.
I will then re-master the iso to be packed with all VBox guest additions and the fixed resolution.
Title: Re: Virtual Box Guest additions
Post by: Juanito on May 19, 2010, 07:42:42 AM
how to make the modified xorg.conf file persistent with a live ISO.
I re-master the iso to be packed with all VBox guest additions and the fixed resolution.

If you remastered the iso, why not just add /etc/X11/xorg.conf to your remastered iso?

Otherwise you could modify the boot codes to restore from a usb stick or hd.
Title: Re: Virtual Box Guest additions
Post by: saravanan on May 19, 2010, 07:47:56 AM
If you remastered the iso, why not just add /etc/X11/xorg.conf to your remastered iso?

Otherwise you could modify the boot codes to restore from a usb stick or hd.

if i add the /etc/X11/xorg.conf into the iso filesystem,
will that not be overwritten by some other xorg.conf from any tcz?
Title: Re: Virtual Box Guest additions
Post by: saravanan on May 19, 2010, 10:35:20 AM
The VBox-OSE-additions-x11 extension includes an xorg.conf that is compatible with VBox.

Hi kingdomcome,
thank you for pointing that out. i got it working.
Thanks again :)