Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mkimage-profiles
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ximper Linux
mkimage-profiles
Commits
d1e7fc06
Commit
d1e7fc06
authored
Aug 23, 2019
by
Nikita Ermakov
Committed by
Anton Midyukov
Jul 02, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x11-vnc: Initial X11 VNC feature
Add new feature for X11 VNC support. Please read features.in/x11-vnc/README for more information.
parent
5ab897cf
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
43 additions
and
0 deletions
+43
-0
README
features.in/x11-vnc/README
+4
-0
config.mk
features.in/x11-vnc/config.mk
+4
-0
51-x11-vnc
features.in/x11-vnc/rootfs/image-scripts.d/51-x11-vnc
+35
-0
No files found.
features.in/x11-vnc/README
0 → 100644
View file @
d1e7fc06
This feature allows to use X11 through VNC server. It adds x11vnc package and
sets default password to alt. Another thing is that this feature adds dummy
video adapter configuration to the /etc/X11/xorg.conf.d/. x11vnc becomes
default service.
features.in/x11-vnc/config.mk
0 → 100644
View file @
d1e7fc06
use/x11-vnc:
@$(call add,THE_PACKAGES,x11vnc x11vnc-service xorg-drv-dummy)
@$(call add,DEFAULT_SERVICES_ENABLE,x11vnc)
@$(call add_feature)
features.in/x11-vnc/rootfs/image-scripts.d/51-x11-vnc
0 → 100755
View file @
d1e7fc06
#!/bin/sh
# setup X11 to use it with a VNC
CFG
=
/root/.vnc/
[
-d
"
$CFG
"
]
||
mkdir
-p
"
$CFG
"
x11vnc
-storepasswd
alt
"
$CFG
"
/passwd
cat
>
/etc/X11/xorg.conf.d/51-dummy.conf
<<
EOF
Section "Device"
Identifier "Configured Video Device"
Driver "dummy"
VideoRam 16384
EndSection
Section "Monitor"
Identifier "Configured Monitor"
HorizSync 5.0 - 1000.0
VertRefresh 5.0 - 200.0
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Virtual 1024 768
EndSubSection
EndSection
EOF
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment