Welcome to Planet openSUSE

This is a feed aggregator that collects what openSUSE contributors are writing in their respective blogs.

To have your blog added to this aggregator, please read the instructions.


Friday
01 July, 2016


face

The Taste of Avocado

Mr. Viktor Avocado
Viktor and Zdenek have been trying the Avocado Framework to be used for our automatic regression tests instead of Autotest. They were quite successful in breaking the stuff first to actually succeed at the end. They have also subscribed for giving the presentation about the project on Friday.

Avocado provides the framework for running tests written in any programming language, but it additionally provides useful API for tests written in Python. For those, who want to try Avocado themselves, there is an RPM built for openSUSE at our build service.

Windows 10 in openQA

Happy Jozef and his Windows
Jozef's project was to install and use Windows 10 in openQA because we, of course, support dual-boot openSUSE/Windows scenario and want to make sure that we don't break it in the future.

Jozef was mainly struggling with the fact that openQA (KVM) uses SCSI disks, but Windows did not support them by default. There are several ways how to overcome this issue. Some solutions can be found either here or there.

At the end, Jozef has succeeded and this new automated regression test will be added to our openQA - a great continuous integration framework. Well done!

Jenkins Dashboard - Putting The Pieces Together

Tomas doing a small talk with Slenkins
Tomas worked on a Dashboard for showing the current state of our Jenkins/Slenkins instance used for running package regression tests. The UI should be similar to what we are getting from openQA nowadays.

The project itself already has a working prototype and uses as much as possible from other libraries and frameworks (Pharo, Seaside, Bootstrap) and also uses the Jenkins XML API for getting the data to show.

face

¿Quieres conocer las noticias y eventos de la Fundación de Software Libre? Entonces sigue leyendo

FSF_logo

La Fundación para el Software Libre o Free Software Foundation (FSF) es una organización creada en Octubre de 1985 por Richard Stallman y otros entusiastas del software libre con el propósito de difundir este movimiento.

La Fundación para el software libre (FSF) se dedica a eliminar las restricciones sobre la copia, redistribución, entendimiento, y modificación de programas de computadoras. Con este objeto, promociona el desarrollo y uso del software libre en todas las áreas de la computación, pero muy particularmente, ayudando a desarrollar el sistema operativo GNU.

Además de tratar de difundir la filosofía del software libre, y de crear licencias que permitan la difusión de obras y conservando los derechos de autorías, también llevan a cabo diversas campañas de concienciación y para proteger derechos de los usuarios frentes a aquellos que quieren poner restricciones abusivas en cuestiones tecnológicas.

Mensualmente publican un boletín (supporter) con noticias relacionadas con sus campañas, o eventos. Una forma de difundir sus proyectos, para que la gente conozca los hechos, se haga su propia opinión, y tomen partido si creen que la reivindicación es justa!!

no_privacy_without_free_software

Puedes ver todos los números publicados en este enlace: http://www.fsf.org/free-software-supporter/free-software-supporter

Aqui te traigo un extracto de algunas de las noticias que ha destacado la FSF este mes de julio de 2016:

.- ¡Dile a los legisladores de la Unión Europea: La neutralidad de la red no es sólo para EEUU e India!

Del 24 de junio

El cuerpo de Legisladores Europeos de Comunicaciones Electrónicas (BEREC por sus siglas en inglés) ha lanzado un proyecto de protección de neutralidad de la red que cubriría todos los países en la Unión Europea. Pero han dejado enormes agujeros permitiendo algunos casos de violación de la red conocidos como de tipo cero y límite de tráfico.

Afortunadamente, tenemos una oportunidad de arreglar esto: BEREC ha preguntado a los usuarios, junto a los líderes del sector y empresarios, para que tengan un retorno de sus proyectos de leyes.

.- LulzBot TAZ 6 impresora 3D ahora con certificación de la FSF de respeto a tu libertad

Del 13 de junio

Hemos adjudicado con el certificado “Respeta tu Libertad (RYF por sus siglas en inglés Respect Yuor Freedom) a la TAZ 6, el sexto modelo de la línea de impresoras 3D LulzBot TAZ de Aleph Objects, Inc. y su décimo producto certificado con el certificado RYF. La marca de la certificación RYF significa que el producto cumple los estándares en materia de la libertad del usuario, control sobre el producto y privacidad.


face

Ontem o Youtube anunciou o YouTube Kids, uma plataforma de conteúdo voltado para a família. Para os papais e as mamães de plantão, esta ferramenta oferece um ambiente mais seguro para crianças de 2 a 8 anos, sem contar na interface amigável, com ícones coloridos e botões maiores. Para os interessados a instalação no Android AQUI e para IO AQUI.

youtube-kids

 



Thursday
30 June, 2016


face

 

Preparations for the openSUSE.Asia Summit is rolling.  Following tradition, we are back with the logo contest. We are looking for a logo reflecting openSUSE and its community in Asia. The contest is open now and ends on 3 August 2016. “Geeko Mystery Box” will be sent as an appreciation for the best logo designed.

