using graphical software on Ubuntu as root after you’ve logged in remotely

Standard

Sometimes I find myself in the situation of having to lauch some graphical software like synaptic, gedit, baobab while already using the server as root from the command line. I do not want to ‘exit’ my session and use the previous methods of which I’ve written in the past.

This is how I did it.

koolinus@localhost:~$ ssh -Y koolinus@remote.server.it
koolinus@remote:~$ sudo -i
root@remote:~# touch .Xauthority
root@remote:~# xauth merge /home/koolinus/.Xauthority 

And that’s all. Now I can launch the needed program without interrupting my root session, for example:

root@remote:~# baobab &

Ubuntu 13.10 (Saucy Salamander) released

Aside

Fwd: Ubuntu 13.10 (Saucy Salamander) released

The Ubuntu team is very pleased to announce the release of Ubuntu 13.10 for Desktop, Server, Cloud, Phone, and Core products.

Codenamed “Saucy Salamander”, 13.10 continues Ubuntu’s proud tradition of integrating the latest and greatest open source technologies into a high-quality, easy-to-use Linux distribution. The team has been hard at work through this cycle, introducing new features and fixing bugs.

Ubuntu 13.10 introduces the first release of Ubuntu for phones and Ubuntu Core for the new 64-bit ARM systems (the “arm64″ architecture, also known
as AArch64 or ARMv8), and improved AppArmor confinement. In addition to these flagship features there are also major updates throughout.

Ubuntu Server 13.10 includes the Havana release of OpenStack, alongside deployment and management tools that save devops teams time when
deploying distributed applications – whether on private clouds, public clouds, x86 or ARM servers, or on developer laptops. Several key server
technologies, from MAAS to Ceph, have been updated to new upstream versions with a variety of new features.

Maintenance updates will be provided for Ubuntu 13.10 for 9 months, through July 2014.

To get Ubuntu 13.10
——————-

In order to download Ubuntu 13.10, visit:

http://www.ubuntu.com/download

getting packages info on Ubuntu

Standard

Recently we’ve decided to move all our CentOS 5 server installations to a more modern, and bioinformatics friendly, environment. So the choose was on Ubuntu, in it’s 12.04 LTS version.

Some commands are different, especially those for exploring packages, their releases and such.

For example to see what packages install $something now I do a:

sudo apt-file search $package

while to see a package’s details, for example nano, I give a:

sudo apt-cache show nano

Package: nano
Priority: standard
Section: editors
Installed-Size: 604
Maintainer: Ubuntu Developers 
Original-Maintainer: Jordi Mallach 
Architecture: amd64
Version: 2.2.6-1
Replaces: pico
Provides: editor
Depends: libc6 (>= 2.11), libncursesw5 (>= 5.7+20100313), dpkg (>= 1.15.4) | install-info
Suggests: spell
Conflicts: pico
Breaks: alpine-pico (<= 2.00+dfsg-5)
Filename: pool/main/n/nano/nano_2.2.6-1_amd64.deb
Size: 194014
MD5sum: ce845269d2dac9b74ab02bd4f874beed
SHA1: 79a41964d1b14a2a0eb700b54e474e00b9d5de08
SHA256: a8dba08696a1ffdfbb15b617880b2b7bbe05ac9f7d690574000fe569b2298efa
Description-en: small, friendly text editor inspired by Pico
 GNU nano is an easy-to-use text editor originally designed as a replacement
 for Pico, the ncurses-based editor from the non-free mailer package Pine
 (itself now available under the Apache License as Alpine).
 .
 However, nano also implements many features missing in pico, including:
  - feature toggles;
  - interactive search and replace (with regular expression support);
  - go to line (and column) command;
  - auto-indentation and color syntax-highlighting;
  - filename tab-completion and support for multiple buffers;
  - full internationalization support.
Homepage: http://www.nano-editor.org/
Description-md5: b7e1d8c3d831118724cfe8ea3996b595
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 5y
Task: standard, kubuntu-active

That’s all (for now).

Ubuntu 11.04 “Natty Narwhal” is available

Aside

Form and function are a unity, two sides of one coin. In order to enhance function, appropriate form must exist or be created.
-Ida P. Rolf

The Ubuntu team is pleased to announce Ubuntu 11.04, code-named “Natty Narwhal”. 11.04 continues Ubuntu’s proud tradition of integrating the latest and greatest open source technologies into a high-quality, easy-to-use Linux distribution.

For PC users, Ubuntu 11.04 supports laptops, desktops and netbooks with a unified look and feel based on a new desktop shell called “Unity”.
This version supersedes Ubuntu Netbook Edition for all PC netbooks.

Developer reference images are provided for select Texas Instruments (TI) ARM platforms, specifically the “PandaBoard” and “BeagleBoard”.

Ubuntu Server 11.04 has made it easier to provision servers, and reduce power consumption. Ubuntu Server 11.04 for UEC and EC2 has a new kernel and improved initialization and configuration options.

