Reaching out to others! Free & Open Source Software, Kannada, L10n, L18n Data Science, Cloud Computing & more…

Enable/Allow Root Access to KDE

For security reasons root login has been disabled in Kubuntu/Ubuntu. Here are the quick steps to enable root access to KDE 1. Edit kdmrc file in /etc/kde4/kdm and change AllowRootLogin=false to AllowRootLogin=true Use the following command line option to achieve this: #sudo sed -i ‘s/AllowRootLogin=false/AllowRootLogin=true/g’ 2. Set password for root account and enable it. To […]

Linux Media Center Edition

LinuxMCE is a free, open source add-on to Kubuntu including a 10′ UI, complete whole-house media solution with pvr + distributed media, and the most advanced smarthome solution available. It is stable, easy to use, and requires no knowledge of Linux and only basic computer skills.

Enabling root access to Gnome under Debian/Ubuntu

Some of us find it easy to work as root access instead of sudo. To permanently enable root access to your Debian/Gnome desktops edit the /etc/gdm/gdm.conf file. In [seurity] section Allow root by setting the value to True. Once you’re done with it, you need to reboot or just restart the gdm for the change to take effect.

Here is the sample configuration: (You can also find remote root access settings)

[security]
# Allow root to login.  It makes sense to turn this off for kiosk use,
# when you want to minimize the possibility of break in.
AllowRoot=true

# Allow login as root via XDMCP.  This value will be overridden and
# set to false if the /etc/default/login file exists and contains
# “CONSOLE=/dev/login”, and set to true if the /etc/default/login
# file exists and contains any other value or no value for CONSOLE.
AllowRemoteRoot=true

Enabling root access for Kubuntu

While we tried adding our desktops to NIS + NFS servers, we needed an account on local system which will enable us to make further modifications to configuration during network failure. Hence we needed root access for Kubuntu systems.

By default root access is disabled on Ubuntu and its variants. Also note one more thing here, while we mount /home from NFS (Network File System) Kubuntu’s first users home directory will be missing. This will disable the account automatically unless you move the home directory somewhere else. This is an another option for the above setup in case you don’t like enabling root access.

Here is how you enable root access for KDE environment of Kubuntu :

  • STEP 1. sudo gedit /etc/kde3/kdm/kdmrc
  • STEP 2. click the find button, enter “AllowRootLogin”
  • STEP 3. change the value to “true”
  • STEP 4. save, logout, log back in as ROOT!

If you still fail to login as root, click on start menu, select “System Settings” -> “User Management” -> Check the check box” Show system accounts” -> Select root -> Enable the account -> Also set the password .

The above instruction will work for KDE 3.x. For KDE 4 you need to find kdmrc inside /etc/kde4 directory.

[Kubuntu] Remotely starting applications on running X sessions

Running applications while working with network applications in Ubuntu based distro’s has been bit tricky. You can find one such error reported here.

(pidgin:6130): Gdk-CRITICAL **: gdk_display_get_name: assertion `GDK_IS_DISPLAY (display)’ failed

To resolve this I had to configure KDM in Kubuntu to listen on the network to accept connections to run X. There were many solutions posted in various forums. ie. setting the DISPLAY variable on the remote system, typing xhost + on the local system’s console and then running the X application on the remote system.

To configure KDM to listen on net work you need to edit the key file /etc/kde3/kdm/kdmrc and then comment the following line:

ServerArgsLocal=-nolisten tcp

But this didn’t work for me.

All I had to do is put the xhost + in .bashrc so that it disables the acl’s. Now, I can run the applications just like local applications.

Ubuntu Intrepid Ibex packaged with LFY

I was wondering if I can download all different flavors of Ubuntu 8.10. It’s quite painful to download large files when BSNL starts drizzling with low speed bandwidth.

Today when I reached home, I found my December copy of LFY (Linux for you) magazine on my desk. It comes with a bunch of Ubuntu 8.10 flavors ie. Ubuntu, Kubuntu, Edubuntu, mythbuntu, ubuntustudio, xubuntu bundled in a single DVD and multi-boot option. Cool isn’t it? check it out…


I’m going to test them all easily using VirtualBox ;) Whats your plans?

KDE: No title bar? No Max or Min button?

I used to face this issue with Gnome when Beryl and Compiz were introduced. Even after that, due to bugs found in various themes we had to avoid using the animations on desktops for a while. Now all is good on my laptop. Its all eye candy and fun.

I was hit by the similar issue while I was trying out Kubuntu 8.04 for few systems and found that kwin --remove temporarily resolves the issue.

All I wanted is the permanent fix as I’m going to clone the installations on many more boxes in near future. So, here it is if you too are hunting for the it.

1) In konsole get into ~/.kde/env
2) and edit the file kdewm.sh
3) You find the following line

KDEWM=compizmanager

4) Remove compizmanager from it and save the file

5) Logout and login back

You will find title bar working perfectly fine.

PS: This disables animations which you have enabled. Also note that this issue is found on Kubuntu 8.04 which uses KDE 3.5.x. Kubuntu 8.10 with KDE 4.x seem to be working fine.

Ubuntu Forums Post: [kubuntu] no minimize maximize or close icons in upper right