The Rules of the Contest are as follows:

  1. Design should be original and not copied.
  2. Both monochromes and color formats are essential for submission.
  3. Submissions must be in SVG format.
  4. Design should reflect the openSUSE community in Asia.
  5. The logo should avoid the following things:
    • Brand names or trademarks of any kind.
    • Illustrations that may consider inappropriate, offensive, hateful, tortuous, defamatory, slanderous or libelous.
    • Sexually explicit or provocative images.
    • Violence or weapons.
    • Alcohol, tobacco, or drug use imagery.
    • Discrimination based on race, gender, religion, nationality, disability, sexual orientation or age.
    • Bigotry, racism, hatred or harm against groups or individuals
    • Religious, political, or nationalist imagery.
  6. The logo should follow “openSUSE Project Trademark Guidelines” published at https://en.opensuse.org/File:OpenSUSE_Trademark_Guidelines.pdf
  7. The logo should be licensed under CC-BY-SA 3.0.

Please send your design to medwin@opensuse.org with the following entries:

Vector file of the design in attachment, with SVG format ONLY.

Bitmap of design in attachment – image size: 256*256px at least. Format: png or jpg. Less than 512KB.

Your name.

Where are you working/studying now? (optional)

Your phone number. (optional)

The openSUSE.Asia Summit Committee will decide on the logos, subject to the condition, that the logo meets all the requirements. The final decision will be made by openSUSE.Asia Summit Committee and it may not be the highest scored design. We recommend the artist to use Inkscape, a powerful, free and open source vector graphics tool for all kinds of design.

 


face

I won a Banana Pi from ownCloud. So I tried to install openSUSE.

There are 3 options:

1. According to the wiki page, you can download the image they provide but there's no kernel support for Mali400MP2 GPU (who knows if it's fixed by now). No Mali mean no GUI. The link to image is http://download.opensuse.org/ports/armv7hl/tumbleweed/images/.

2. Download the image from http://www.lemaker.org. The GUI used is XFCE.

3. Do it the hard way, build it yourself. I would like to install MATE. I know, I could use the lemaker image.
I followed the page HowTo Build Banana Pi Image.

This post has 2 sections. The first is how to create the SD card and the next one is how to install MATE.

Create the SD card.

1. Create a folder where you're going to work (download the nessesary files).

mkdir WORKSPACE

cd WORKSPACE


2. I'll skip the steps 1-5 from the Build it yourself page. You can download the file:

BananaPi_hwpack.tar.xz

Download also the rootfs openSUSE image file.

openSUSE-Tumbleweed-ARM-JeOS.armv7-rootfs.armv7l-Current.tbz

3. Create the folder with the ROOTFS_DIR

mkdir ROOTFS_DIR

4. Decompress the file to ROOTFS_DIR

openSUSE-Tumbleweed-ARM-JeOS.armv7-rootfs.armv7l-Current.tbz


5. Now work with the file BananaPi_hwpack.tar.xz. Decompress the file.

tar xvfJ BananaPi_hwpack.tar.xz

6. Copy related files to the directory ROOTFS_DIR

cp kernel/script.bin ROOTFS_DIR/boot
cp kernel/uImage ROOTFS_DIR/boot

Create the file:

nano ROOTFS_DIR/boot/uEnv.txt

with the following content

mmcboot=fatload mmc 0 0x43000000 script.bin || fatload mmc 0 0x43000000 evb.bin; \
fatload mmc 0 0x48000000 uImage; if fatload mmc 0 0x43100000 uInitrd; \
then bootm 0x48000000 0x43100000; else bootm 0x48000000; fi
uenvcmd=run mmcboot
bootargs=console=ttyS0,115200 console=tty0 \
disp.screen0_output_mode=EDID:1280x720p60 \
hdmi.audio=EDID:0 root=/dev/mmcblk0p1

Copy the rootfs folder:

