This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Can't reach desktop : call to lnusertemp failed

Tags: None
(comma "," separated)
User avatar
manchette
Registered Member
Posts
285
Karma
0
OS
Hello ;)

i upgraded Mesa to 9.0.1 while trying to solve some error with Google Earth 7, after reboot i can't reach kde graphic session anymore.
The error message i have is :
call to lnusertemp failed, temp dir full ? check your installation o) o)

I've been looking at it for a while ( e.g : https://forums.opensuse.org/english/get ... ystem.html ) and it's kind off complicated for the package manager is not responding as it should :

.. zypper refresh always fails with each repository giving the following error :
error occured while setting download (curl) options for 'http://repository_url' o) o)

.. Yast also give the same error when trying to autorefresh repos.

i then downloaded an iso of the opensuse 12.2 dvd to make a unique and local repository so that i can update (zypper dup) the distribution.
The command worked but reboot still fails with the 1st error above.

So far i think it could be
-- permissions in /tmp or /var/tmp ( i changed these to 1777 and i have already looked at df and cleaned temp files a bit before this happened ... )
-- or the symlinks in .kde4 , i erased the ones of my old machines and by mistake erased the ones of the actaul machine, i then recreated them , can it disturb (?)

I'm using kde , is this linked with kde and how can i solve this please ?
thanks ;)


manchette, proud to be a member of KDE forums since 2008-Oct.
last openSUSE version : Leap 42.1... / Last Kde Plasma version : 5.0.xxx ...
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Please check that /tmp and /var/tmp have sufficient free space, and that your user has write permission to ~/.kde* and is the owner of those folders (as well as any contained files/folders).

You can find out your user and group name with the following two commands:
Code: Select all
id -un
id -gn


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
manchette
Registered Member
Posts
285
Karma
0
OS
hello ;)

here's a result i have

i was not able to find a solution, so i reinstalled from scratch (keeping /home tough) , it seems like the last part is mostly not needed anymore (the name of my machine is linux-opensuse122 right now)
how can i clean this ? (is erasing the files with a machine name different than the actual one enough ? )

it looks like zypper dup , or even new install from scratch are leaving many unnecessary files.

Code: Select all
fabrice@linux-opensuse122:~> ls -al /home/fabrice/.kde*
/home/fabrice/.kde:
total 12
drwx------   3 fabrice users 4096 21 déc.  21:45 .
drwxr-xr-x 106 fabrice users 4096  8 févr. 09:21 ..
lrwxrwxrwx   1 fabrice users   25 21 déc.  21:45 cache-opensuse122 -> /var/tmp/kdecache-fabrice
drwx------   8 fabrice users 4096 21 déc.  21:45 share
lrwxrwxrwx   1 fabrice users   20 21 déc.  21:45 socket-opensuse122 -> /tmp/ksocket-fabrice
lrwxrwxrwx   1 fabrice users   16 21 déc.  21:45 tmp-opensuse122 -> /tmp/kde-fabrice

