Call to host's cygwin clipboard from headless virtualbox guest
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I'm struggling with getting access to cygwin /dev/clipboard
device uder arch linux headless guest via VirtualBox. I tried to mount cygwin root directory as a shared folder in guest, but for some reason VBox mounts only files that are 777 in /dev
directory. I tried to change permission to /dev/clipboard
, but for some reason I can not change permissions on files under Cygwin (known issue from what I found), although my drive fs is NTFS and I tried to delete noacl
from Cygwin's /etc/fstab
- not fixed issue.
So, summarizing, my question is:
I wish to perform printf 'to clipboard' > ~/host/dev/clipboard
, but there's no such file in /host/dev directory
Solution is one of those:
Change permission to
/dev/clipboard
on host, but can not do it for some reason.Force VirtualBox to mount all files in
/dev
directory (dont know how to do that and why isnt it mounted in first place).Create file
/tmp/clip
, useprintf 'to clipboard' > ~/host/tmp/clip
and somehow sync it with/dev/clipboard
, for example in loop each n millisecond checking which is newer and either update/dev/clipboard
or not. If there's easy bash command for such two files sync - please give example.
virtualbox cygwin
add a comment |Â
up vote
0
down vote
favorite
I'm struggling with getting access to cygwin /dev/clipboard
device uder arch linux headless guest via VirtualBox. I tried to mount cygwin root directory as a shared folder in guest, but for some reason VBox mounts only files that are 777 in /dev
directory. I tried to change permission to /dev/clipboard
, but for some reason I can not change permissions on files under Cygwin (known issue from what I found), although my drive fs is NTFS and I tried to delete noacl
from Cygwin's /etc/fstab
- not fixed issue.
So, summarizing, my question is:
I wish to perform printf 'to clipboard' > ~/host/dev/clipboard
, but there's no such file in /host/dev directory
Solution is one of those:
Change permission to
/dev/clipboard
on host, but can not do it for some reason.Force VirtualBox to mount all files in
/dev
directory (dont know how to do that and why isnt it mounted in first place).Create file
/tmp/clip
, useprintf 'to clipboard' > ~/host/tmp/clip
and somehow sync it with/dev/clipboard
, for example in loop each n millisecond checking which is newer and either update/dev/clipboard
or not. If there's easy bash command for such two files sync - please give example.
virtualbox cygwin
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I'm struggling with getting access to cygwin /dev/clipboard
device uder arch linux headless guest via VirtualBox. I tried to mount cygwin root directory as a shared folder in guest, but for some reason VBox mounts only files that are 777 in /dev
directory. I tried to change permission to /dev/clipboard
, but for some reason I can not change permissions on files under Cygwin (known issue from what I found), although my drive fs is NTFS and I tried to delete noacl
from Cygwin's /etc/fstab
- not fixed issue.
So, summarizing, my question is:
I wish to perform printf 'to clipboard' > ~/host/dev/clipboard
, but there's no such file in /host/dev directory
Solution is one of those:
Change permission to
/dev/clipboard
on host, but can not do it for some reason.Force VirtualBox to mount all files in
/dev
directory (dont know how to do that and why isnt it mounted in first place).Create file
/tmp/clip
, useprintf 'to clipboard' > ~/host/tmp/clip
and somehow sync it with/dev/clipboard
, for example in loop each n millisecond checking which is newer and either update/dev/clipboard
or not. If there's easy bash command for such two files sync - please give example.
virtualbox cygwin
I'm struggling with getting access to cygwin /dev/clipboard
device uder arch linux headless guest via VirtualBox. I tried to mount cygwin root directory as a shared folder in guest, but for some reason VBox mounts only files that are 777 in /dev
directory. I tried to change permission to /dev/clipboard
, but for some reason I can not change permissions on files under Cygwin (known issue from what I found), although my drive fs is NTFS and I tried to delete noacl
from Cygwin's /etc/fstab
- not fixed issue.
So, summarizing, my question is:
I wish to perform printf 'to clipboard' > ~/host/dev/clipboard
, but there's no such file in /host/dev directory
Solution is one of those:
Change permission to
/dev/clipboard
on host, but can not do it for some reason.Force VirtualBox to mount all files in
/dev
directory (dont know how to do that and why isnt it mounted in first place).Create file
/tmp/clip
, useprintf 'to clipboard' > ~/host/tmp/clip
and somehow sync it with/dev/clipboard
, for example in loop each n millisecond checking which is newer and either update/dev/clipboard
or not. If there's easy bash command for such two files sync - please give example.
virtualbox cygwin
asked Oct 29 '17 at 18:43
sandric
1365
1365
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f401266%2fcall-to-hosts-cygwin-clipboard-from-headless-virtualbox-guest%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password