Monday, November 19, 2012

a setting for root desktop login for kubuntu 12.10

I don't like ubuntu/gnome GUI(desktop).

The simple way to use KDE on ubuntu is to use Kubuntu.

Right now, 12.10 is available but, if we want to use root for desktop, we need to change different conf file  than 10.04.


sudo sh -c 'echo "greeter-show-manual-login=true" /etc/lightdm/lightdm.conf'

Also we need to change the  login screen setting from User Bar to Classic since User bar does not offer root user.

after these change, we can login root user desktop.

Additionary we would need these things:

 sudo passwd root

You should have a file called kdmrc. In Debian, this file resides in /etc/kde4/kdm. Look for a 'AllowRootLogin=false' entry. Change it to 'AllowRootLogin=true'. #Then add or change the following entry:
#AutoLoginEnable=true
#AutoLoginUser=root

Saturday, September 29, 2012

Dart requires Ubuntu 12.04.

Dart requires Ubuntu 12.04.

http://www.ubuntu.com/

This can be installed on VirtualBox.
(my host OS is opeSuSE)

-----------------
I tried to use gnome, unity, but it sucked.
no menu to start application.
it is probably designed for mass like ipod/ipad.

-------------
So I installed KDE desktop.
http://www.psychocats.net/ubuntu/kde

Still it does not allow to login to the desktop with root user.
To fix this:
http://kav.in/root-login-with-kdm-gdm-login-managers-in-ubuntu-linux/
KDM’s configuration file is located in /etc/kde4/kdm/kdmrc.
Kate opens the file. Now look for a line that says “AllowRootLogin=false”. Change it to “AllowRootLogin=true” . Self explanatory.

-----------

chromium does not allow to run in root.
This is also annoying default.
To fix this:
http://productforums.google.com/forum/#!topic/chrome/ifUQU8O0TXc
Simply modify the /etc/chromium-browser/default file with gedit or leafpad or another pure text file editor to add this flag to the chromium flags:
--user-data-dir
And voilá, chromium starts in a root profile!
-----------
Dart also requires JDK(1.6-), so we need to install JDK as well.
 http://www.oracle.com/technetwork/java/javase/downloads/jdk7u7-downloads-1836413.html

http://www.zimbio.com/the+ubuntu+guy/articles/82/How+set+JAVA_HOME+environment+variable+Ubuntu
One way that you can set your JAVA_HOME variable and add to your PATH, is be doing the folowing.  As 'sudo' open up /etc/bash.bashrc and add the following to the end of the file.  NOTE: Set the java path to whatever the actual path is on your environment if it does not match /usr/lib/jvm/java
JAVA_HOME=/usr/lib/jvm/java
export JAVA_HOME
PATH=$PATH:$JAVA_HOME/bin
export PATH