You are not logged in.

#1 2006-08-07 18:25:11

alikas
Member
From: Lithuania, Vilnius
Registered: 2006-05-24
Posts: 319
Website

How turn off computer in KDE?

Hello,
How make, that be turn off compuer button in KDE, then choose "Log out..."?
There my '/etc/inittab' file:
id:5:initdefault:
rc::sysinit:/etc/rc.sysinit
rs:S1:wait:/etc/rc.single
rm:2345:wait:/etc/rc.multi
rh:06:wait:/etc/rc.shutdown
su:S:wait:/sbin/sulogin -p

c1:2345:respawn:/sbin/agetty 38400 vc/1 linux
c2:2345:respawn:/sbin/agetty 38400 vc/2 linux
c3:2345:respawn:/sbin/agetty 38400 vc/3 linux
c4:2345:respawn:/sbin/agetty 38400 vc/4 linux
c5:2345:respawn:/sbin/agetty 38400 vc/5 linux
c6:2345:respawn:/sbin/agetty 38400 vc/6 linux
ca::ctrlaltdel:/sbin/shutdown -t3 -r now
x:5:once:/bin/su al -l -c "/bin/bash --login -c startx >/dev/null 2>/dev/null"


Goodbye!

Offline

#2 2006-08-07 18:32:07

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: How turn off computer in KDE?

As far as I know, you'd have to run KDM (or any other display manager). In order to do that, change the last line to

x:5:respawn:/opt/kde/bin/kdm -nodaemon

Offline

#3 2006-08-08 14:25:25

alikas
Member
From: Lithuania, Vilnius
Registered: 2006-05-24
Posts: 319
Website

Re: How turn off computer in KDE?

Thanks,
But asking for password, in this version, 'x:5:once:/bin/su al -l -c "/bin/bash --login -c startx >/dev/null 2>/dev/null"', not asking for password.
How make, that be "Turn Off Compuer" button and login without password?


Goodbye!

Offline

#4 2006-08-08 19:17:18

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: How turn off computer in KDE?

If you're using KDM, set autologin in KDE Control Center (System Administration -> Login Manager -> Administrator Mode -> Convenience).

Offline

#5 2006-08-10 04:18:08

alikas
Member
From: Lithuania, Vilnius
Registered: 2006-05-24
Posts: 319
Website

Re: How turn off computer in KDE?

Thanks!


Goodbye!

Offline

Board footer

Powered by FluxBB