|
||||||
|
With the latest OpenSolaris 2009.06, maximizing windows managed by Metacity (GNOME) will maximize the windows across both screens. This is due to an issue that Metacity was trying to use a wrong Xinerama type. This issue is fixed in the mercurial repository. However, the fix was not on time to make it into the final release of OpenSolaris 2009.06. But, there is a quick workaround for this issue. Here is the set of instructions. Step 1. Backup your current metacity.
Step 2. Download the fixed Metacity binary from developer’s site and replace the original binary.
Note: Don’t do this in one step using Step 3. (Optional) By now, your new Metacity should have already started working. If not, replace the current instance by hand.
Happy dual-screening on your OpenSolaris 2009.06! OpenSolaris 2009.06 was announced yesterday. You can download the live CD image (ISO) from here. Here is the set of instructions to create a live USB stick from the live CD that you have downloaded. Step 1. Install distro-construct.
Step 2. Generate the USB image from CD image.
Step 3. Copy the generated USB image on to the USB stick.
On executing the above command, you will be shown the list of removable media and asked to select the one to use with usbcopy. If you have inserted only one USB media, you will see only one entry to choose from. Please note that you may have to unmount the USB media from your GNOME file manager or command line, before usbcopy starts. Once usbcopy completes, your OpenSolaris live USB sticks are ready to boot a live environment and perform installation. I will be in Community One West, Deep Dive sessions today (Jun 2, 2009) at Intercontinental Hotel, San Francisco. If anyone needs to make their USB media an OpenSolaris live media, please contact me. One of the handy features in the latest Wordpress is the support to upgrade plugins in one click through the Wordpress administration interface. It needs FTP or FTPS access to the server where you have hosted your Wordpress installation. But turning on FTP for users (non-anonymous) is a bad idea. Using FTP involves transferring user passwords as plain text during authentication. This is a great security concern and the primary reason for why one shouldn’t turn on FTP for user accounts. However, Wordpress also supports FTPS, FTP over SSL. This shouldn’t be confused with SSH FTP or Secure FTP. FTPS uses TLS or SSL for authentication and commands. Let us see how to setup FTPS on a server using vsftpd. Step 1: Install vsftpd Using the package manager for your distribution, install vsftpd. On Debian and Ubuntu, it can be installed by the following command.
Step 2: Configure FTPS Edit 2a. comment out anonymous_enable line.
2b. Uncomment
2c. Override the umask for local users to 022 by uncommenting the
Note: Failing to do this, will make the plugin directory unreadable by your webserver and you will start getting PHP include errors. If this happens, you have to disable the plugin and remove the directory or change the permission of the directory to 755. 2d. Turn on SSL by adding the following lines. This is disable plain FTP and allow only FTPS.
It is assumed that the RSA certificate and key are in the standard locations
Step 3: Restart vsftpd. Restart vsftpd by issuing the following command.
Now your vsftpd is ready to serve FTPS connections. This morning there was an official announcement that Oracle has offered to buy Sun Microsystems for $9.50 per stock, and Sun’s board agreed. The market rumors surrounding Sun for the last few weeks suggested that something was looming. But, Oracle was a surprise to me. It looks like closing the deal typically takes from 3 to 9 months. It would be interesting to see how Sun would be integrated into Oracle. Also, Oracle’s attitude towards Open Source remains largely unknown at this point. Sun did some extensive Open Sourcing in the past few years. It would be interesting to see how this deal would affect the direction of those products. To know more information about the deal, read the Sun’s press release or Oracle’s press release. Oracle has put up an information page and answered some of the frequently asked questions in there. Since OpenSolaris started using Gnome 2.24, I started getting loud system beeps those were produced on the PC speaker device that by-passes the audio device. Gnome uses kbd to generate this beep. This beep is so loud that it is really annoying. Also it hurts one’s ears when listening to music using a headset. The volume of the beep can’t be controlled by the system volume control. To turn off the beep or control the volume, one must use the Gnome: ![]() Turn Gnome sytem beep off Continue reading Turning off loud system beep in OpenSolaris Gnome and GDM Recently I found myself in a situation where I felt that I have more things to do than the time available in hand. The number of unread e-mails and pending tasks were growing in a faster rate day by day. I missed to act upon a few important e-mails. This new situation had increased my stress and caused a sense of unaccomplishment in spite of being reasonably productive. My positive sense of being in control was going down day by day. That is when I started to realize that there is something basically wrong in the way I handled things. On the other hand, I see some of my manager’s activities through his Twitter updates and blog posts. The wide range of stuff he does is mind-boggling. He might have ten-folds of things to do than I have. However I saw a sense of completion in most of the things he did. I discussed with him about this in one of the 1-1 meetings we had. From his answers, I realized that instead of trying to manage my time, I should try to manage the things that I do. He recommended to read “Getting Things Done” by David Allen. I promptly bought the book. However due to bad management of things I do, I was not able to start on the book until a couple of months later. My employer (Sun Microsystems, Inc.) has announced another round of layoffs, which will eliminate as much as 18% of Sun’s workforce (around 6000 jobs), will save the company $700 million to $800 million. We have also announced the departure of the head of Software Group, Rich Green. With this we are restructuring the Software Group into Application Platform Software, Systems Platforms and Cloud Computing & Developer Platforms. The recession of world wide economy is putting enormous pressure on technology companies like us. We would hope that this downturn would end soon before causing irreversible damage to many companies. However I feel that we have just entered into the difficult stage of the slowdown and we will be seeing more challenges awaiting us. Disclaimer: All the views expressed herein are mine. I am not talking for my employer, Sun Microsystems, Inc. For a while now, I was not happy with the speed my Debian GNU/Linux booted. It was taking approximately 1:10 minutes to drop me in the GDM prompt. Today, I decided that I will try to probe into what exactly is happening. I have already heard of bootchart a few years ago. However I never had a chance to use it. So, I installed bootchart. I am not going to talk in detail about the installation. It is available in Debian and Ubuntu repositories. If you are using some other distribution, you can either find it in the repository or compile it from the source. After installation, reboot the system and add After doing this, I figured out that
I have pre-ordered Apple iPhone 3G from my neighboring AT&T store last Sunday (Jul 20). I have done this as purchasing from the Apple Store wouldn’t let me to apply my FAN discounts on the plan. Applying it latter would reflect only after a couple of billing cycles. Also I don’t wanna get into the crazy line. I didn’t join the true Apple cult yet. I was just curious about the status of the pre-order and I checked the status online and found that the status query mechanism can be exploited to post automated queries. Here is a small ruby script that I wrote to check bulk statuses. This would also give you a clue on where you are in preorder line. On my OpenSolaris. What could be more exciting than this? praveen@athena:~$ /opt/sfw/bin/emacs Fatal error (11).Segmentation Fault (core dumped) praveen@athena:~$ file core core: ELF 32-bit LSB core file 80386 Version 1, from 'emacs' praveen@athena:~$ gdb -c core /opt/sfw/bin/emacs GNU gdb 6.3.50_2004-11-23-cvs Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-pc-solaris2.11"...(no debugging symbols found) Core was generated by `/opt/sfw/bin/emacs'. Program terminated with signal 11, Segmentation fault. Reading symbols from /opt/sfw/lib/libXaw3d.so.5...(no debugging symbols found)...done. Loaded symbols for /opt/sfw/lib/libXaw3d.so.5 Reading symbols from /usr/lib/libXmu.so...done. Loaded symbols for /usr/lib/libXmu.so Reading symbols from /usr/lib/libXt.so.4...done. Loaded symbols for /usr/lib/libXt.so.4 Reading symbols from /usr/lib/libSM.so.6...done. Loaded symbols for /usr/lib/libSM.so.6 Reading symbols from /usr/lib/libICE.so.6...done. Loaded symbols for /usr/lib/libICE.so.6 Reading symbols from /usr/lib/libXext.so.0...done. Loaded symbols for /usr/lib/libXext.so.0 Reading symbols from /usr/lib/libtiff.so.3...done. Loaded symbols for /usr/lib/libtiff.so.3 Reading symbols from /usr/lib/libjpeg.so.62...done. Loaded symbols for /usr/lib/libjpeg.so.62 Reading symbols from /usr/lib/libpng12.so.0...done. Loaded symbols for /usr/lib/libpng12.so.0 Reading symbols from /lib/libz.so.1...done. Loaded symbols for /lib/libz.so.1 Reading symbols from /lib/libm.so.2...done. Loaded symbols for /lib/libm.so.2 Reading symbols from /opt/sfw/lib/libungif.so.4...done. Loaded symbols for /opt/sfw/lib/libungif.so.4 Reading symbols from /usr/lib/libXpm.so.4...done. Loaded symbols for /usr/lib/libXpm.so.4 Reading symbols from /usr/lib/libX11.so...Segmentation Fault (core dumped) praveen@athena:~$ file core core: ELF 32-bit LSB core file 80386 Version 1, from 'gdb' |
||||||
|
Copyright © 2009 Praveen Kumar - All Rights Reserved. |
||||||
Recent Comments