Ubuntu Remote Desktop and QT installation

Source: Internet
Author: User

Environment: ubunut14 x64

Objective: To write QT programs on Ubuntu via VNC Remote Desktop

1. Install Remote Desktop
Apt-get Install xrdp vnc4server xbase-clients dconf-editor #安装xrdp, Vnc4server
Apt-get Install Gnome-panel Gnome-settings-daemon metacity Nautilus gnome-terminal #安装桌面

2. Modify/root/.vnc/xstartup to the following content

#!/bin/sh

# Uncomment the following-lines for normal desktop:
# unset Session_manager
# Exec/etc/x11/xini T/XINITRC
export xkl_xmodmap_disable=1  
unset session_manager  
unset dbus_session_bus_address  

Gnome-panel &  
Gnome-settings-daemon &  
metacity &  
Nautilus &  
Gnome-terminal &

root@# Vnc4server
The first run will require a login password (for VNC connection)

Apt-get Install Lsb-core

1. Install some libraries to avoid the strange problems behind
Apt-get Install build-essential debian-keyring Freeglut3-dev

2. Installation of qt5.7 and Qtcreator

Download Address HTTP://DOWNLOAD.QT.IO/OFFICIAL_RELEASES/QT/5.7/5.7.1/
Select Qt-opensource-linux-x64-5.7.1.run

Edit permissions after uploading to Ubuntu
chmod 777 Qt-opensource-linux-x64-5.7.1.run
Then install qt5.7

Download Qtcreator
Download Address: http://download.qt.io/official_releases/qtcreator/4.1/4.1.0/
Select Qt-creator-opensource-linux-x86_64-4.1.0.run
Install with qt5.7 to install package permissions

Note: If you create a project prompt after starting Qtcreator, no build kit is
manually specified qmake

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.