cp -r rootfs/* ROOTFS_DIR

7. Now prepare the SD. Format the sdcard (assume the sdcard mounted at /dev/sdb. You can find it with the command cat /proc/partitions)

sudo umount /dev/sdb1

sudo dd if=/dev/zero of=/dev/sdb bs=1k count=1024

sudo dd if=bootloader/u-boot-sunxi-with-spl.bin of=/dev/sdb bs=1024 seek=8

Create partition (you can do it using gparted too)

sudo fdisk /dev/sdb

* Delete partitions: o
* List partitions: p
* Create new partitions: n
* Primary partitions: p
* Partition number: 1
* Press ENTER twice to use the total size of the card
* Write the partition table: w

Format the parititon

sudo mkfs.ext4 /dev/sdb1

8. Copy ROOTFS_DIR into sdcard

mkdir mnt
sudo mount /dev/sdb1 mnt
sudo cp -a ROOTFS_DIR/* mnt
sudo sync
sudo umount mnt

Now boot the card. The default username/password are:

Username: root
Password: linux

Unfortunately ssh didn't work. I logged in and changed few things.
First of all I edited the file sshd_conf

nano /etc/ssh/sshd_conf

And found:
Port 22
PasswordAthentication yes
PermitRootlogin yes


Then I used the command

chown -R root /var/lib/empty


face

Gordon: Automagic Testsuite for Crowbar

Evgeny making Gordon green
What does not need to be done manually, should not be done manually. If you have a set of tests that you always need to run before you release a maintenance update, automate it. This saves you time for the cool stuff.

Evgeny's HackWeek project is to automate various crowbar tests using Splinter - a powerful, easy-to-use library, written in Python, for testing web-based applications. There is an animation demonstrating how it flies in action at the GitHub project page.

The plan is to integrate this project into the official QA Maintenance testsuite and speed-up the process of releasing updates while still being sure that everything works as expected.

Deploying Testing HA Cluster in VMs Easily

Screenshot from the video
Another great example of saving a lot of time is Antoine's project for deploying a testing HA cluster using several virtual machines. All is written in Bash and it's easy to understand thanks to a well-commented code and help.

You can find an extensive documentation and explanation at the respective GitHub project. Including three YouTube videos [video #1], [video #2], [video #3] showing the beast in action!

If you ever wanted to explore how HA works, this is the right project to start with. Antoine is looking for your feedback.

face

Como instalar e ativar o OpenBox no Mate

Se você usa o Mate e quer usar um gerenciador de janelas minimalista e leve, veja como instalar e ativar o OpenBox no Mate.

Leia o restante do texto "Como instalar e ativar o OpenBox no Mate"

Este texto saiu primeiro em Como instalar e ativar o OpenBox no Mate


face

YaST Code Closer to the Ruby World

Yast team brainstorming
There is a long-running YaST project, driven by Imobach, that should bring YaST code (which is written in Ruby) closer to expectations and conventions of any common Ruby project. There are several reasons for that. For instance, we'd like to enable Yast classes to be packaged as Ruby Gems and to lower the entry barrier for any Ruby developer in general. So, files should be in directories where you expect them and their names and class names should match.

Fragments of the project output
As there is a HackWeek at SUSE and Imo, Knut and Ancor were visiting the Prague office, we took the chance to discuss this in person and we have a plan how this should look like in the future. During our discussion, we have found out that we might need yet another course in handwriting (after leaving the primary school years ago).

Let's have some beer now :)
Now it's time to document our plan and start working on the proof of concept, but the ship has already started moving to the right direction. This will be particularly challenging with the number of Yast libraries we currently maintain.

Static Ruby Code Analysis with ruby-lint

Martin works on an interesting project that should help Yast to identify unused and misused variables and methods (and more). See an example of badly-used code and the output of ruby-lint in the project itself.

Orca: an Intelligent Ceph Testing

SUSE has already released a version 3 of SUSE Enterprise Storage based on Ceph which is highly-scalable, fault-tolerant and self-healing by definition, but we'd like to enhance it even more by finding the bottlenecks, by being as mean and cruel as possible to find it's limits. Then we'd like to focus on what we will find and make it even more robust in the future.

This all needs an intelligent creature (or even a herd of creatures attacking together and having fun of that). A creature that is able to inspect, learn and attack and also learn from its failure. All this (and even more) should be the result of five brave developers lead by Lars working on project Orca: Hunting Cephalopods for Fun and Dinner.

Wednesday
29 June, 2016


face

The openSUSE.Asia Committee is seeking sponsors for the third edition of openSUSE.Asia Summit. The summit will take place in Yogyakarta, Indonesia from Sept 30 – Oct 2nd 2016. With over 400 attendees every year, we expect the trend to follow suite. Our attendees are casual, power and business users. Sponsorship covers facility and travel costs.

We aim to provide a free platform for users, contributors, and developers. The summit fosters relationships across open source enthusiasts. Attendees take this opportunity to learn about different modern technologies and share their experiences. Sponsorships show your appreciation for our community. It is also a great way to

  • Promote your products in the community.
  • Business can promote their solutions / services to our community and stakeholders through business tracks.
  • Sponsors can promote their products / services through
    • openSUSE.Asia Summit website.
    • Printed materials advertising the event.
    • Summit welcome package.
    • Promotional advertising visible throughout the event location.
    • Other community events that   to promote openSUSE.Asia summit.
    • Sponsors can also request a booth to highlight their products and businesses.

Contact Estu Fardani (estu@jogja.linux.or.id) no later than 15th of September, 2016. The sponsorship prospectus is available at https://github.com/tuanpembual/Summit2016/blob/master/CFP_V140616.pdf.

 


face

Conversor de áudio: veja como instalar o fre:ac no Linux

Procurando um bom conversor de áudio para seu sistema? Então veja como instalar o fre:ac no Linux e resolva seu problema.

Leia o restante do texto "Conversor de áudio: veja como instalar o fre:ac no Linux"

Este texto saiu primeiro em Conversor de áudio: veja como instalar o fre:ac no Linux


face

Como instalar o Kingsoft WPS Office no Linux manualmente

Quer usar o WPS Office, mas não usa Ubuntu, Debian, Fedora e derivados? Então veja neste tutorial como instalar o Kingsoft WPS Office no Linux manualmente, ou seja, em praticamente qualquer distribuição.

Leia o restante do texto "Como instalar o Kingsoft WPS Office no Linux manualmente"

Este texto saiu primeiro em Como instalar o Kingsoft WPS Office no Linux manualmente


face

Como instalar o Apache OpenOffice no Linux

Essa dica é para os usuários que preferem usar o Apache OpenOffice no Linux, veja como instalar essa suíte office em seus sistemas, em substituição ao LibrOffice que normalmente vem instalado por padrão.

Leia o restante do texto "Como instalar o Apache OpenOffice no Linux"

Este texto saiu primeiro em Como instalar o Apache OpenOffice no Linux


face
  • La Mapería

    It is Hack Week at SUSE, and I am working on La Mapería (the map store), a little program to generate beautiful printed maps from OpenStreetMap data.

    I've gotten to the point of having something working: the tool downloads rendered map tiles, assembles them with Cairo as a huge PDF surface, centers the map on a sheet of paper, and prints nice margins and a map scale. This was harder to me than it looks: I am pretty good at dealing with pixel coordinates and transformations, but a total newbie with geodetic calculations, geographical coodinate conversions, and thinking in terms of a physical map scale instead of just a DPI and a paper size.

    Printed map Printed map 2

    The resulting chart has a map and a frame with arc-minute markings, and a map scale rule. I want to have a 1-kilometer UTM grid if I manage to wrap my head around map projections.

    Coordinates and printed maps

    The initial versions of this tool evolved in an interesting way. Assembling a map from map tiles is basically this:

    1. Figure out the tile numbers for the tiles in the upper-left and the lower-right corners of the map.
    2. Composite each tile into a large image, like a mosaic.

    The first step is pretty easy if you know the (latitude, longitude) of the corners: the relevant conversion from coordinates to tile numbers is in the OpenStreetMap wiki. The second step is just two nested for() loops that paste tile images onto a larger image.

    When looking at a web map, it's reasonably easy to find the coordinates for each corner. However, I found that printed maps want one to think in different terms. The map scale corresponds to the center of the map (it changes slightly towards the corners, due to the map's projection). So, instead of thinking of "what fits inside the rectangle given by those corners", you have to think in terms of "how much of the map will fit given your paper size and the map scale... around a center point".

    So, my initial tool looked like

    python3 make-map.py
            --from-lat=19d30m --from-lon=-97d
            --to-lat=19d22m --to-lon=-96d47m
            --output=output.png

    and then I had to manually scale that image to print it at the necessary DPI for a given map scale (1:50,000). This was getting tedious. It took me a while to convert the tool to think in terms of these:

    • Paper size and margins
    • Coordinates for the center point of the map
    • Printed map scale

    Instead of providing all of these parameters in the command line, the program now takes a little JSON configuration file.

    La Mapería generates a PDF or an SVG (for tweaking with Inkscape before sending it off to a printing bureau). It draws a nice frame around the map, and clips the map to the frame's dimensions.

    La Mapería is available on github. It may or may not work out of the box right now; it includes


Tuesday
28 June, 2016


face

The ESP8266 lacks any hardware support for PWM. Any ATtiny, PIC or any ARM Cortex M0 based SoC fares better in this regard, although the smallest SoCs may have only one or two channels.

As an alternative to hardware PWM it is possible to do PWM purely in software, typically assisted by interrupts from a hardware counter. For the ESP8266 a software PWM implementation is available in the SDK provided by Espressif, but it comes with several strings attached:

  1. It has a quite awkward API, the documentation lacks several important points open
  2. As any interrupt based implementation it is susceptible for glitches
  3. The duty cycle is limited to 90% maximum

The missing manual parts

The API has four important functions to control the PWM, as follows:

void pwm_set_duty(uint32 duty, uint8 channel)

Set the duty for a logical channel. One duty unit corresponds to 40ns. The maximum should be period / 40ns, but due to the implementation there is a fixed dead time of 100μs which limits the maximum duty to 90% when using a period of 1ms (i.e. a frequency of 1kHz).

void pwm_set_period(uint32 period)
Set the PWM period to period microseconds.

void pwm_start(void)
Needs to be called before any pwm_set_duty, pwm_set_period calls take any effect. Does some preparatory work needed for the interupts handler to do its job of toggling the GPIOs.

void pwm_init(uint32 period, uint32 *duty,
uint32 pwm_channel_num, uint32 (*pin_info_list)[3])

duty points to an array of duty cycles, the number of array elements depends on the number of used channels. From the documentation it is not obvious if this is only needed for initial settings, if this is also accessed after the pwm_init call (e.g. ownership of the array is transfered) and if is save to pass NULL here.

pin_info_list points to an array of arrays. It better had been declared as an array of structs, each struct storing the configuration of a GPIO pin. As is, each 3-tuple stores:

  1. the name of the MUX configuration register as documented in the GPIO chapter of the SDK, see the PIN_FUNC_SELECT macro
  2. the name of the MUX setting, see GPIO SDK documentation
  3. the number of the GPIO from 0 to 15

One 3-tuple is needed for each PWM channel/GPIO pin. Ownership transfer is not documented.

The „90% maximum duty“ limitation

The maximum duty limit is an implementation artifact. To understand where this limitation is coming from, it is necessary how the the software PWM works. The following two scope traces both show the same signals, 2 PWM channels with a duty of 1467 (58.7μs) and 399 counts (15.9μs), with a specified period of 1000μs, but different timebases (500μs/div resp. 20μs/div).

1kHz PWM from Espressif SDK1kHz PWM from Espressif SDK. A specified period of 1 milliseconds results in a period of 1.1 milliseconds.
1kHz PWM from Espressif SDK1kHz PWM from Espressif SDK. Each Period is split into a „short pulse“ and a „long pulse“ phase.

As can be seen, in each


Victorhck: Reloj GNU/Linuxero

19:02 UTCmember

face

Un reloj en html con la imagen de GNU y Tux para lo que tu quieras.

Esta entrada viene al hilo de una que ha escrito Yoyo en su web y que puedes leer en este enlace:

En ella Yoyo compartía la creación de Rubén Verdute Ávila, (gracias) uno de sus contactos por Google Plus que es el creador del reloj con la imagen de Tux que Yoyo compartió.

Llamadme friki, llamadme extremista, o lo que queráis, pero me pareció que a ese Tux le faltaba un GNU, al igual que a un Kernel le falta un sistema operativo para que funcionase todo a la perfección.:)

Así que después de conseguir el código (gracias Firefox por tu modo de desarrollador) estuve trasteando con él e hice el reloj GNU/Linuxero que ves en la imagen. He creado una página en GitLab en la que le puedes ver funcionamiento:

Y el código también está en GitLab:

El creador lo ha liberado bajo licencia MIT, así que esa misma tiene el código de GitLab. Gracias a Rubén por crear el código y a Yoyo por difundirlo.

———————————————–



face


Un pequeño plasmoid para escritorio KDE4


face

Last Friday, at openSUSE Conference 2016, I was giving a talk together with Christian Schneemann about KIWI and OBS (the events.opensuse.org software is not able to manage "two speakers for one talk", this is why I am not listed in the schedule).

The slides from that talk are now available from the B1-Systems website.


Monday
27 June, 2016


face

Semarang, Indonesia by Yohanes Dicky Yuniar

The openSUSE.Asia Committee are announcing the call for papers for 3rd openSUSE.Asia Summit. Starting today, the Committee is looking forward to your proposals. We are looking for free and open source software advocates. All open source contributors, enthusiasts, and business owners can submit.

Presentations are in the following formats

  • Lightning Talk (10 mins)
  • Short Talk (30 mins)
  • Long Talk (60 mins)
  • Workshop Short (2 hours)
  • Workshop (3 hours)

The openSUSE.Asia committee recommends workshops or hands-on sessions.

The conference website is accepting submissions starting now until 3 August 2016.  Proposals should include a title and an abstract of 150 – 500 words. The committee will announce the accepted proposals on 17th August 2016.


face

We Have Just Started!

This is our fourteenth HackWeek at SUSE already. HackWeek is a SUSE way of Hackathon
which is usually one full week long. This time it's actually six days, overlapping one day with the openSUSE conference in Nürnberg. See more including current projects at the HackWeek page.

SUSE Prague at the HackWeek XIV Opening Event
Although we have started on Friday and it's just Monday, we already have quite some results to show...

YaST Dialog Editor

YaST guys discussing the idea
Ladislav came with an idea to have a WYSIVYG editor for YaST dialogs. Right now, you have to design a dialog, write an exact definition of the dialog in the code and then run it to see the result. His project enables everyone to change a dialog on-the-fly directly in a running YaST. You can already open the editor, delete some widgets or edit their properties. See more at the project itself.

We were already able to open a Stylesheet Editor by pressing Ctrl-Shift-Alt-S in YaST (and also the Installer) and edit the used style. Ladislav's project uses similar approach to the dialog content.

Rooms management for Janus/Jangouts using Salt

Jangouts welcome screen
We use Jangouts every day for our SCRUM stand-up calls, and other meetings. More and more teams at SUSE want to do the same, but the current Jangouts does not allow to create rooms as they are needed yet - an administrator has to adjust the configuration manually and reload the service.

Ancor originated the idea to use Salt for the Jangouts room management and Pablo took it and already implemented a working solution which talks directly to the Janus REST API.

Speeding-Up The Installer

13 seconds faster!
We have been using openQA for continuous integration testing for quite some time and we are writing more and more tests. This means that we have to run them, but as time is actually limited, every second counts. Especially the saved one and even more if you multiply the result by several hundreds (tests per week). Moreover, this should lead into saving resources and being greener at the end.

Josef has decided to speed-up the installer by not doing things that are not necessary. He already succeeded in saving 13 seconds (from 58 seconds down to 45) while writing and adjusting the bootloader settings (here and here).

Stay tuned for the update! Or contribute to our projects :)

face

Po dlouhé době jsem našel zase nějaký čas navíc a tak jsem se rozhodl věnovat ho druhému dílu vzdáleného ovládání v Linuxu. Dnes vám představím program X2GO, který má oproti NoMachine výhodu v tom, že nekopíruje obraz z fyzického monitoru, ale pro každého uživatele připojeného k serveru vytvoří nové sezení.

Instalace X2GO
X2GO má dvě aplikace (server a client). X2GO server nainstalujete na počítač, který bude ovládán vzdáleným počítačem a X2GO client nainstalujete na počítač, který bude vzdálený počítač ovládat. Program instalujte z následujících odkazů: server client.

Ovládání X2GO
Aplikace na ovládaném počítači se spustí se startem počítače. Aplikaci pro ovládání spustíme stisknutím klávesy [Super key] a vyhledáním X2GO. Po spuštění aplikace zadejte libovolné Session name, do pole Host zadejte IP adresu serveru a do pole Login přihlašovací jméno. Jako poslední zvolte Session type podle prostředí, které je na ovládaném počítači nainstalováno. Nyní volby potvrďte tlačítkem OK. Pro připojení klikněte na právě vytvořený profil a zadejte heslo, potvrďte připojení stisknutím OK v nově otevřeném okně. Nyní by se vám měla zobrazit obrazovka ovládaného počítače.

x2go_novy_profil.png
Vytvoření profilu provedete vyplněním polí Session name, Host, Login a zvolením Session type

x2go_profil.png
Nově vytvořený profil se zobrazí na levé straně

x2go_pripojeni.png
Po zvolení profilu stačí zadat heslo a kliknout na tlačítko OK

x2go.png
Takto vypadá obrazovka počítače při vzdáleném ovládání počítače

Psáno pro opensuse.cz a ExoSpace.cz
odkaz na první díl ZDE


face

Oracle VM 在 3 月左右釋放出新版的 3.4.1 更新版本,這個版本修正與強化許多功能,有興趣的朋友可以參考 Oracle VM 3.4 正式釋出了 這篇文章,接著,我將說明怎樣從舊版的 3.3.3 升級到最新版的 3.4.1  ( 升級前,請各位先前往 edelivery.oracle.com 下載最新版的 OVM-Manager 與 OVM-Server ISO 光碟 )

  1.  首先你可以將 Oracle VM Manager 3.4.1 的 ISO 光碟放置到 Oracle VM Manager 主機中,並且透過 mount 指令工具將 ISO 光碟檔案掛載起來
    [root@OracleVM-Mgmt1 ~]# mkdir /mnt/OVM
    [root@OracleVM-Mgmt1 ~]# mount -o loop OVM-3.4.1.iso /mnt/OVM/
  2. 接著,切換路徑到 /mnt/OVM 中,執行 ./runInstaller.sh 腳本程式
    [root@OracleVM-Mgmt1 ~]# cd /mnt/OVM/
    [root@OracleVM-Mgmt1 OVM]# ./runInstaller.shOracle VM Manager Release 3.4.1 Installer

    Oracle VM Manager Installer log file:
    /var/log/ovmm/ovm-manager-3-install-2016-06-27-002357.log

    Please select an installation type:
    1: Install
    2: Upgrade
    3: Uninstall
    4: Help

    Select Number (1-4):  請選擇 2: Upgrade

  3. 升級過程會需要一些時間,因此務必要有耐心,相關過程如下:
    Verifying upgrading prerequisites …
    *** WARNING: Ensure that each Oracle VM Server for x86 has at least 200MB of available space for the /boot partition and 3GB of available space for the / partition.Starting Upgrade …

    Reading database parameters from config …

    ==========================
    Typically the current Oracle VM Manager database password will be the same as the Oracle VM Manager application password.

    ==========================
    Database Repository
    ==========================
    Please enter the current Oracle VM Manager database password for user ovs: 輸入目前 OVM 的資料庫管理密碼

    Oracle VM Manager application
    =============================
    Please enter the current Oracle VM Manager application password for user admin:輸入目前 OVM 的管理者密碼

    Oracle Weblogic Server 12c
    ==========================
    Please enter the current password for the WebLogic domain administrator: 輸入目前 WebLogic 的管理者密碼

    Please enter your fully qualified domain name, e.g. ovs123.us.oracle.com, (or IP address) of your management server for SSL certification generation, more than one IP address are detected: 192.168.1.100  [OracleVM-Mgmt1.server]: 敲下 Enter 直接使用偵測到的主機名稱

    Verifying configuration …
    Verifying 3.3.3 meets the minimum version for upgrade …

    Upgrading from version 3.3.3.1085 to version 3.4.1.1369

    Start upgrading Oracle VM Manager:
    1: Continue
    2: Abort

    Select Number (1-2): 輸入 1 進行升級作業

    接著系統便會開始進行升級作業, 這個升級作業會需要 10 – 20 分鐘, 請耐心等候

  4. 升級完畢後,系統會自動重新啟動 OVM Manager 相關服務,接著我們需要進行 Oracle VM Server 的升級,這個升級過程需要將運轉中的 VM 停止,操作方式如下:
    [root@OracleVM-Mgmt1 OVM]# mkdir /mnt/OVM-Server
    [root@OracleVM-Mgmt1 ~]# mount -o loop OVM-Server341.iso /mnt/OVM-Server/
    [root@OracleVM-Mgmt1 ~]# mkdir -p /var/www/repos
    [root@OracleVM-Mgmt1 ~]# cp -rp /mnt/OVM-Server/* /var/www/repos/上面的動作是將 OracleVM Server ISO 內容複製到一個 /var/www/repos 目錄內,當作 Local Repos 使用

    [root@OracleVM-Mgmt1 ~]# cd /var/www/
    [root@OracleVM-Mgmt1 www]# python -m SimpleHTTPServer 80
    Serving HTTP on 0.0.0.0 port 80 …

    接著,切換到這個目錄內透過 python 啟動一個 SimpleHTTPServer服務

  5. 接著,請用 admin 帳號登入到 Oracle VM Manager 介面,如下圖所示,切換到 Reports and Resources 分頁中OVM-1
  6. 切換到 Server Update Groups 項目內OVM-2
  7. 接著在 GlobalX86ServerUpdateConfiguration 建立一個新的更新套件庫 ( Repository ),內容如下:

    URL : http://IP/repos/Server  ( 放置剛才啟動 SimpleHTTPServer 的 IP 位址 )
    Enabled : 打勾
    Package Signature Type : 選擇 GPG
    Package Signature Key : http://IP/repos/RPM-GPG-KEY-oracle

    OVM-3

  8. 設定完畢後返回 Server and VMs 分頁, 你會發現每一台 Oracle VM Server 都會變成驚嘆號,直接在 Server 上按下滑鼠右鍵,選擇 Update,系統便會開始進行更新
    OVM-4

    更新時要注意,由於 Oracle VM Server 在更新完畢後會自動重新啟動,因此執行中的 VM 要記得先關閉喔。

  9. 最後,每一台更新好的 Oracle VM Server 你會發現原本的 Console 資訊不見了,這時候你可以到 /etc/sysconfig/init,找到 ACTIVE_CONSOLES=/dev/tty[1-6] 這行,將值改為/dev/tty[2-6],重新開機便可以恢復原本的 Console 資訊。

face

Como instalar o emulador de Atari 2600 Stella no Linux

Se você é dos anos 70 ou 80, então provavelmente deve saber que esses foram os velhos tempos do Atari. E se quiser matar saudades dessa época, veja como instalar o emulador de Atari 2600 Stella no Linux.

Leia o restante do texto "Como instalar o emulador de Atari 2600 Stella no Linux"

Este texto saiu primeiro em Como instalar o emulador de Atari 2600 Stella no Linux


face

¿Si no has podido asistir a la openSUSE Conference 2016 en Nuremberg? Aqui puedes ver los vídeos de las charlas.

Como pudiste leer por el blog, del 22 al 26 de junio se ha celebrado la conferencia de openSUSE que este año se celebró en Nuremberg:

Ya acabó este encuentro de usuarios, simpatizantes, hackers y toda la comunidad de usuarios de openSUSE, un buen lugar para conocer a la gente que hay detrás del código.

Se han desarrollado un buen número de charlas de todo tipo, algunas más técnicas que otras y de muy diversos temas, pero por supuesto lo que ha prevalecido en openSUSE, como no podía ser de otra manera.:)

Si no pudiste asistir pero quieres echar un vistazo a las charlas puedes hacerlo en este enlace:

Desde ese enlace podréis ver los vídeos en formato libre webm, y también tenéis la posibilidad de descargarlos fácilmente, lo que está muy bien. Decir que todas las charlas son en inglés, pero las hay que se entienden muy bien, incluso con un nivel tan bajo como el mío!

Os animo a practicar vuestro inglés con estas charlas, y quizás la próxima cita te animes a asistir! Los vídeos también están disponibles en el canal de YouTube de openSUSE, os dejo el enlace si es esa vuestra preferencia:

Have a lot of fun!

Funny Chameleon_2

——————————————–

 

 



face

Welcome to part 2 of my posts on the material from the “Cryptography I” course. In this course the material is designed to teach students about how to scientifically determine what concepts/algorithms are and are not cryptographically secure. I am continuing this series of posts so that I can have some way to review the information at a later time as well as to provide my interpretation of the material for others to read and comment on. Enjoy!

Review

In the first part I cover topics like Probability Distributions (Uniform and Point), Events, Randomized Algorithms and Independence.

XOR

XOR proves to be a very important aspect of cryptography and is actually use in many ciphers like OTP, DES and AES. Therefore if you are not familiar with the concept of XOR, now would be a good time to read up on it. Basically the following truth table provides the mapping for XOR given X and Y inputs.

(X, Y) | Z
===========
(0, 0) | 0
(0, 1) | 1
(1, 0) | 1
(1, 1) | 0

Symmetric Ciphers

A Symmetric Cipher is one that uses the same key (k) for the sender and receiver. For example if Alice sends Bob a message, both Alice and Bob must use the same key to be able to securely send and receive messages.

More formally we can define it such that over a key space of all possible keys (K), a message space of all possible messages (M) and a cipher text space of all possible CT (C) the cipher is efficient where encryption (E) and decryption (D):

E: K x M -> C
D: K x C -> M
such that... ∀ m in M, k in K: D(k, E(k, m)) = m

∀ = For all

Note that E is often randomized but D is always deterministic!

The One Time Pad (OTP)

From Wikipedia:
First described by Frank Miller in 1882, the one-time pad was re-invented in 1917. On July 22, 1919, U.S. Patent 1,310,719 was issued to Gilbert S. Vernam for the XOR operation used for the encryption of a one-time pad. It is derived from the Vernam cipher, named after Gilbert Vernam, one of its inventors. Vernam’s system was a cipher that combined a message with a key read from a punched tape.

OTP uses a very simple concept of XORing the plaintext message with the key to produce some ciphertext (c) that cannot easily be decrypted.

ciphertext: E(k, m) = k ⊕ m
plaintext: D(k, c) = k ⊕ c

Note: D(k, E(k, m)) = D(k, k ⊕ m) = k ⊕ (k ⊕ m) = (k ⊕ k) ⊕ m = m

Example:

m = 0110001
k = 1101110
c = 1011111

Note that k must be at least as long as m to securely encrypt m

As we can see OTP is a very fast encryption and decryption cipher but it needs long keys. Now however we really need to ask what defines a “good” cipher?

Perfect Secrecy

The basic idea to secure a plaintext (PT) message is that the


face

Mantis 可以透過統計資訊繪製一些圖表讓專案成員知道目前的修復狀態與變化,如果你在執行時出現 “unable to read/find font" 或者是 X燒包 時可以透過下列方式修復:

  • X燒包修復方式:主要是缺少 php-dom 套件,可以透過 yum -y install php-dom將套件安裝後,重啟 httpd 服務
  • unable to read/find font:這個主要是缺少 truetype 字型,你可以安裝 msttcorefonts ( http://corefonts.sourceforge.net/ ) 套件後,執行
    ln -s /usr/share/fonts/msttcorefonts /usr/share/fonts/truetype
    便可以解決

Sunday
26 June, 2016


face

DSC_0007_1The openSUSE Conference ended today and people who were not able to travel to Bavaria for the conference can view most of the conference on the openSUSETV channel on YouTube.

The conference had several high-level talks. A few that people are recommended to view are Owen Synge’s talk about ceph. Tony Jones talked about performance analysis on openSUSE using Perf and Nitin Madhok talked about managing VMware infrastructure using salt-cloud.

The keynotes were great this year and there was some big news from Norman Fraser about the release of a new ARM server for developers from SoftIron running openSUSE Leap.

Thomas Hatch and company provided an overview of automation with Salt.

Frank Karlitschek from NextCloud provided a keynote about the future of the internet and Georg Greve provided a keynote on hardware topics and innovation.

Klaas Freitag provided an ownCloud workshop and Mauro Morales provided a guided tour of the Machinery Project.

More openSUSE centric talks took place on the first day of the conference. Alberto Planas provided demographics on openSUSE users and Ludwig Nussel, the release manager for openSUSE Leap talked about the release of 42.2.

openSUSE’s Chairman Richard Brown took a position on flatpak and snap and eluded to users selling their souls to a South African.

A live project meeting will close out the conference along with a Docker Meetup.


Saturday
25 June, 2016


face

Como instalar o Calibre no Linux de um jeito simples

Se você procura uma forma de gerenciar seus livros eletrônicos, experimente instalar o Calibre no Linux. O programa pode tornar o controle de seus e-books muito mais simples.

Leia o restante do texto "Como instalar o Calibre no Linux de um jeito simples"

Este texto saiu primeiro em Como instalar o Calibre no Linux de um jeito simples


face

Como instalar o navegador Vivaldi no Linux

Procurando um navegador multiplataforma e com boa parte dos recursos do Chromium e um belo visual? Então veja como instalar o navegador Vivaldi no Linux e experimente essa alternativa.

Leia o restante do texto "Como instalar o navegador Vivaldi no Linux"

Este texto saiu primeiro em Como instalar o navegador Vivaldi no Linux


Luca Beltrame: Two in one

12:11 UTCmember

face

As you may know (unless you’ve been living in Alpha Centauri for the past century) the openSUSE community KDE team publishes LiveCD images for those willing to test the latest state of KDE software from the git master branches without having to break machines, causing a zombie apocalypse and so on. This post highlights the most recent developments in the area.

Up to now, we had 3 different media, depending on the base distribution (stable Leap, ever-rolling Tumbleweed) and whether you wanted to go with the safe road (X11 session) or the dangerous path (Wayland):

  • Argon (Leap based)
  • Krypton (Tumbleweed based, X11)
  • Krypton Wayland (Tumbleweed based, Wayland)

So far we’ve been trying to build new images in sync with the updates to the Unstable KDE software repositories. With the recent switch to being Qt 5.7 based, they broke. That’s when Fabian Vogt stepped up and fixed a number of outstanding issues with the images as well.

But that wasn’t enough. It was clear that perhaps a separate image for Wayland wasn’t required (after all, you could always start a session from SDDM). So, perhaps it was the time to merge the two…

Therefore, from today, the Krypton image will contain both the X11 session and the Wayland session. You can select which session to use from the SDDM screen. Bear in mind that if you use a virtual machine like QEMU, you may not be able to start Wayland from SDDM due to this bug.

Download links:

Should you want to use these live images, remember where to report distro bugs and where to report issues in the software. Have a lot of fun!


Friday
24 June, 2016


face

SeaMonkey no Linux

Procurando por um pacote completo que traz tudo que você precisa para aproveitar melhor a Internet? Então veja como instalar a suíte SeaMonkey no Linux.

Leia o restante do texto "Como instalar a suíte SeaMonkey no Linux"

Este texto saiu primeiro em Como instalar a suíte SeaMonkey no Linux

Older blog entries ->