Monthly Archives: January 2011

Firefox on console startup

Here is a quick,dirty and insecure recipe, on how to modify your X startup session to start a maximized firefox on the system’s console.

The basic idea is to convince startx to start our very own copy of xinitrc which spawns nothing but firefox which in turn reads a single file that convinces it to zoom to the full extent of your console’s size and redirects to your local web server’s login page. Pheew.

First of all create a directory where your work will reside like /opt/firefox_on_console. Copy there the files you will find under the link below, or if you feel hardy enough  edit them yourself.  Then modify inittab as follows

  • comment out the default X startup line like so
    • #x:5:respawn:/etc/X11/prefdm -nodaemon
  • and add right below it the following line
    • x:5:respawn:/opt/firefox_on_console/startx
  • last enter the command “kill -HUP 1” as root.

DONE !

The major difference in the default startx script is the line that reads

sysclientrc=/opt/firefox_on_startup/xinitrc

That makes all the difference in the world. Also note how minimalistic our xinitrc is . This is done on purpose so that if the user closes firefox the X session will restart instead of hanging you out to dry without a root window manager.

Cooked files are located at http://www.unix.gr/firefox_on_console/

Beware , your mileage may vary. Especially as far as security is concerned, this is a method by which you are effectively allowing access to all the machine’s filesystem structure. So who has a nice chroot recipe for firefox on console ?

Tagged

Διδακτορικά του καφενείου

Γρινιάζουν κάποια παιδιά πως κάποιοι παλιοί δεν τα σέβονται και δεν τα διδάσκουν για να ανεβάσουν το προγραμματιστικό τους elite.

Και απαντώ

Για να διδάξει ένας δάσκαλος πρέπει να υπάρχουν μαθητές πρόθυμοι να διδαχθούν. Η κατά δήλωση θέληση ταύτη ή κάθε άλλη παρόμοια δήλωση, αναφέρουσα το μεγαλείο των προγόνων, το οποίο και νομοτελειακά και αγόγγυστα κληρονομήσαμε, ειδικά κατά τη διάρκεια κατάποσης καφεδοειδών ή/και αλκοολούχων ροφημάτων εν στάση ημι-κατάκλισης δεν μετράει, δεν φτουράει, κουράζει τους διδάσκοντες και την ιστορία γενικότερα.

Γειά σου ρε Αλεβίζε.

 

Tagged

The real executive Talents

This is a repost of an answer on LI:

What are your own most valuable Executive talents you would offer to an employer?

My take on that has always been that the most important value is the triptych “Patience, Perseverance, Ethos“. All else are just affectations that are picked up during a professional’s life time.

  1. Patience with others, patience when facing adversity, patience while overcoming obstacles, patience to make one’s fortune.
  2. Perseverance towards one’s targets. Persevere towards one’s goals like a wolf relentlessly chasing its pray mile after unending mile.
  3. Ethos in the work milieu, ethos in the market. Do not compromise for a quick grasp.  Lack of ethos will probably create wealth quickly and easily  but will not sustain it. Remember prince Madoff ?

An executive’s personality must be build on  a solid foundation as noted  above no matter the weight of the resume, their technical prowess, academic achievement  or posts they manned.

It is extremely important to also note that this is the self same principles that were and are the foundations  of all great people.  Study  Alexander the Great, Abraham Lincoln, Mahatma Gandhi, Albert Schweitzer etc. etc.  and one can easily see this triptych always present at their core.

Tagged