Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding support for unix sockets as target socket. #46

Merged
merged 3 commits into from
May 30, 2012

Conversation

KarimAllah
Copy link

you can test it using linuxvnc .. It's a tool inside vncterm directory in libvncserver that is used to remote your tty. Though you will have to use our own forked version of libvncserver [0]

Launch it as
./linuxvnc tty_num -unix /tmp/unix_socket

then launch websockify and use -unix /tmp/unix_socket instead of target_host:target_port

[0] https://github.com/cloud9ers/libvncserver

kanaka added a commit that referenced this pull request May 30, 2012
Adding support for unix sockets as target socket.
@kanaka kanaka merged commit 233b622 into novnc:master May 30, 2012
kanaka added a commit that referenced this pull request May 31, 2012
- Rename unix socket option to '--unix-target' to be consistent with
  '--ssl-target' which is an analogous switch.
- Fix normal socket target mode which was broken after merge.
- Normalize/fix output for SSL, unix socket and wrap command modes.
@kanaka
Copy link
Member

kanaka commented May 31, 2012

There was some cleanup I had to do because the merge introduced some bugs. Also, I renamed --unix to --unix-target since the option is analogous to --ssl-target. Can you verify that the unix socket mode still works with the fixups I did? Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants