Ubuntu 16.04 VNC Server Configuration
1. Installing X11VNC Server
sudo apt-get install X11vnc
2. Configure the VNC server password
sudo x11vnc-storepasswd/etc/x11vnc.pass
3. Create a service file
Vi/lib/systemd/system/x11vnc.service
[Unit]
Description=start X11vnc at startup.
After=multi-user.target
[Service]
Type=simple
Execstart=/usr/bin/x11vnc-auth Guess-forever-loop-noxdamage-repeat-rfbauth/etc/x11vnc.pass-rfbport 5910-shared
[Install]
Wantedby=multi-user.target
4. Configuring the SYSTEMD Service
Sduo Systemctl Daemon-reload
sudo systemctl enable X11vnc.service
sudo systemctl start X11vnc.service
5. Connect using a VNC client
6. Setting the VNC resolution
Create the/etc/x11/xorg.conf file, and then add the following:
section "Device"
Identifier "Configured Video Device"
Endsection
section "Monitor"
Identifier "Configured Monitor"
Endsection
Section "Screen"
Identifier "Default Screen"
Monitor "configured Monitor"
Device "Configured Video device"
Subsection "Display"
Depth 24
Virtual 1680 1050
Endsubsection
Endsection
ubuntu16.04 configuration eclipse cannot be displayed and is not functioning properly this is related to gnome.
Before the Eclipse.ini file--launcher.appendvmargs statement, add:
--launcher. Gtk_version
2
Edit the contents of the Eclipse.desktop file as follows
[Desktop Entry]
version=1.0
Name=eclipse
Exec=env swt_gtk3=0 ubuntu_menuproxy= Eclipse
Terminal=false
icon=/eclipse/icon.xpm
Type=application
Categories=ide;development
X-ayatana-desktop-shortcuts=newwindow
[NewWindow Shortcut Group]
Name=new Window
Exec=env swt_gtk3=0 ubuntu_menuproxy= Eclipse
Targetenvironment=unity
ubuntu16.04 installing VNC server and Eclipse configuration