Read more about the features of Ubuntu 11.04 in the following press releases:

Standard maintenance updates will be provided for Ubuntu 11.04 for 18 months, through October 2012.

Thanks to the efforts of the global translation community, Ubuntu is available in 43 languages. For a list of available languages and detailed translation statistics for these and other languages, see:

http://people.canonical.com/~dpm/stats/ubuntu-11.04-translation-stats.html

Ubuntu 11.04 is also the basis for new 11.04 releases of Kubuntu, Xubuntu, Edubuntu, UbuntuStudio, and Mythbuntu:

To Get Ubuntu 11.04
To download Ubuntu 11.04, or obtain CDs, visit:

http://www.ubuntu.com/download/ubuntu/download

Users of Ubuntu 10.10 will be offered an automatic upgrade to 11.04 via Update Manager. For further information about upgrading, see:

http://www.ubuntu.com/download/ubuntu/upgrade

As always, upgrades to the latest version of Ubuntu are entirely free of charge.

We recommend that all users read the release notes, which document caveats and workarounds for known issues. They are available at:

http://www.ubuntu.com/getubuntu/releasenotes

Find out what’s new in this release with a graphical overview:

http://www.ubuntu.com/ubuntu/whats-new
http://www.ubuntu.com/ubuntu/features

If you have a question, or if you think you may have found a bug but aren’t sure, you can try asking in any of the following places:

#ubuntu on irc.freenode.net
http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
http://www.ubuntuforums.org/
http://askubuntu.com/

Helping Shape Ubuntu
If you would like to help shape Ubuntu, take a look at the list of ways 

you can participate at:

http://www.ubuntu.com/community/participate/

About Ubuntu
Ubuntu is a full-featured Linux distribution for desktops, laptops, 

netbooks and servers, with a fast and easy installation and regular releases. A tightly-integrated selection of excellent applications is included, and an incredible variety of add-on software is just a few clicks away.

Professional services including support are available from Canonical and hundreds of other companies around the world. For more information about support, visit:

http://www.ubuntu.com/support

More Information
You can find out more about Ubuntu and about this release on our website:

http://www.ubuntu.com/

To sign up for future Ubuntu announcements, please subscribe to Ubuntu’s
very low volume announcement list at:

http://lists.ubuntu.com/mailman/listinfo/ubuntu-announce/

Kate Stewart,
on behalf of the Ubuntu Release Team

Ubuntu 8.04 reaches end-of-life on May 12 2011

Aside

Ubuntu announced its 8.04 Desktop release almost 36 months ago, on April 24, 2008. For the LTS Desktop releases, Ubuntu committed to ongoing security and critical fixes for a period of 36 months. The support period is now nearing its end and Ubuntu 8.04 Desktop will reach end of life on Thursday, May 12, 2011. At that time, Ubuntu Security Notices will no longer include information or updated packages for Ubuntu 8.04 Desktop.

The supported upgrade path from Ubuntu 8.04 Desktop is via Ubuntu 10.04 Desktop. Instructions and caveats for the upgrade may be found at https://help.ubuntu.com/community/LucidUpgrades. Ubuntu 8.04 Server continues to be actively supported with security updates and select high-impact bug fixes. All announcements of official security updates for Ubuntu releases are sent to the ubuntu-security-announce mailing list, information about which may be found at
https://lists.ubuntu.com/mailman/listinfo/ubuntu-security-announce.

Kate Stewart
Ubuntu Release Manager

how-to launch applications that need root/admin privileges on Ubuntu when on a remote session

Standard

Did you ever find yourself at work with a remote session on your Ubuntu server (or workstation) invoked by ssh -X command and needed to launch users-admin or some similar graphical application that need a sudo (or root) authentication to work? Did you ever got frustrated of not having the possibility to enter or see accepted your password ?

Well, here’s how to resolve this! All you need to do is invoking this command:

sudo ck-launch-session $COMMAND &

For example, when I needed users-admin (to graphically add a new user, modify or delete an old one) giving the aforementioned command, after having inserted my sudo password, I got this window:

ck-lauch-session example

P.S. = if you can help me with a shorter or clearer post title I’ll be grateful (remember english isn’t my native language !!!)

P.S. #2 = sometimes you just DON’T have to put the ‘&‘ at the end of the line so you can insert the administrative password needed for the command (i.e. Synaptic) execution…

how to use users-admin remotely on Ubuntu

Standard

Lately I had the necessity to create an account and modify another one on an Ubuntu box at work. I’ve regularly logged on via a ssh -X shell and gave the command

sudo users-admin

resulting in a “blocked” window … I mean one on which I wasn’t able to unlock the command via an administrative password input.

After a little diggin’ on the web I found that the solution is in giving this command:

sudo ck-launch-session users-admin &

which will ask you the administrative password and make the commands on the appearing window

Ubuntu_users-admin