/home/fabrice/.kde4:
total 24
drwx------   6 fabrice users 4096 30 janv. 13:07 .
drwxr-xr-x 106 fabrice users 4096  8 févr. 09:21 ..
drwxr-xr-x   2 fabrice users 4096 22 nov.   2011 Autostart
lrwxrwxrwx   1 fabrice users   25 19 janv. 23:05 cache-linux-3n5s -> /var/tmp/kdecache-fabrice
lrwxrwxrwx   1 fabrice users   25 30 janv. 13:07 cache-linux-opensuse122 -> /var/tmp/kdecache-fabrice
lrwxrwxrwx   1 root    root    26 15 janv. 15:39 cache-opensuse122 -> /var/tmp/kdecache-fabrice/
drwxr-xr-x   2 fabrice users 4096 31 déc.   2011 env
drwx------   7 fabrice users 4096 31 déc.   2011 share
drwxr-xr-x   2 fabrice users 4096 31 déc.   2011 shutdown
lrwxrwxrwx   1 fabrice users   20 19 janv. 23:05 socket-linux-3n5s -> /tmp/ksocket-fabrice
lrwxrwxrwx   1 fabrice users   20 30 janv. 11:28 socket-linux-opensuse122 -> /tmp/ksocket-fabrice
lrwxrwxrwx   1 root    root    21 15 janv. 15:41 socket-opensuse122 -> /tmp/ksocket-fabrice/
lrwxrwxrwx   1 fabrice users   16 19 janv. 23:05 tmp-linux-3n5s -> /tmp/kde-fabrice
lrwxrwxrwx   1 fabrice users   16 30 janv. 11:28 tmp-linux-opensuse122 -> /tmp/kde-fabrice
lrwxrwxrwx   1 root    root    17 15 janv. 15:42 tmp-opensuse122 -> /tmp/kde-fabrice/

/home/fabrice/.kde4_111122:
total 16
drwx------   4 fabrice users 4096 20 nov.   2011 .
drwxr-xr-x 106 fabrice users 4096  8 févr. 09:21 ..
drwxr-xr-x   2 fabrice users 4096 18 janv.  2011 Autostart
lrwxrwxrwx   1 fabrice users   25  5 oct.   2011 cache-linux-4e6s -> /var/tmp/kdecache-fabrice
lrwxrwxrwx   1 fabrice users   25 18 janv.  2011 cache-linux-66k9 -> /var/tmp/kdecache-fabrice                                                                                                                                               
lrwxrwxrwx   1 fabrice users   25  9 mars   2011 cache-linux-hrm6 -> /var/tmp/kdecache-fabrice                                                                                                                                               
lrwxrwxrwx   1 fabrice users   25  4 juil.  2011 cache-linux-l4t8 -> /var/tmp/kdecache-fabrice                                                                                                                                               
lrwxrwxrwx   1 fabrice users   25 28 août   2011 cache-linux-os114 -> /var/tmp/kdecache-fabrice                                                                                                                                             
lrwxrwxrwx   1 fabrice users   25 20 nov.   2011 cache-linux-os121 -> /var/tmp/kdecache-fabrice                                                                                                                                             
                                                                                                                           
drwx------   7 fabrice users 4096 23 juil.  2011 share                                                                                                                                                                                       
lrwxrwxrwx   1 fabrice users   20  5 oct.   2011 socket-linux-4e6s -> /tmp/ksocket-fabrice                                                                                                                                                   
lrwxrwxrwx   1 fabrice users   20 18 janv.  2011 socket-linux-66k9 -> /tmp/ksocket-fabrice                                                                                                                                                   
lrwxrwxrwx   1 fabrice users   20  9 mars   2011 socket-linux-hrm6 -> /tmp/ksocket-fabrice                                                                                                                                                   
lrwxrwxrwx   1 fabrice users   20  4 juil.  2011 socket-linux-l4t8 -> /tmp/ksocket-fabrice                                                                                                                                                   
lrwxrwxrwx   1 fabrice users   20 28 août   2011 socket-linux-os114 -> /tmp/ksocket-fabrice                                                                                                                                                 
lrwxrwxrwx   1 fabrice users   20 20 nov.   2011 socket-linux-os121 -> /tmp/ksocket-fabrice                                                                                                                                                 
                                                                                                                           
lrwxrwxrwx   1 fabrice users   16  5 oct.   2011 tmp-linux-4e6s -> /tmp/kde-fabrice                                                                                                                                                         
lrwxrwxrwx   1 fabrice users   16 18 janv.  2011 tmp-linux-66k9 -> /tmp/kde-fabrice                                                                                                                                                         
lrwxrwxrwx   1 fabrice users   16  9 mars   2011 tmp-linux-hrm6 -> /tmp/kde-fabrice                                                                                                                                                         
lrwxrwxrwx   1 fabrice users   16  4 juil.  2011 tmp-linux-l4t8 -> /tmp/kde-fabrice                                                                                                                                                         
lrwxrwxrwx   1 fabrice users   16 28 août   2011 tmp-linux-os114 -> /tmp/kde-fabrice                                                                                                                                                         
lrwxrwxrwx   1 fabrice users   16 20 nov.   2011 tmp-linux-os121 -> /tmp/kde-fabrice                                                                                                                                                         




