Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
devcontainer-features
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
eazydevelop-devcontainer-temp
devcontainer-features
Commits
c546f4bf
Unverified
Commit
c546f4bf
authored
Jan 05, 2023
by
Marko Bausch
Committed by
GitHub
Jan 05, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
desktop-lite: fixed qemu container (#370)
* desktop-lite: fixed qemu container * bump version for desktop-lite
parent
ef192bf4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
devcontainer-feature.json
src/desktop-lite/devcontainer-feature.json
+1
-1
install.sh
src/desktop-lite/install.sh
+5
-5
No files found.
src/desktop-lite/devcontainer-feature.json
View file @
c546f4bf
{
"id"
:
"desktop-lite"
,
"version"
:
"1.0.
6
"
,
"version"
:
"1.0.
7
"
,
"name"
:
"Light-weight Desktop"
,
"documentationURL"
:
"https://github.com/devcontainers/features/tree/main/src/desktop-lite"
,
"description"
:
"Adds a lightweight Fluxbox based desktop to the container that can be accessed using a VNC viewer or the web. GUI-based commands executed from the built-in VS code terminal will open on the desktop automatically."
,
...
...
src/desktop-lite/install.sh
View file @
c546f4bf
...
...
@@ -299,9 +299,9 @@ startInBackgroundIfNotRunning()
{
log "Starting \
$1
."
echo -e "\n** \
$(
date
)
**" | sudoIf tee -a /tmp/\
$1
.log > /dev/null
if ! p
idof
\
$1
> /dev/null; then
if ! p
grep -x
\
$1
> /dev/null; then
keepRunningInBackground "\
$@
"
while ! p
idof
\
$1
> /dev/null; do
while ! p
grep -x
\
$1
> /dev/null; do
sleep 1
done
log "\
$1
started."
...
...
@@ -347,16 +347,16 @@ log "** SCRIPT START **"
# Start dbus.
log 'Running "/etc/init.d/dbus start".'
if [ -f "/var/run/dbus/pid" ] && ! p
idof
dbus-daemon > /dev/null; then
if [ -f "/var/run/dbus/pid" ] && ! p
grep -x
dbus-daemon > /dev/null; then
sudoIf rm -f /var/run/dbus/pid
fi
sudoIf /etc/init.d/dbus start 2>&1 | sudoIf tee -a /tmp/dbus-daemon-system.log > /dev/null
while ! p
idof
dbus-daemon > /dev/null; do
while ! p
grep -x
dbus-daemon > /dev/null; do
sleep 1
done
# Startup tigervnc server and fluxbox
sudo rm -rf /tmp/.X11-unix /tmp/.X*-lock
sudo
If
rm -rf /tmp/.X11-unix /tmp/.X*-lock
mkdir -p /tmp/.X11-unix
sudoIf chmod 1777 /tmp/.X11-unix
sudoIf chown root:\
${
group_name
}
/tmp/.X11-unix
...
...
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