If I login via terminal (ctrl+alt+f1) with an exixting user I login correctly, and the command
df -h
shows me that I correctly mounted user's home directory from the server.
That's great!
If I try to connect via GUI the system hangs on a screen with the desktop background and nothing else, i can move the mouse but i get no command.
Which Display Manager are you using? If I remember correctly I did switch to lightdm for this reason. apt-get install lightdm should do the trick.
Best regards
I use lightdm, actually
this is what happens:
I login via lightdm: user 00abbgai
screen shows the orangeish melange as background with ubuntu 12.04 in left bottom corner and I can control the mouse but nothing happens, lest and right button not working.
ctrl+alt+f1 I text login: 00blaflo
i login correctly and work on the prompt.
df -h
shows me that I have got this mounts
//192.168.0.1/00abbgai /home/00abbgai
//192.168.0.1/00blaflo /home/00blaflo
so both users have their home mounted correctly.
/var/log/dmesg last lines are:
[ 16.858988] type=1400 audit(1386331680.597:10): apparmor="STATUS" operation="profile_replace" name="/sbin/dhclient" pid=1050 comm="apparmor_parser"
[ 16.859448] type=1400 audit(1386331680.597:11): apparmor="STATUS" operation="profile_replace" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=1050 comm="apparmor_parser"
[ 16.859700] type=1400 audit(1386331680.597:12): apparmor="STATUS" operation="profile_replace" name="/usr/lib/connman/scripts/dhclient-script" pid=1050 comm="apparmor_parser"
[ 16.877061] type=1400 audit(1386331680.613:13): apparmor="STATUS" operation="profile_load" name="/usr/lib/lightdm/lightdm/lightdm-guest-session-wrapper" pid=1049 comm="apparmor_parser"
[ 16.877414] type=1400 audit(1386331680.613:14): apparmor="STATUS" operation="profile_load" name="/usr/lib/lightdm/lightdm/lightdm-guest-session-wrapper//chromium_browser" pid=1049 comm="apparmor_parser"
[ 16.905112] type=1400 audit(1386331680.641:15): apparmor="STATUS" operation="profile_load" name="/usr/bin/evince" pid=1051 comm="apparmor_parser"
[ 16.908840] type=1400 audit(1386331680.645:16): apparmor="STATUS" operation="profile_load" name="/usr/lib/telepathy/mission-control-5" pid=1053 comm="apparmor_parser"
[ 16.909362] type=1400 audit(1386331680.645:17): apparmor="STATUS" operation="profile_load" name="/usr/lib/telepathy/telepathy-*" pid=1053 comm="apparmor_parser"
[ 16.910116] type=1400 audit(1386331680.649:18): apparmor="STATUS" operation="profile_load" name="/usr/bin/evince//launchpad_integration" pid=1051 comm="apparmor_parser"
[ 16.911101] type=1400 audit(1386331680.649:19): apparmor="STATUS" operation="profile_load" name="/usr/bin/evince//sanitized_helper" pid=1051 comm="apparmor_parser"
dmesg - after the messages above returns me:
[ 17.618909] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
[ 17.632736] NFSD: starting 90-second grace period (net ffffffff81cbb1c0)
[ 19.021190] r8169 0000:07:00.0 eth0: link up
[ 19.021207] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 19.459942] init: anacron main process (1103) killed by TERM signal
[ 19.887597] init: plymouth-stop pre-start process (1396) terminated with status 1
[ 21.080254] FS-Cache: Netfs 'cifs' registered for caching
[ 21.080339] Key type cifs.spnego registered
[ 21.080347] Key type cifs.idmap registered
[ 21.153463] Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE
[ 21.153476] CIFS VFS: Send error in SessSetup = -13
[ 21.153547] CIFS VFS: cifs_mount failed w/return code = -13
[ 55.006716] Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE
[ 55.006729] CIFS VFS: Send error in SessSetup = -13
[ 55.006815] CIFS VFS: cifs_mount failed w/return code = -13
[ 56.807436] audit_printk_skb: 30 callbacks suppressed
[ 56.807445] type=1400 audit(1386331720.561:30): apparmor="DENIED" operation="capable" parent=1 profile="/usr/sbin/cupsd" pid=963 comm="cupsd" pid=963 comm="cupsd" capability=36 capname="block_suspend"
[ 809.783795] init: tty1 main process ended, respawning
[ 823.850723] type=1400 audit(1386332487.929:31): apparmor="DENIED" operation="capable" parent=1 profile="/usr/sbin/cupsd" pid=963 comm="cupsd" pid=963 comm="cupsd" capability=36 capname="block_suspend"
[ 824.498471] Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE
[ 824.498484] CIFS VFS: Send error in SessSetup = -13
[ 824.498623] CIFS VFS: cifs_mount failed w/return code = -13
[ 845.538684] Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE
[ 845.538697] CIFS VFS: Send error in SessSetup = -13
[ 845.538886] CIFS VFS: cifs_mount failed w/return code = -13
I searched the net about this code -13 and the only hint got was to change the sec parameter
sec=ntlm to sec=ntlmv2i or sec=lanman
so I tried playing with this parameeter in /etc/security/pam_mount.conf.xml
but with no success
I suspect that that's not the point i must investigate...
best regards