Showing posts with label Technology. Show all posts
Showing posts with label Technology. Show all posts

How to connect to a remote X Windows just like sitting in front of it.

Posted On // Leave a Comment
I have used as Zenity to create a GUI application for Xephyr. Xephyr is a much better implementation than Xnest. Those who dont know what is Xephyr or Xnest, please search google. Also remember not to use my procedure of using Xephyr connecting to a system using internet as there is no encryption of any kind are used here. It has serious security implication. This procedure is better suited for intranet use.

First of all I am not gonna tell you how to do, this and that. You need to be good in linux and a seasoned linux enthusiast like me. Here I will just share a bash script which is actually an attempt to create a GUI interface for Xephyr.

So first ensure X-windows is running in the system that you want to connect to. Lets call it server. Also ensure that you can actually login directly to your server's graphical session. Now enable XDMCP in it.

Now save the following code in a file /usr/bin/xephyr-gui






#!/bin/bash

reschoice=(FALSE "640x480" FALSE "800x600" FALSE "1024x768" FALSE "1152x864" FALSE "1280x960" FALSE "1400x1050" TRUE "1600x960")
resolution=$(zenity  --title "Resolution" --height 300 --list  --text "Select a resolution from the list below" --radiolist  --column "Pick" --column "Resolution" ${reschoice[@]})

return_value=$?
case $return_value in

1)

echo -e '\E[31m'"Canceled"
exit ;;

0)

display=$(zenity --title="Gtk-Xephyr" --scale --text "Pick a Display Number\n[0 is default and used]" --min-value=1 --max-value=100 --value=1 --step 2)

return_value=$?
case $return_value in

1)

echo -e '\E[31m'"Canceled"
exit ;;

0)

connectto=$(zenity --title="Gtk-Xephyr" --entry --text "Please enter IP/hostname X server is running to connect." --entry-text "localhost")

return_value=$?
case $return_value in

1)

echo -e '\E[31m'"Canceled"
exit ;;

0)

gksudo lsof | tee >(zenity --title "Please wait" --text "Connecting..." --progress --pulsate --no-cancel --auto-close) > /dev/null
/usr/bin/Xephyr -ac -br -reset -terminate -screen $resolution -title $connectto -query $connectto 2> /dev/null :$display &

exit ;;

esac
esac
esac

exit 0


Save the file and exit. Now make it executable.

chmod +x /usr/bin/xephyr-gui


Now you have a GUI to work with Xephyr. Enjoy.
[Read more]

Downloadable Ebook : Build your own private cloud using Ubuntu Eucalyptus Enterprise Cloud computing platform.

Posted On // 1 comment
There was many requests to publish one of my previous article in a form of a downloadable EBook. Keeping that in mind I am happy to publish an Ebook in pdf format for offline use. Please let me know if this effort has helped you in anyway.

Download it here. | The original article was published here.
[Read more]

Android vs Meego (more precisely Motorola Xoom vs Nokia N9)

Posted On // Leave a Comment

Let me first address the fact that I work for such a company which is a leader in mobile devices. When it comes to mobile phone people still talk about them despite of so many rumors in the market and declining market share. But my post here today is not influenced by that fact anyway, neither I want to pretend something. I'm honestly writing my experience with these 2 devices and their OS'es from my extensive daily use.


I know comparing XOOM with N9 is just like comparing a Whale with a River Shark. Believe me I don't have another Android hand set of similar kind to compare. But I must tell you that despite of the price and HW spec that XOOM has, it still falling behind N9. Here it is how.


I had the opportunity to try N9 as a part of a Nokia internal program for testing. I'm using the device for almost 3 months now. Last Sunday I bought Motorola XOOM by spending almost 40K INR for my personal reason. But after using it almost for a week, I realized its not worth the price I paid for.


User Experience

[Read more]

Build your own private cloud using Ubuntu Eucalyptus Enterprise Cloud computing platform.

Posted On // 39 comments
Image

1.0 Introduction


In this Hands-on Labs session, we’re going to use the Linux Ubuntu 10.04 LTS (Lucid Lynx) release. Ubuntu 10.04, Lucid Lynx, is the platform of choice for anybody who intends to build and deploy large-scale infrastructure, whether you're trying to build the next Facebook, or the next Google, or the next eBay. If you want to start on [Amazon's cloud-platform] EC2 and migrate to your own managed private cloud, Ubuntu 10.04 is going to be the platform for you. Lucid Lynx will be the third long-term support (LTS) release by Ubuntu. LTS releases arrive bi-annually and are supported for three years on desktops and five years for servers.

[Read more]

Head to head comparison between Subversion, Git and Mercurial

Posted On // 3 comments
[scribd id=22758516 key=key-1ekb6845ynffe0mxdypi]
[Read more]

Cloud computing to drive open source

Posted On // 3 comments

With the cloud computing wave poised to reach the world market in the next 12 to 18 months, open source software and coding techniques are about to hit the big time.

That’s because open source software and the methodologies that accompany it have already been proven to be the chosen route for the vast majority of companies aiming to capitalise on the cloud phenomenon.

For evidence of this, you need look no further than the route companies such as Amazon, Google and Rackspace have taken in building out the massive datacentres they plan to begin selling capacity on in the coming years.

[Read more]

What's waiting in upcoming KDE 4.4

Posted On // Leave a Comment

If you're wondering what the folks over at KDE have been cooking up for the next major release, KDE 4.4, well, quite a bit as it turns out. In a lengthy interview, KDE core developer and spokesperson for the project Sebastian Kugler details the myriad changes that are coming with the 4.4 release — the fifth major release since KDE 4.0 debuted to much criticism nearly two years ago. The project has closed about 18,000 bugs over the past six months and the pace of development is snowballing. The 'heavy-lifting' in libraries and frameworks for 4.0 is now starting to pay off. Perhaps the biggest change is in the development of a semantic desktop. According to Kugler, 'If you tag an image in your image viewer, the tag becomes visible in your desktop search. That's how it should be, right?' There is also a picture gallery of KDE 4.4 (svn) screenshots so you can see what it will look like.

[Read more]

100 Million-Core Supercomputers Coming By 2018

Posted On // 2 comments

As amazing as today's supercomputing systems are, they remain primitive and current designs soak up too much power, space and money. And as big as they are today, supercomputers aren't big enough — a key topic for some of the estimated 11,000 people now gathering in Portland, Ore. for the 22nd annual supercomputing conference, SC09, will be the next performance goal: an exascale system. Today, supercomputers are well short of an exascale. The world's fastest system at Oak Ridge National Laboratory, according to the just released Top500 list, is a Cray XT5 system, which has 224,256 processing cores from six-core Opteron chips made by Advanced Micro Devices Inc. (AMD). The Jaguar is capable of a peak performance of 2.3 petaflops.

[Read more]