Tiny Core Linux
General TC => Tiny Core on Virtual Machines => Topic started by: TC9_yx on October 25, 2018, 11:00:30 AM
-
Hi All
First post :)
I have a Tinycore 9 VM I am running in vSphere 6.7. I've installed open-vm-tools before as follows:
1) tce-load -wi open-vm-tools-desktop - installs fine
2) tce-load -wi rxvt doesn't install
I have the following in /etc/sysconfig/tcedir/onboot.lst:
flwm_topside.tcz
wbar.tcz
nano.tcz
bash.tcz
ipv6-4.8.17-tinycore.tcz
openssh.tcz
nginx.tcz
open-vm-tools-desktop.tcz
Xlibs.tcz
Xprogs.tcz
rxvt.tcz
ca-certificates.tcz
rxvt.tcz
Xvesa.tcz
aterm.tcz
But vSphere is stil saying "VMware Tools is not installed on this virtual machine."
What am I doing wrong? It's been about a year since I last installed open-vm-tools but the steps I used on Tinycore 8 worked fine so I'm assuming there's a change in v9?
Thanks for any help.
-
Anyone? :)
-
tce-load -wi rxvt doesn't install
What do you mean by this, do you get an error message?
Is Xorg-7.7-3d required for full open-vm-tools-desktop functionality?
btw - Xprogs and Xlibs are deps of Xvesa, so there is no need to list them separately in onboot.lst
-
tce-load -wi rxvt doesn't install
What do you mean by this, do you get an error message?
Is Xorg-7.7-3d required for full open-vm-tools-desktop functionality?
btw - Xprogs and Xlibs are deps of Xvesa, so there is no need to list them separately in onboot.lst
I get this error:
https://ibb.co/h92gRV
I don't know TC very well so I'm not sure about Xorg 7.7-3d. When I last setup VMware Tools on TC8 I created some notes on how to install this in the VM and it worked but I'm guessing something has changed in TC9 as it doesn't work anymore. I'm not sure what to do or try nexy to get open-vm-tools to install and work in TC9.
-
9.x x86 does not have rxvt.tcz, it has urxvt.tcz.
-
There are detailed instructions on how to use open-vm-tools in the open-vm-tools and open-vm-tools-desktop info files.
To use Xorg-7.7-3d replace Xvesa in your onboot.lst with graphics-KERNEL and Xorg-7.7-3d
-
9.x x86 does not have rxvt.tcz, it has urxvt.tcz.
If I run:
tce-load -wi urxvt.tcz
It says:
urxvt is already installed!
I have added "urxvt.tcz" to onboot.1st and rebooted but open-vm-tools still isn't working.
-
Have you followed the info file instructions?
Do you get an error message if you run the command "vmware-checkvm"?
-
I have removed Xvesa from the onboot.1st file and added "graphics-KERNEL.tcz" and "Xorg-7.7-3d.tcz".
If I run "vmware-checkvm" I get:
VMware software version 6 (good)
-
Does all of this happen without error:
Download and install in console before reboot; do not install while in X.
Add to ~/.profile before startx to enable shared folders:
[ $(which vmware-checkvm) ] && [ vmware-checkvm ] && [ -d /mnt/hgfs ] && vmhgfs-fuse /mnt/hgfs
Kernel modules removed, now all tools are userspace.
Verify permissions for /dev/fuse are 1666.
Loading the extension should create /mnt/hgfs. Verify that it happened and the permissions are 777.
-
Does all of this happen without error: Download and install in console before reboot; do not install while in X.
Add to ~/.profile before startx to enable shared folders:
[ $(which vmware-checkvm) ] && [ vmware-checkvm ] && [ -d /mnt/hgfs ] && vmhgfs-fuse /mnt/hgfs
Kernel modules removed, now all tools are userspace.
Verify permissions for /dev/fuse are 1666.
Loading the extension should create /mnt/hgfs. Verify that it happened and the permissions are 777.
I'm not sure I understand all the instructions but I have added to ~/.profile:
[ $(which vmware-checkvm) ] && [ vmware-checkvm ] && [ -d /mnt/hgfs ] && vmhgfs-fuse /mnt/hgfs
I then ran filetool.sh -b and rebooted.
Am I missing something here?
-
What does this give:
$ tce-load -i coreutils
$ stat -c '%a %n' /dev/fuse
$ stat -c '%a %n' /mnt/hgfs
-
What does this give: $ tce-load -i coreutils
$ stat -c '%a %n' /dev/fuse
$ stat -c '%a %n' /mnt/hgfs
tce-load -i coreutils:
coreutils is already installed!
stat -c '%a %n' /dev/fuse:
1066 /dev/fuse
stat -c '%a %n' /dev/hgfs:
No such file or directory
-
That should be "/mnt/hgfs" and not "/dev/hgfs"
Are you sure /dev/fuse was 1066 and not 1666?
-
That should be "/mnt/hgfs" and not "/dev/hgfs"
Are you sure /dev/fuse was 1066 and not 1666?
Oops, sorry!
I get the same:
stat: cannot stat /mnt/hgfs: no such file or directory
Yes, another typo, /dev/fuse is 1666.
-
Does this work:
$ sudo mkdir /mnt/hgfs
$ sudo vmhgfs-fuse /mnt/hgfs
$ stat -c '%a %n' /mnt/hgfs
-
Does this work: $ sudo mkdir /mnt/hgfs
$ sudo vmhgfs-fuse /mnt/hgfs
$ stat -c '%a %n' /mnt/hgfs
This worked fine: sudo mkdir /mnt/hgfs
This failed: sudo vmhgfs-fuse /mnt/hgfs with:
Error -107 cannot open connection!
-
You could try:
$ sudo /usr/local/etc/init.d/open-vm-tools start
$ sudo vmhgfs-fuse /mnt/hgfs
$ stat -c '%a %n' /mnt/hgfs
-
You could try: $ sudo /usr/local/etc/init.d/open-vm-tools start
$ sudo vmhgfs-fuse /mnt/hgfs
$ stat -c '%a %n' /mnt/hgfs
After running sudo /usr/local/etc/init.d/open-vm-tools start VMware sees that VM as having VMware Tools installed now. Rebooting stops this and I have to run this command again so can this be automated?
Running sudo vmhgfs-fuse /mnt/hgfs fails with "Error -107 cannot open connection"
-
You can add the command "/usr/local/etc/init.d/open-vm-tools start" to /opt/bootlocal.sh and make a backup.
I suggest you google "Error -107 cannot open connection" to see if you find something that might help.
Note also that as per the open-vm-tools-desktop info file: Add to ~/.xsession after mouse-config to enable copy/paste, mouse grab/ungrab, and desktop resizing:
[ $(which vmware-checkvm) ] && [ vmware-checkvm ] && vmware-user &
Move wbar to upper left vertical because wbar doesn't know when the desktop is resized.
-
You can add the command "/usr/local/etc/init.d/open-vm-tools start" to /opt/bootlocal.sh and make a backup.
I suggest you google "Error -107 cannot open connection" to see if you find something that might help.
Note also that as per the open-vm-tools-desktop info file: Add to ~/.xsession after mouse-config to enable copy/paste, mouse grab/ungrab, and desktop resizing:
[ $(which vmware-checkvm) ] && [ vmware-checkvm ] && vmware-user &
Move wbar to upper left vertical because wbar doesn't know when the desktop is resized.
I just wanted to say a very big thank you for all your help! I have my TC9 VM working great with VMware Tools and it now works even after rebooting the machine.
So once again, thank you for taking the time to patiently help me through my issues :)