C. Install MATLAB on Ubuntu server, use X11 and Putty output windows to Windows Desktop (supplemental content)

Source: Internet
Author: User
Tags xming

First, install Google Chrome browser


Openbox the second option in the right-click Default menu is Web browser, but the system has not installed any Web browsers as of now. We have the option to install chrome and the process is as follows.

# Open Control command line under Openbox: sudo apt-get install libxss1 libappindicator1 LIBINDICATOR7 # Note the above two last digits are the number 1, not the letter Lwget sudo dpkg-i go Ogle-chrome*.deb

This completes the installation of Google Chrome and now opens the browser via the right-click menu, which will run chrome directly.


If more than two browsers are installed in the system, execute the following command to select the default browser to run:

sudo update-alternatives--config x-www-browser


Second, use X11 client on Windows


The most well-known X11 Windows client should be Cygwin, but I prefer to use the green version of Xming (unzip and run directly on it).


Xming after decompression is this:

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/48/9E/wKiom1QKDgfiBS7zAACstrwxUL4697.png "title=" xming. PNG "alt=" Wkiom1qkdgfibs7zaacstrwxul4697.png "/>

We run the start Xming+putty.bat file instead of running Xming.exe or the putty.exe contained inside

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/48/9F/wKiom1QKDsOhQU4VAAB7SF1ul70452.png "title=" Capture.png "alt=" Wkiom1qkdsohqu4vaab7sf1ul70452.png "/>

After running, there will be an X icon in the bottom right corner of the screen and automatically open the Putty


Note that the putty needs to be set up before use:

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/48/9F/wKiom1QKD1XgMzr8AAIN-NFo80Y406.jpg "title=" Putty.png "alt=" Wkiom1qkd1xgmzr8aain-nfo80y406.jpg "/>

The default is to use the sessions stored in the file, our computer registration table is recorded well, need to highlight the special point.


Once you have created your own session (which can be saved in a registry or file), be careful to do the following:

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/48/A1/wKioL1QKEBThWm1FAABPIVJWCSo574.png "title=" AAAA. PNG "alt=" Wkiol1qkebthwm1faabpivjwcso574.png "/>

If the X11 output is not checked, putty will not be able to transfer the GUI window to Windows.

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/48/A1/wKioL1QKEfGhn6JdAACwn10xa3c969.png "title=" 123. PNG "alt=" wkiol1qkefghn6jdaacwn10xa3c969.png "/>ssh sign in, note that the command to start Chrome is Google-chrome & ( note the & behind; No this will not open multiple X Windows under Windows )


The following is the startup of Google-chrome under Windows via X11:

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/48/A1/wKioL1QKENSyHK6mAACWFEEjvAk109.png "title=" Chr. PNG "alt=" Wkiol1qkensyhk6maacwfeejvak109.png "/>

Note The X icon in the upper-left corner, which is not the same as opening chrome directly in Windows.


The collocation of Linux + X11 is very suitable for the environment erection of MATLAB This kind of calculation tool.


Third, let Linux access Windows shared folder, and automatically mount on each boot


This feature is like a map network stored under Windows to a drive letter (map networks), my goal is to allow Ubuntu to automatically after each restart can also map \\Server\SharedData to a corresponding folder under its system


Given that I don't need to provide support to multiple users, I'll map \\Server\SharedData to ~/matlabshare (ie:/home/user/matlabshare) for the sake of convenience.

# First install cifs-utils (old system is SMBFS) sudo apt-get install cifs-utilsmkdir ~/matlabshare # Create folder Nano ~/.smbcredentials # Create A to Remember The file of the user information # Nano will open a blank document, enter the following information: Username=xin # xin is my account name, replace it with your own password=1234 # 1234 is the password, also replace it with your own # save after exiting, modify the file permission to 6 00 (only the user can read and write) chmod ~/matlabsharesudo nano/etc/fstab # Edit Fstab file for automatic mount# add the following at the end//server/matlabshare/home/ Xin/matlabshare cifs credentials=/home/xin/.smbcredentials,iocharset=utf8,sec=ntlm,uid=1000,gid=1000 0 0 # last executed sudo Mount-a


This article is from the "www.DIYPCs.com" blog, make sure to keep this source http://cnbeta.blog.51cto.com/1234897/1549519

C. Install MATLAB on Ubuntu server, use X11 and Putty output windows to Windows Desktop (supplemental content)

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.