Outils pour utilisateurs

Outils du site


issue79:q_r

Table des matières

1

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 Avez-vous trouvé une version de Flash pour les anciens processeurs qui n'ont pas les instructions SSE2 ?

R Oui, grâce à Temujin dans les forums Ubuntu. Tout d'abord, enlevez complètement tous les paquets flash et fermez Firefox. Ensuite, exécutez ces commandes : 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 J'ai LibreOffice installé, mais je ne peux pas utiliser la partie base de données.

R Elle n'est pas installée par défaut dans LibreOffice, car elle est moins souvent utilisée que les autres applications de bureau. Installez-la à partir du Centre de Logiciels, ou exécutez  sudo apt-get install libreoffice base dans un 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.

Q Sur un Saucy (13.10) fraîchement installé, mon bouton d'arrêt a disparu après une mise à jour. Comment puis-je le retrouver ?

R Tapez la commande : sudo shutdown now Après redémarrage, le bouton d'arrêt devrait être de retour.

Q Mon ordinateur est assez nouveau. J'ai reçu 30 $ à dépenser en technologie. Que dois-je acheter ?

R Prenez une clé flash 32 Go USB 3.0 et copiez-y vos données actuelles. Si jamais vous échangez des programmes, des documents, de la musique, des vidéos ou des photos avec vos amis, une grande et rapide clé flash, c'est merveilleux. Je trouve que les clés USB 3.0 sont plus rapides que les anciennes, même quand elles sont branchées sur un port USB 2.0.

2

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

Top des nouvelles questions sur Askubuntu

* Utiliser Git comme alternative à Dropbox non connectée. http://goo.gl/3vcyhJ * Nautilus : Comment zoomer sur les noms de fichier, et pas seulement sur les vignettes ? http://goo.gl/Wvp5A5 * Comment envoyer du son en utilisant pulseaudio et shairplay vers un Raspberry Pi ? http://goo.gl/YBHVDn * Y a-t-il un moyen d'afficher un message de bienvenue avec Ubuntu ? http://goo.gl/0v2BoZ * Je ne peux pas installer libdvdcss : le script ne trouve pas medibuntu. Comment lire mon DVD ? http://goo.gl/IQl0wN * Comment lire le fichier « .bash_history » par la ligne de commande ? http://goo.gl/GglGiU * Pourquoi doit-on être root dans un terminal pour arrêter et redémarrer ? 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

* Pas d’icône Dropbox dans Ubuntu 13.10 ? http://goo.gl/Vo2Tmc * L'image d'un vaisseau spatial apparaît occasionnellement sur mon écran quand je change d'écran. http://goo.gl/gtuRCi * Quelle est la différence entre man et man 7 ? http://goo.gl/dkA5t6 * Le fichier Xorg.conf (nvidia) de mon second écran prend les paramètres du premier. http://goo.gl/pF1exy * Quelle est la politique d'Ubuntu quant à garder de vieux noyaux ? http://goo.gl/FVBztZ * Comment va-t-on mettre à jour de la 12.10 à la 14.04 lorsque la 13.04 sera EOL (End Of Life) ? http://goo.gl/YNYpMl * Comment puis-je installer les applications à 0$ du Centre de Logiciels Ubuntu à l'aide de apt-get ? http://goo.gl/ukKgux

3

TIPS AND TECHNIQUES 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.

TRUCS ET ASTUCES

Connexion à distance

Actuellement une mission de conseil exige que j'utilise mon ordinateur dans les locaux d'un client, à partir de chez moi. La connexion comporte deux parties : d'abord établir une connexion de réseau privé virtuel vers le réseau du client, puis monter une session de bureau à distance sur mon ordinateur.

J'ai installé OpenVPN à partir des dépôts, puis l'ai configuré. Les instructions pour Windows sont claires : mettre vos fichiers de configuration à cet endroit précis. Pour Linux, les instructions sont muettes. Après beaucoup trop de recherches Google, j'ai trouvé la réponse : mettez les fichiers là où vous voulez, et dites à OpenVPN où les trouver. (Il y a en fait juste un fichier de configuration, mais il y a aussi les fichiers « key » (clé) et « certificate ». Remarquez que le même ensemble de fichiers fonctionne pour OpenVPN dans Windows.) J'ai mis les fichiers dans un dossier appelé vpn et mis un petit script sur mon bureau : cd ~/vpn sudo openvpn –config client-udp-1194.ovpn

Je lance le script, puis je donne mon mot de passe local pour satisfaire sudo, puis mon nom et mot de passe pour me connecter au réseau virtuel chez le client. Le résultat est que je reçois une adresse IP supplémentaire « tun » (tunnel), telle que 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.

Pour se connecter à mon ordinateur, j'ai installé rdesktop. Chaque ordinateur chez le client a le service de connexion à distance (également connu comme serveur de terminal), et la seule façon dont ça fonctionne est seulement s'ils utilisent chacun des adresses IP statiques, et un même port pour RDP. Le port doit être ouvert dans le pare-feu, et transmis au bon ordinateur. J'ai constaté que rdesktop ne fonctionnait pas correctement en mode plein écran, donc je l'ai redimensionné à 80 % de mon écran local. J'ai mis une commande d'une ligne sur mon bureau : rdesktop -g 80% 192.168.168.58:11019

Cela m'amène à un écran où j'entre le nom d'utilisateur et le mot de passe pour utiliser mon ordinateur de bureau, ensuite c'est juste comme si j'étais assis en face de ce clavier. Bon, parfois un peu plus lent. Un mot d'avertissement : si quelqu'un utilise l'ordinateur distant (Windows) lorsque vous vous y connectez par OpenVPN et rdesktop, il est éjecté. Ils peuvent aussi vous mettre dehors en se connectant sur le clavier local ! (En général, aucune donnée n'est perdue parmi tout ça). Il est possible d'éviter cet embarras en téléphonant à l'avance.

issue79/q_r.txt · Dernière modification : 2014/04/12 15:03 de gsxfred