Then modify startkde script and start in runlevel 3, login in text mode and startx, let's go:
1)Edit
/home/youuserhere/.kde4/share/config/kdedrc
And in this line:
[Module-networkstatus]
autoload=true
change true to false, save and restart the system. Many daemon that are no included in kde package for ArchLinux no could be accessed by kdeinit4 or kded4, this bug produce a bug in the start and consecuent errors.
2)Add a line that can kill all processes (is a error of startkde script in ArchLinux)
Edit /usr/bin/startkde
In the last line:
# Clean up
kdeinit4_shutdown
# KDE3 support
Add this command
kdekillall -9 kded4, then file resultant:
# Clean up
kdeinit4_shutdown
kdekillall -9 kded4
# KDE3 support
save and exit, as root ever all actions.
3) Edit /etc/inittab and change runlevel 5 to 3, init in text mode and after login type startx
4) Configure automount and restart - shutdown permissions for your user
5) Create in /etc/polkit-1/localauthority a new folder called 50-local.d with mkdir command as root.
6) Create the files into 50-local.d/
mount.pkla
restart.pkla
shutdown.pkla
Content:
mount.pkla
[Mount system internal media for group storage]
Identity=unix-group:storage
Action=org.freedesktop.udisks.filesystem-*
ResultAny=yes
ResultInactive=no
ResultActive=yes
shutdown.pkla
[Local_shutdown]
#Identity=unix-user: you_user_here
Identity=unix-group:power
Action=org.freedesktop.consolekit.system.stop
ResultAny=yes
ResultInactive=no
ResultActive=yes
restart.pkla
[Local restart]
#Identity=unix-user: you_user_here
Identity=unix-group:power
Action=org.freedesktop.consolekit.system.restart
ResultAny=yes
ResultInactive=no
ResultActive=yes
Explanation of bug:
startkde script is wrong and wrong coded and kdeinit_shutdown is buggy, start kde but when kded4 is closed no kill _all_ childs, then, is necessary an hack.
Now you can start in text mode, runlevel 3, login, and type startx command, mount, restart and shutdown permitted for you user
Enjoy
bytes
No hay comentarios:
Publicar un comentario