Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
web
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cloud
web
Commits
2cc88408
Commit
2cc88408
authored
3 years ago
by
Emanuele Petagna
Browse files
Options
Downloads
Patches
Plain Diff
fixing syntax..
parent
fcc1b72f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
web/support/FAQ.rst
+6
-6
6 additions, 6 deletions
web/support/FAQ.rst
with
6 additions
and
6 deletions
web/support/FAQ.rst
+
6
−
6
View file @
2cc88408
...
@@ -689,15 +689,15 @@ it depends on your SSH Client.
...
@@ -689,15 +689,15 @@ it depends on your SSH Client.
1. SSH login to your OpenStack VM
1. SSH login to your OpenStack VM
2. install XFCE4: `sudo apt-get install ubuntu-gnome-desktop gnome-icon-theme tigervnc-standalone-server`
2. install XFCE4: `sudo apt-get install ubuntu-gnome-desktop gnome-icon-theme tigervnc-standalone-server`
3. create a .vnc folder in your user home: `mkdir .vnc`
3. create a .vnc folder in your user home: `mkdir .vnc`
4. create xstartup file in `~/.vnc/` and paste the following content:
4. create xstartup file in `~/.vnc/` and paste the following content:
:
::
#!/bin/sh
#!/bin/sh
# Start Gnome 3 Desktop
# Start Gnome 3 Desktop
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
vncconfig -iconic &
vncconfig -iconic &
dbus-launch --exit-with-session gnome-session &
dbus-launch --exit-with-session gnome-session &
::
5. run `vncpasswd` and set VNC password (you can skip the viewer password)
5. run `vncpasswd` and set VNC password (you can skip the viewer password)
6. run `vncserver -geometry WIDTHxHEIGHT -localhost yes -rfbport PORT`, replace **WIDTH** and **HEIGHT** with
6. run `vncserver -geometry WIDTHxHEIGHT -localhost yes -rfbport PORT`, replace **WIDTH** and **HEIGHT** with
desired values (ex: 1024x768) and PORT (ex: 5901, default port)
desired values (ex: 1024x768) and PORT (ex: 5901, default port)
...
@@ -708,15 +708,15 @@ it depends on your SSH Client.
...
@@ -708,15 +708,15 @@ it depends on your SSH Client.
When you do not need anymore VNC you can stop it; on your OpenStack VM:
When you do not need anymore VNC you can stop it; on your OpenStack VM:
1. run `vncserver --list`, you should get a list of active VNC displays
1. run `vncserver --list`, you should get a list of active VNC displays
::
::
testuser@test-gui:~$ vncserver --list
testuser@test-gui:~$ vncserver --list
TigerVNC server sessions:
TigerVNC server sessions:
X DISPLAY # RFB PORT # PROCESS ID
X DISPLAY # RFB PORT # PROCESS ID
:2 5902 36811
:2 5902 36811
::
2. kill the proper VNC display: `vncserver -kill :DISPLAY`, replace **DISPLAY** with correct value (ex: 2 in our example)
2. kill the proper VNC display: `vncserver -kill :DISPLAY`, replace **DISPLAY** with correct value (ex: 2 in our example)
3. logout
3. logout
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment