Outils pour utilisateurs

Outils du site


issue79:q_r

Ceci est une ancienne révision du document !


Q Did you ever find a version of Flash for old processors which do not have SSE2 instructions?

A Yes, thanks to Temujin in the Ubuntu Forums. First, completely remove all flash packages and close Firefox. Then run these commands: cd ~/.mozilla mkdir plugins wget https://github.com/downloads/ webgapps/flashaid/flashplayer 11_1r102_63_linux.i386.tar.gz tar xzf flashplayer11_1r102_63_linux. i386.tar.gz mv libflashplayer.so plugins/

Q I have LibreOffice installed, but I can not use the database part?

A It doesn't come in LibreOffice by default, as it's less commonly used than the other office applications. Just install it from the Software Center, or run “sudo apt-get install libreoffice-base” in a terminal.

Q On a freshly installed Saucy (13.10), my shutdown button disappeared after an update. How can I bring it back?

A Type in the command: sudo shutdown now When you start up again, the shutdown button should be back.

Q My computer is pretty new. I have been given $30 to spend on technology. What should I buy?

A Get a 32 GB USB 3.0 flash drive and copy your current data onto it. If you ever swap programs, documents, music, videos or pictures with your friends, a big, fast flash drive is wonderful. I find that a USB 3.0 flash drive is faster than older ones, even when plugged into a USB 2.0 port.

TOP NEW QUESTIONS AT ASKUBUNTU

* Using Git as off-line alternative for Dropbox http://goo.gl/3vcyhJ * Nautilus - How to apply Zoom on the filenames, not just on the thumbnails? http://goo.gl/Wvp5A5 * How to send sound using pulseaudio and shairplay to a Raspberry Pi? http://goo.gl/YBHVDn * Is there any way to set a greeting message in ubuntu? http://goo.gl/0v2BoZ * I can't install libdvdcss - script not finding medibuntu. How to get DVD playback? http://goo.gl/IQl0wN * How to view the `.bash_history` file via command line? http://goo.gl/GglGiU * Why do we need to be root in terminal for shutdown and restart? http://goo.gl/m14UwZ * No Dropbox icon in Ubuntu 13.10? http://goo.gl/Vo2Tmc * Picture of a spaceship occasionally appears on my monitor when switching monitors http://goo.gl/gtuRCi * What is the difference between man and man 7? http://goo.gl/dkA5t6 * Xorg.conf (nvidia) Second Monitor getting settings of first http://goo.gl/pF1exy * What is Ubuntu's policy on keeping old kernels? http://goo.gl/FVBztZ * How will people upgrade from 12.10 to 14.04 after 13.04 is EOL? http://goo.gl/YNYpMl * How can I install the $0 applications from the Ubuntu Software Center with apt-get? http://goo.gl/ukKgux

TIPS AND T ECHNIQUES

Remote Desktop

A current consulting gig requires that I use my computer at the client’s office, from home. The connection has two parts: first establish a virtual private network connection to the office network, then set up a remote desktop session to my computer.

I installed OpenVPN from the repositories, then configured it. The instructions for Windows are clear: put your configuration files in this specific location. For Linux, the instructions are silent. After far too much Google searching, I found the answer: put the files wherever you want, then tell OpenVPN where to find them. (There's actually just one configuration file, but there are also “key” and “certificate” files. As a note, the exact same set of files works for OpenVPN in Windows.) I put the files in a folder called vpn, and put a short script on my Desktop: cd ~/vpn sudo openvpn –config client-udp-1194.ovpn

I run the script, then provide my local password to satisfy sudo, then my name and password to log on to the virtual network at the office. The result is that I get an additional “tun” IP address, such as 10.1.5.26.

To connect to my computer, I installed rdesktop. Each of the computers at the office has remote desktop hosting (also known as terminal server), and the only way this works is if they each use static IP addresses, and an unique port for RDP. The port must be opened in the firewall, and forwarded to the specific computer.I found that rdesktop didn't work properly in full-screen mode, so I ran it at 80% of my local screen. I put a one-line command on my Desktop: rdesktop -g 80% 192.168.168.58:11019

That gets me to a screen where I enter the username and password to use my office computer, then it's just like I am sitting at that keyboard. Well, a bit slower sometime. One word of warning: if someone is using the remote (Windows) computer when you connect to it by OpenVPN and rdesktop, they get booted off. They can then kick you off by logging on at the keyboard! (Typically, no data is lost through all this.) It might save some embarrassment if you phone ahead.

issue79/q_r.1390315434.txt.gz · Dernière modification : 2014/01/21 15:43 de andre_domenech