René's URL Explorer Experiment


Title: Document keyboard udev rule · Issue #2 · function61/screen-server · GitHub

Open Graph Title: Document keyboard udev rule · Issue #2 · function61/screen-server

X Title: Document keyboard udev rule · Issue #2 · function61/screen-server

Description: Why is it a hardlink: tl;dr: hotplug support. If you don't want to run screen-server with --privileged (you shouldn't), and you don't want to bind the entire /dev/input (violates principle of least privilege), you're left with having to ...

Open Graph Description: Why is it a hardlink: tl;dr: hotplug support. If you don't want to run screen-server with --privileged (you shouldn't), and you don't want to bind the entire /dev/input (violates principle of least...

X Description: Why is it a hardlink: tl;dr: hotplug support. If you don't want to run screen-server with --privileged (you shouldn't), and you don't want to bind the entire /dev/input (violates princi...

Opengraph URL: https://github.com/function61/screen-server/issues/2

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Document keyboard udev rule","articleBody":"Why is it a hardlink: tl;dr: hotplug support.\r\n\r\nIf you don't want to run screen-server with `--privileged` (you shouldn't), and you don't want to bind the entire `/dev/input` (violates principle of least privilege), you're left with having to map a directory that contains the sole event device. It has to be directory, because device nodes come and go (hotplug). i.e. plug creates inode 1 -\u003e disconnect -\u003e plug creates inode 2. If you'd naively map `--device /dev/input/logitech` and start a container, during the whole lifecycle of the container it'd refer to inode 1.\r\n\r\nHere's my `/etc/udev/rules.d/80-screen-server.rules`:\r\n\r\n```\r\n# Logitech should be visible for screen-server\r\n\r\nACTION==\"add\", KERNEL==\"event[0-9]*\", ATTRS{name}==\"Logitech K400\", RUN+=\"/bin/sh -c 'mkdir -p /dev/input/screen-server \u0026\u0026 ln $devnode /dev/input/screen-server/logitech'\"\r\nACTION==\"remove\", KERNEL==\"event[0-9]*\", ATTRS{name}==\"Logitech K400\", RUN+=\"/bin/sh -c 'rm /dev/input/screen-server/logitech'\"\r\n```\r\n\r\nAnd docker-compose file:\r\n\r\n```yaml\r\nversion: \"3.5\"\r\nservices:\r\n  screens:\r\n    labels:\r\n      traefik.frontend.rule: Host:screens.mydomain.com\r\n    environment:\r\n      SCREEN_1: \"5900,800,1280,Galaxy Tab 2,/dev/input/screen-server/logitech\"\r\n    image: fn61/screen-server:20201218_1758_3beeef8d\r\n    shm_size: 512M # Firefox and Chrome crash on default (64 M) if website is heavy in any way\r\n    ports:\r\n      - \"5900:5900\"\r\n    devices:\r\n    - \"/dev/input/screen-server\"\r\n    networks:\r\n      default: null\r\nnetworks:\r\n  default:\r\n    external:\r\n      name: mynetwork\r\n```","author":{"url":"https://github.com/joonas-fi","@type":"Person","name":"joonas-fi"},"datePublished":"2021-04-03T11:19:35.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/2/screen-server/issues/2"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:e047cd4a-8612-0007-d05a-153259b4a841
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB108:2AB98E:360BE7:4A6C42:6A4C7CAC
html-safe-nonce41fcd19418d4c81ab07fa5ca61b22891e4b2485feb9fa5704055d608ce8039b8
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMTA4OjJBQjk4RTozNjBCRTc6NEE2QzQyOjZBNEM3Q0FDIiwidmlzaXRvcl9pZCI6IjU0MjU0NjYyOTQyNjEyODQwMTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac282b62b52fc48cc1489b80d11ed834ba540def6842b2624bb24ac240051810d1
hovercard-subject-tagissue:849637528
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/function61/screen-server/2/issue_layout
twitter:imagehttps://opengraph.githubassets.com/0bb255ad10d6a86f620a6ba6507b5c6f60afd9663079df61a262477fa61b2dc6/function61/screen-server/issues/2
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/0bb255ad10d6a86f620a6ba6507b5c6f60afd9663079df61a262477fa61b2dc6/function61/screen-server/issues/2
og:image:altWhy is it a hardlink: tl;dr: hotplug support. If you don't want to run screen-server with --privileged (you shouldn't), and you don't want to bind the entire /dev/input (violates principle of least...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejoonas-fi
hostnamegithub.com
expected-hostnamegithub.com
None3d11bb817438277de2a940854450e83a7d32b6aeb5014e9e6b00a6423900251c
turbo-cache-controlno-preview
go-importgithub.com/function61/screen-server git https://github.com/function61/screen-server.git
octolytics-dimension-user_id22049800
octolytics-dimension-user_loginfunction61
octolytics-dimension-repository_id271008840
octolytics-dimension-repository_nwofunction61/screen-server
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id271008840
octolytics-dimension-repository_network_root_nwofunction61/screen-server
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasecd470457e909b9d062f8002cf438ba870e6acff6
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/function61/screen-server/issues/2#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffunction61%2Fscreen-server%2Fissues%2F2
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffunction61%2Fscreen-server%2Fissues%2F2
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=function61%2Fscreen-server
Reloadhttps://github.com/function61/screen-server/issues/2
Reloadhttps://github.com/function61/screen-server/issues/2
Reloadhttps://github.com/function61/screen-server/issues/2
Please reload this pagehttps://github.com/function61/screen-server/issues/2
function61 https://github.com/function61
screen-serverhttps://github.com/function61/screen-server
Notifications https://github.com/login?return_to=%2Ffunction61%2Fscreen-server
Fork 2 https://github.com/login?return_to=%2Ffunction61%2Fscreen-server
Star 11 https://github.com/login?return_to=%2Ffunction61%2Fscreen-server
Code https://github.com/function61/screen-server
Issues 2 https://github.com/function61/screen-server/issues
Pull requests 1 https://github.com/function61/screen-server/pulls
Discussions https://github.com/function61/screen-server/discussions
Actions https://github.com/function61/screen-server/actions
Security and quality 0 https://github.com/function61/screen-server/security
Insights https://github.com/function61/screen-server/pulse
Code https://github.com/function61/screen-server
Issues https://github.com/function61/screen-server/issues
Pull requests https://github.com/function61/screen-server/pulls
Discussions https://github.com/function61/screen-server/discussions
Actions https://github.com/function61/screen-server/actions
Security and quality https://github.com/function61/screen-server/security
Insights https://github.com/function61/screen-server/pulse
Document keyboard udev rulehttps://github.com/function61/screen-server/issues/2#top
documentationImprovements or additions to documentationhttps://github.com/function61/screen-server/issues?q=state%3Aopen%20label%3A%22documentation%22
https://github.com/joonas-fi
joonas-fihttps://github.com/joonas-fi
on Apr 3, 2021https://github.com/function61/screen-server/issues/2#issue-849637528
documentationImprovements or additions to documentationhttps://github.com/function61/screen-server/issues?q=state%3Aopen%20label%3A%22documentation%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.