lunedì, aprile 03, 2006

mount reiserfs

Well... I was gettin crazy with this so I decided to share the knowledge.
I decided to add two new SATA hard drive to my friend's pc and configure a raid system.
After creating the RAID via YaST I cant mount that via fstab to allow normal users read and write on that.
Well, I was searchin a solution about options to add in fstab but that wasn't the right way. To do that just change permissions on the mounted drive and reiserfs will remeber that... EASY AS FUCK!

summary:
in /etc/fstab --->
/dev/md0 /media/300gb reiserfs auto,users,user_xattr,exec 1 2
<---

777 permissions on mounted /media/300gb

happy suse
Antonio

lunedì, marzo 27, 2006

restore kmail mails

In suse the kmail folder is situated in /home/user/.kde/share/apps/kmail.

If you have reinstalled your system and opening kmail and clikkin on mails they magically disappears ... well I think it is a kmail bug!!!
Anyway just stop clikkin on mails, close kmail, go in emails folder (the folder above) and delete all indexes (*index*)

hope to have been clear and helpfull as usual.

happy suse, happy people.

Antonio

lunedì, gennaio 16, 2006

FreeNX on SuSE 10.0 and 9.3

Well... FreeNX is the best remote controlling system now on earth and pretty easy to install on our Suse distro.

Just open YaST and search for freenx and select all related packets.

Do you think it's enoght? the answer that you are waitin for it's NO :D

I put here a link of a well done tutorial on MadPenguin.org ( cause, you know, I'm lazy :P )

And for you that dont understand why you cant still connect after this tutorial, here is the troubleshoot:

Error message Server not installed or NX access disabled

If you see the following error message it means that the nx user's public key was not accepted.:

NX> 203 NXSSH running with pid: 6721
NX> 285 Enabling check on switch command
NX> 285 Enabling skip of SSH config files
NX> 200 Connected to address: 192.168.2.21 on port: 22
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
NX> 204 Authentication failed.
This can be caused by a couple of things.

the nx user's authorized key file /var/lib/nxserver/home/.ssh/authorized_keys2 is incorectly named. All versions of ssh that I have seen on Ubuntu, Fedora, Redhat/Centos and OFCOURSE suse are configured to look for an authoized key file names .ssh/authorized_keys not .ssh/authorized_keys2. You can rename the authorized_keys file but it might be better to reconfigure sshd_config because the nxserver --stop command renames the .ssh/authorized_keys2 to .ssh/authorized_keys2.disabled to prevent access via an nxclient
sshd is not running or is incorrectly configured. At minimum you need PubkeyAuthentication yes in the sshd_config file
The server and client public keys might be different. At install the server and client use a default key which should be changed. You can open /var/lib/nxserver/home/.ssh/authorized_keys and compare its contents to the key stored in the client by:
Open the client tool
Click the Configure button
Click the Key button on the General Tab
Ensure that the key matches the key found in /var/lib/nxserver/home/.ssh/authorized_keys on the server

Enjoy FreeNX, enjoy openSuSE

Antonio