Logging In

From LinuxMCE
Jump to: navigation, search


There are several places where you need to login on an LinuxMCE system.

Administration Website

From the Linux MCE Launch Manager

On the "Start" tab you will find a button labeled "Open admin website" (under "Common tasks")

From the on-screen Orbiter

[ Advanced (UI2 only) > ] Computing > Pluto Admin

From a browser

Go to http://<dcerouter>/

Where <dcerouter> can be the IP address of the core, "localhost" or plain old "dcerouter" in some cases. Note that the default settings will not allow you to access the admin website through the external network interface.

Username and Password

To access the Administration Website you will need the username of the first family member you created when going through the setup wizard. This username is initially also the password, beware of upper- and lower-case.

If you cannot log in because you forgot the password, see: Reset the password for the LinuxMCE Admin site.

Kubuntu

Console

To get to the console you can press [Ctrl]-[ALT]-[F2] simultaneously. You should be greeted by a text mode screen and a login prompt. See below for which username and password to use on a Core (or Hybrid) machine. On a Media Director however you can usually login with username root and no pasword.

Logging into KDE

The KDE login screen will normally only be presented on a core after doing a "Mostly PC" type of installation. See below for the username and password.

Remote login with Secure SHell

With the username and password below you should be able to login on the core like this:

ssh <username>@<dcerouter>

Where <dcerouter> can be the IP address of the core, or plain old "dcerouter" in some cases. Note that the default settings will not allow you to login using ssh through the external network interface.

From a Windows machine you can use PuTTY: A Free Telnet/SSH Client.

Becoming root

It is common practice to execute commands that need root privileges with "sudo", for example:

sudo whoami

Another option is to start a shell with root privileges, using the -s option:

sudo -s

Use the password below when sudo asks for it.

Username and Password

The default username and password depends on the type of installer you used.

CD Installation

Use the username and password of the account you created during the Kubuntu installation.

If you've forgotten the password, see Resetting Account Passwords.

DVD Installation

The username is linuxmce, for the betas the password was linuxmce but for releases you were probably prompted for a password.

If you've forgotten the password, see Resetting Account Passwords.

Media Director

By default Media Directors have no password set for the root account root. Logging in with the linuxmce account is currently not recommended as you cannot use sudo due to a small configuration issue.

If you want to log in on a Media Director using SSH over the network you can do so as root from the Core.

If this doesn't work for you, use chroot to set a root password: First, login to the MD and your prompt should tell you what moon# the MD is... remember the number.

On the core/hybrid open a terminal in KDE or press Ctrl-Alt-F1 to get tty1. Login with your username and password. Then to become superuser type:

$ sudo su -

and enter your password. Change directory to /usr/pluto/diskless and chroot into the MDs structure. Once you have done this you can change the root password for the MD with the passwd command.

# cd /usr/pluto/diskless
# chroot XX   <-- replace XX with the moon number (device number) of your MD.
# passwd
Enter new UNIX password:

Enter the root password for the MD and then exit the chroot environment and give up superuser by typing 'exit' twice.

# exit
# exit
$

Now you can login as root on the MD with the password that you just set.

Database

The user root has no password set by default. For example:

mysql -u root

Should allow you to execute just about any query on any database you want.

The sambahelper account

Not really used for logging in, but might come in handy when creating shares on a NAS or when trying to access LMCE's shares. Execute this command to see what the username and password are:

cat /usr/pluto/var/sambaCredentials.secret