Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
user shutdown enlightenment
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Treborius
Guru
Guru


Joined: 18 Oct 2005
Posts: 585
Location: Berlin

PostPosted: Tue May 28, 2013 2:22 pm    Post subject: user shutdown enlightenment Reply with quote

hallo,

ich würde gerne aus e17 den computer herunterfahren, problem dabei ist :
enlightenment macht bei einem click auf "system/power off" = garnix

dbus ist gestartet,
use-flags dbus, ukit, gudev, consolekit sind gesetzt

enlightenment wird über ein script einfach per
"enlightenment_start &"
gestartet

irgendjemand eine idee wo ich noch nachsehen könnte?
_________________
Systems running gentoo :
Desktop, Laptop, ZOTAC AD-10 media-center, odroid-xu4 server / wLan-router
Back to top
View user's profile Send private message
franzf
Advocate
Advocate


Joined: 29 Mar 2005
Posts: 4565

PostPosted: Tue May 28, 2013 8:52 pm    Post subject: Reply with quote

consolekit heißt kein systemd, korrekt?
Ist consolekit gestartet?
Dann musst du enlightenment per ck-launch-session starten.
Back to top
View user's profile Send private message
Treborius
Guru
Guru


Joined: 18 Oct 2005
Posts: 585
Location: Berlin

PostPosted: Wed Jun 12, 2013 6:30 am    Post subject: Reply with quote

danke erstmal für deine antwort, aber irgendwie bekomme ich es nicht hin,
liegt wohl daran das ich ck-launch-session nicht als root starten kann ..

setup ist folgendes :
system läuft in einer vm, beim booten wird ein vncserver gestartet, vnc startet die enlightenment session,
schon der vncserver läuft nur mit user-rechten

/etc/local.d/vncserver.start
Code:

#!/bin/sh
su -c 'vncserver -geometry 1920x800 :1' user


.vnc/xstartup
Code:

#!/bin/sh
exec ck-launch-session enlightenment_start &


das bringt mir dann folgendes
user@develVM ~ $ ck-list-sessions
Code:

Session1:
        unix-user = '1000'
        realname = '(null)'
        seat = 'Seat2'
        session-type = ''
        active = FALSE
        x11-display = ':1'
        x11-display-device = ''
        display-device = ''
        remote-host-name = ''
        is-local = FALSE
.
.
.

_________________
Systems running gentoo :
Desktop, Laptop, ZOTAC AD-10 media-center, odroid-xu4 server / wLan-router
Back to top
View user's profile Send private message
musv
Advocate
Advocate


Joined: 01 Dec 2002
Posts: 3333
Location: de

PostPosted: Wed Jun 12, 2013 1:08 pm    Post subject: Reply with quote

Dein ck-list-sessions bedeutet, dass keine aktive Session besteht.

Ich glaub, ich hatte das ck-launch-session beim XBMC vor dem Start des X-Servers, d.h. startx eingefügt.

Alternativ kannst du auch mal systemd ausprobieren. Da ist das Consolekit-Geraffel integriert.
Back to top
View user's profile Send private message
schmidicom
Veteran
Veteran


Joined: 09 Mar 2006
Posts: 1915
Location: Schweiz

PostPosted: Wed Jun 12, 2013 1:50 pm    Post subject: Reply with quote

musv wrote:
Alternativ kannst du auch mal systemd ausprobieren. Da ist das Consolekit-Geraffel integriert.

Was aber nicht bedeutet das automatisch eine session eröffnet wird, sogar beim KDM muss man über pam nachhelfen.
_________________
Lenovo - ThinkPad P16s Gen 2 - 21K9CTO1WW
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum