Tiny Core Linux
General TC => Tiny Core on Virtual Machines => Topic started by: zacchi4k on October 28, 2016, 11:15:49 AM
-
Please note that I'm using the x86_64 port of TinyCore!!
I have some problems installing and using both VMware tools and Open VM Tools on a TinyCore virtual machine.
VMware tools:
After extracting the archive to /vmware/, I can't even start the installer.
Running vmware-install.pl (even with sudo) returns "line 6: ./vmware-install.real.pl: not found".
Running vmware-install.real.pl returns "sh: ./vmware-install.real.pl: not found".
It's like the file doesn't exist, but it's clearly there.
Open VM Tools:
I can actually download and install Open VM Tools from the Apps.... application, but only the mouse integration seems to work.
No automatic resizing and, most importantly, trying to enable shared folders (which I really need) returns an error regrading mounting the folders in the guest OS (even without any folders configured).
Can someone help me?
Screenshots:
(http://s11.postimg.org/668pc31tf/2016_10_28_1.png) (http://s17.postimg.org/s2rvmeq73/2016_10_28_2.png)
-
Read the comments for open-vm-tools in the app browser, they're important if you want it to work.
-
Read the comments for open-vm-tools in the app browser, they're important if you want it to work.
(https://s21.postimg.org/xx6rpilmf/2016_10_29_13_28_02_Tiny_Core_VMware_Workstatio.png)
I can't find anything that could help me, not even that VMware KB link.
-
Hmmm... I thought it was supposed to say this:
Comments: 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
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.
Aterm text does not render correctly, use lxterminal instead.
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.
Files in shared folders will not be visible to anyone other than the user that
mounts them, including root. This is why if the shared folders are mounted
in a directory that is in a tree in /opt/.filetool.lst, backups will fail.
Xorg and its dependencies are not needed for text only VM's.
-
Hmmm... I thought it was supposed to say this:
Comments: 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
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.
Aterm text does not render correctly, use lxterminal instead.
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.
Files in shared folders will not be visible to anyone other than the user that
mounts them, including root. This is why if the shared folders are mounted
in a directory that is in a tree in /opt/.filetool.lst, backups will fail.
Xorg and its dependencies are not needed for text only VM's.
Sorry, but I'm a total noob with Linux.
Does "-/" mean the root folder? I've tried to place the files there but it didn't work.
-
Hi
~/
a tilde followed by a forward slash means 'home directory', typically this is /home/tc
note: strictly speaking the " ~ " alone represents the home directory.
Also a period in front of the file name means the file has hidden attributes, therefore
~/.profile
is a hidden file in the home directory. In tinycore this will likely expand to " /home/tc/.profile "
-
When I was new to Linux, I spend some time experimenting at the terminal, learning where I was exactly.
for example: you could have changed to the ~/ directory and asked the Present working directory variable where you where?
cd ~/; echo $PWD
or in keeping with simplicity
cd ~; pwd
:P
-
Hi coreplayer2
or in keeping with simplicity
cd ~; pwd
:P
Or even simpler:
cd; pwd
-
Rich, 8)
I have to agree the default path of " cd " is useful in returning to the home directory if that's all you wanted to accomplish right?
However, if someone new to Linux might wanted to know where ~/ was? Seems logical they would change to ~/ then verify the location.
Same for /
zacchi4k on the other hand, mistook the tilde key ( ~ ) for a hyphen ( - ) which can lead to a lot of confusion since the - option used with cd command refers to the last PWD.
-
Rich, 8)
I have to agree the default path of " cd " is useful in returning to the home directory if that's all you wanted to accomplish right?
However, if someone new to Linux might wanted to know where ~/ was? Seems logical they would change to ~/ then verify the location.
Same for /
zacchi4k on the other hand, mistook the tilde key ( ~ ) for a hyphen ( - ) which can lead to a lot of confusion since the - option used with cd command refers to the last PWD.
IDK why I saw it as an hyphen...... Firefox for TC saw them as hyphens.
-
You might want to install additional fonts then.
-
It's an easy mistake, but I've never seen Firefox mistake the ~ for a -
just saying
-
Hmmm... I thought it was supposed to say this:
Comments: 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
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.
Aterm text does not render correctly, use lxterminal instead.
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.
Files in shared folders will not be visible to anyone other than the user that
mounts them, including root. This is why if the shared folders are mounted
in a directory that is in a tree in /opt/.filetool.lst, backups will fail.
Xorg and its dependencies are not needed for text only VM's.
Just tried it.
Went to console and created all the files with vi. Results? The same. Still doesn't work.
-
You shouldn't have had to create any files. They should already have been there. You only needed to add one line to .profile and one line to .xsession.
-
It's an easy mistake, but I've never seen Firefox mistake the ~ for a -
just saying
This is how the ~ appears in Firefox for TC:
(https://s12.postimg.org/ro9d3hkzh/2016_10_31_(2).png)
However I noticed it appears correctly in a quoted message:
(https://s12.postimg.org/ngekuqjjx/2016_10_31_(3).png)
-
You shouldn't have had to create any files. They should already have been there. You only needed to add one line to .profile and one line to .xsession.
STILL doesn't work. Here are my .profile and .xsession, if it can help:
(https://s21.postimg.org/y7klbx4s7/2016_10_31_(1).png)
(https://s21.postimg.org/l4oysnek7/2016_10_31.png)
-
In ~/.profile , do this:
*snip*
[ $(which vmware-checkvm) ] && [ vmware-checkvm ] && [ -d /mnt/hgfs ] && vmhgfs-fuse /mnt/hgfs
TERMTYPE=`/usr/bin/tty`
[ ${TERMTYPE:5:3} == "tty" ] && (
[ ! -f /etc/sysconfig/Xserver ] ||
[ -f /etc/sysconfig/text ] ||
[ -e /tmp/.X11-unix/X0 ] ||
startx
)
-
In ~/.profile , do this:
*snip*
[ $(which vmware-checkvm) ] && [ vmware-checkvm ] && [ -d /mnt/hgfs ] && vmhgfs-fuse /mnt/hgfs
TERMTYPE=`/usr/bin/tty`
[ ${TERMTYPE:5:3} == "tty" ] && (
[ ! -f /etc/sysconfig/Xserver ] ||
[ -f /etc/sysconfig/text ] ||
[ -e /tmp/.X11-unix/X0 ] ||
startx
)
NOPE
I noticed that, after installing OVMT and modifying .profile, this happens on boot:
(https://s13.postimg.org/i0xd7yyo7/2016_10_31_4.png)
-
You can ignore that error. After all this, are vmtoolsd and vmware-user running, and is /mnt/hgfs mounted? Does the desktop resize when you drag (and hold until it does, an important quirk you will find) the corner of the window?
-
Sorry, I'm Russian so I can not specify the problem. On VirtualBox, here comes this error at boot.
(http://storage9.static.itmages.ru/i/16/1101/h_1477990897_8738909_7c108b7b7f.png)
-
What version of corepure64?
How did you install corepure64 in the vm, from the iso?