ubuntu16.04 installing VNC server and Eclipse configuration

Source: Internet
Author: User
Tags x11vnc

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.