manchette, proud to be a member of KDE forums since 2008-Oct.
last openSUSE version : Leap 42.1... / Last Kde Plasma version : 5.0.xxx ...
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
I cannot comment about the /home/fabrice/.kde4_111122 directory.
However for ~/.kde and ~/.kde4 you may safely remove all of those symlinks, as long as you are outside a KDE session.

If you do it under a running session, things will break quite severely. I would recommend doing it in a failsafe XTerm session or at a virtual terminal.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
manchette
Registered Member
Posts
285
Karma
0
OS
i cleaned all dirs :

[ code]
# ls -al /home/fabrice/.kde*
/home/fabrice/.kde:
total 12
drwx------ 3 fabrice users 4096 Feb 8 10:55 .
drwxr-xr-x 106 fabrice users 4096 Feb 8 11:04 ..
drwx------ 8 fabrice users 4096 Dec 21 21:45 share

/home/fabrice/.kde4:
total 24
drwx------ 6 fabrice users 4096 Feb 8 10:56 .
drwxr-xr-x 106 fabrice users 4096 Feb 8 11:04 ..
drwxr-xr-x 2 fabrice users 4096 Nov 22 2011 Autostart
lrwxrwxrwx 1 fabrice users 25 Jan 30 13:07 cache-linux-opensuse122 -> /var/tmp/kdecache-fabrice
drwxr-xr-x 2 fabrice users 4096 Dec 31 2011 env
drwx------ 7 fabrice users 4096 Dec 31 2011 share
drwxr-xr-x 2 fabrice users 4096 Dec 31 2011 shutdown
lrwxrwxrwx 1 fabrice users 20 Jan 30 11:28 socket-linux-opensuse122 -> /tmp/ksocket-fabrice
lrwxrwxrwx 1 fabrice users 16 Jan 30 11:28 tmp-linux-opensuse122 -> /tmp/kde-fabrice

/home/fabrice/.kde4_111122:
total 16
drwx------ 4 fabrice users 4096 Feb 8 10:59 .
drwxr-xr-x 106 fabrice users 4096 Feb 8 11:04 ..
drwxr-xr-x 2 fabrice users 4096 Jan 18 2011 Autostart
drwx------ 7 fabrice users 4096 Jul 23 2011 share
linux-opensuse122:/home/fabrice/.kde4_111122 #

[/code]


manchette, proud to be a member of KDE forums since 2008-Oct.
last openSUSE version : Leap 42.1... / Last Kde Plasma version : 5.0.xxx ...
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
That looks how I would expect it to - lnusertemp has setup the three new directories.
Is the command still reporting failure?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
manchette
Registered Member
Posts
285
Karma
0
OS
i'm not sure which command was called exactly , but it certainly is ok now for the error used to come at boot, impeding to reach desktop.


manchette, proud to be a member of KDE forums since 2008-Oct.
last openSUSE version : Leap 42.1... / Last Kde Plasma version : 5.0.xxx ...
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Excellent. If all is now well and you can reach the desktop without trouble, please mark this topic as solved.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
manchette
Registered Member
Posts
285
Karma
0
OS
Actually i never found the reason why it failed, only a reinstall helped.


manchette, proud to be a member of KDE forums since 2008-Oct.
last openSUSE version : Leap 42.1... / Last Kde Plasma version : 5.0.xxx ...


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], kde-naveen, Sogou [Bot], Yahoo [Bot]