|
treetec
Anmeldungsdatum: 4. Januar 2007
Beiträge: 47
|

Verfasst: 30. Mai 2010 18:15
Hallo, Folgende Problemstellung: Ich möchte Rhythmbox per http fernsteuern da das gerät nicht über bluetooth verfügt. goolge brachte folgendes hervor: http://blog.simlau.net/rhythmbox-fernsteuerung.html hab also apache2 und php5 auf das gerät gepackt und die dateien in den ordner /var/www/ entpackt, die rbcontrol.sh geändert und ausführbar gemacht.
nun kann ich per handy zwar index.php abrufen aber wenn ich etwas anklicke tut sich nix. 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31 | #!/bin/sh
# Benutzer, unter dem Rhythmbox laeuft
USERNAME=franz
PASSWORD=**********
# find PID of any running process (owned by the user), for example notification-daemon (which uses DBUS)
PID=`pgrep -o -u $USERNAME -p $PASSWORD rhythmbox`
# from the environment of the process we get the DBUS address
DBUS_ADDRESS=`grep -z DBUS_SESSION_BUS_ADDRESS /proc/$PID/environ 2>/dev/null`
# if it was successfull, then we either print it, or export it or whatever, if we want
if [ "x$DBUS_ADDRESS" != "x" ]; then
#echo $DBUS_ADDRESS
export $DBUS_ADDRESS
#sudo -u $USERNAME -p $PASSWORD -p $PASSWORD rhythmbox-client --print-playing > /var/www/current_song.txt
case "$1" in
"play") sudo -u $USERNAME -p $PASSWORD rhythmbox-client --play;;
"pause") sudo -u $USERNAME -p $PASSWORD rhythmbox-client --pause;;
"play-pause") sudo -u $USERNAME -p $PASSWORD rhythmbox-client --play-pause;;
"next") sudo -u $USERNAME -p $PASSWORD rhythmbox-client --next;;
"previous") sudo -u $USERNAME -p $PASSWORD rhythmbox-client --previous;;
"mute") sudo -u $USERNAME -p $PASSWORD rhythmbox-client --mute;;
"unmute") sudo -u $USERNAME -p $PASSWORD rhythmbox-client --unmute;;
"volume-up") sudo -u $USERNAME -p $PASSWORD rhythmbox-client --volume-up;;
"volume-down") sudo -u $USERNAME -p $PASSWORD rhythmbox-client --volume-down;;
"set-volume") sudo -u $USERNAME -p $PASSWORD rhythmbox-client --set-volume $2;;
"print-playing") sudo -u $USERNAME -p $PASSWORD rhythmbox-client --print-playing;;
esac
fi
|
wenn ./rbcontrol.sh im terminal ausführe:
die DBUS adresse wird auch ausgegeben wenn ich sie per echo ausgeben lasse. ebenso wird current_song.text erzeugt mit korrektem titel wenn die zeile aktiviert wird.
wenn ich die sudo -u ...... zeilen direkt in den terminal klopfe wird rhythmbox auch korrekt angesprochen, aber sobald ich das das ganze per http versuche schreibt das programm bei current song none, klickt man dann auf next song, wird die seite neu geladen und bei current song steht nix mehr drin. danke für eure hilfe
gerhard Moderiert von prometheus0815: Doppel- und Crossposting gelöscht. Ein Thread reicht! Falls Du der Meinung bist, dass er in ein anderes Unterforum gehört, verwende die Melden-Funktion, um die Moderatoren um eine Verschiebung zu bitten. Moderiert von prometheus0815: Ins richtige Forum verschoben. Bitte beachte beim Erstellen neuer Themen die als wichtig markierten Sticky-Threads "Welche Themen gehören hier her und welche nicht?" in jedem Unterforum.
|
|
treetec
(Threadstarter)
Anmeldungsdatum: 4. Januar 2007
Beiträge: 47
|

Verfasst: 30. Mai 2010 18:28
dazu noch die php files: index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58 | <?php
/**
* Rhythmbox Remote Control via HTTP
* @author Simon Lauger <****>
* @url http://blog.simlau.net/
* @version RC1
*/
error_reporting(E_ALL);
function rb_control($cmd, $arg = 0)
{
// Erlaubte Kommandos
$allowed = array('play', 'pause', 'play-pause', 'set-volume',
'volume-up', 'volume-down', 'mute', 'unmute',
'print-playing', 'next', 'previous');
// Handelt es sich um ein erlaubtes Kommando?
if (!in_array($cmd, $allowed))
{
return false;
}
$shell_cmd = sprintf('sudo sh rbcontrol.sh %s %s', $cmd, escapeshellarg($arg));
return shell_exec($shell_cmd);
}
$do = (isset($_GET['do'])) ? $_GET['do'] : '';
if ($do != '') {
rb_control($do);
$song = rb_control('print-playing');
} else {
$song = 'None';
}
?>
<html>
<head>
<title>Rhythmbox Control</title>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no">
<link title="style" type="text/css" rel="stylesheet" href="iphone.css" />
</head>
<body>
<h1>Rhythmbox Control</h1>
<ul>
<li><p>Current Song:<br /><?php echo $song; ?></p></li>
<li><a href="index.php?do=next">Next Song</a></li>
<li><a href="index.php?do=previous">Last Song</a></li>
<li><a href="index.php?do=play-pause">Play/Pause</a></li>
<li><a href="index.php?do=volume-up">Volume Up</a></li>
<li><a href="index.php?do=volume-down">Volume Down</a></li>
<li><a href="index.php?do=mute">Mute</a></li>
<li><a href="index.php?do=unmute">Unmute</a></li>
</ul>
</body>
</html>
|
css file
iphone.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89 | body {
margin: 9px;
background-color: #c5ccd4;
background-image: url(png/background.png);
font-family: sans-serif, "Arial";
font-size: 16px;
color: #324f85;
}
a {
color: #000000;
}
h1 {
color: #4c566c;
font-size: 16px;
margin-left: 12px;
text-shadow: 0px 1px 1px #ffffff;
margin-bottom: 5px;
margin-top: 20px;
}
ul {
-webkit-border-radius: 10px;
border: 1px solid #acaeb0;
background-color: #ffffff;
width: 300px;
margin: 0px;
padding: 0px;
list-style:none;
}
li {
word-wrap: break-word;
border-top: 1px solid #acaeb0;
padding: 12px;
color: #000000;
font-weight: bold;
}
li span {
font-weight: normal;
color: #324f85;
display: block;
width: 276px;
text-align: right;
margin-top: -18px;
}
li a {
display: block;
text-decoration: none;
background-image: url(png/disclosure.png);
background-repeat: no-repeat;
background-position: right center;
}
li:first-child {
border-top: none;
}
p {
font-weight: normal;
padding: 0px;
margin: 0px;
line-height: 20px;
color: #324f85;
}
p a, span a {
font-weight: normal;
text-align: left;
display: inline;
text-decoration: underline;
color: #324f85;
background-image: none;
}
p + p {
margin-top: 12px;
}
.disabled {
color: gray;
}
.centered {
text-align: center;
}
|
ich hab den thread auch unter shellprogramierung geöffnet, da er dort eventuell besser hinpasst.
Bearbeitet von redknight: Emailadresse auf Wunsch des Posters entfernt
|
|
treetec
(Threadstarter)
Anmeldungsdatum: 4. Januar 2007
Beiträge: 47
|

Verfasst: 30. Mai 2010 20:03
beim rbcontrol hatte ich noch folgenden fehler drin gehabt, war aber auch nicht die lösung, verhalten ist so wie vorhin auch 1
2 | # find PID of any running process (owned by the user), for example notification-daemon (which uses DBUS)
PID=`pgrep -o -u $USERNAME rhythmbox`
|
|
|
fear
Anmeldungsdatum: 21. Oktober 2008
Beiträge: 47
Wohnort: Nürnberg
|

Verfasst: 31. Mai 2010 02:12
Guckst du hier -> http://blog.simlau.net/rhythmbox-fernsteuerung.html#comment-11120  Bitte entferne noch meine E-Mail Adresse aus deinem Post (wegen E-Mail Crawlern etc.)
|
|
treetec
(Threadstarter)
Anmeldungsdatum: 4. Januar 2007
Beiträge: 47
|

Verfasst: 1. Juni 2010 00:34
Ich habe das neue script ausprobiert. 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42 | #!/usr/bin/env bash
# script gw between apache2 <-> rhythmbox-control
# http://blog.simlau.net
# owner of the rhythmbox main process
USERNAME="franz"
# safe current song in textfile
NOWPLAYING=""
# find PID of any running process (owned by the user), for example notification-daemon (which uses DBUS)
PID=`pgrep -o -U $USERNAME rhythmbox`
echo $PID
# from the environment of the process we get the DBUS address
DBUS_ADDRESS=`grep -z DBUS_SESSION_BUS_ADDRESS /proc/$PID/environ 2>/dev/null`
# if it was successfull, then we either print it, or export it or whatever, if we want
if [ "x$DBUS_ADDRESS" != "x" ]; then
echo $DBUS_ADDRESS # debug
export $DBUS_ADDRESS
if [ "$NOWPLAYING" != "" ]; then
sudo rhythmbox-client --print-playing > $NOWPLAYING
fi
case "$1" in
"play") sudo rhythmbox-client --play;;
"pause") sudo rhythmbox-client --pause;;
"play-pause") sudo rhythmbox-client --play-pause;;
"next") sudo rhythmbox-client --next;;
"previous") sudo rhythmbox-client --previous;;
"mute") sudo rhythmbox-client --mute;;
"unmute") sudo rhythmbox-client --unmute;;
"volume-up") sudo rhythmbox-client --volume-up;;
"volume-down") sudo rhythmbox-client --volume-down;;
#"set-volume") sudo rhythmbox-client --set-volume $2;;
"print-playing") sudo rhythmbox-client --print-playing;;
esac
exit 0
else
echo "fail"
exit 1
fi
|
Folgendes Ergebniss: franz@mediacenter-franz:~$ sudo su www-data
$ sh /var/www/rbcontrol.sh
1326
fail
$ grep -z DBUS_SESSION_BUS_ADDRESS /proc/1326/environ
grep: /proc/1326/environ: Permission denied
$ id www-data
uid=33(www-data) gid=33(www-data) Gruppen=33(www-data)
$ ls -l /proc/1326/environ
-r-------- 1 franz sudo 0 2010-06-01 00:17 /proc/1326/environ
$ exit
franz@mediacenter-franz:~$ grep -z DBUS_SESSION_BUS_ADDRESS /proc/1326/environ
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-TxV0ERilsf,guid=471a19afc8988051a9db1a664c042dcb
franz@mediacenter-franz:~$ id franz
uid=1000(franz) gid=27(sudo) Gruppen=27(sudo),4(adm),20(dialout),21(fax),24(cdrom),25(floppy),26(tape),29(audio),30(dip),33(www-data),44(video),46(plugdev),104(fuse),105(lpadmin),112(netdev),119(admin),121(nopasswdlogin),122(sambashare)
franz@mediacenter-franz:~$ ls -l /var/www/
insgesamt 56
-rwxrwxr-x 1 www-data sudo 1652 2010-05-31 01:50 index.php
-rwxrwxr-x 1 www-data sudo 1262 2009-05-02 13:06 iphone.css
-rwxrwxr-x 1 www-data sudo 18324 2009-05-02 13:13 license.txt
drwxrwxr-x 2 www-data sudo 4096 2010-05-30 17:07 old
drwxrwxr-x 2 www-data sudo 4096 2010-05-31 01:09 png
-rwxrwxr-x 1 www-data sudo 1494 2010-06-01 00:16 rbcontrol.sh
-rwxrwxr-x 1 www-data sudo 1068 2010-05-31 01:57 readme.txt
drwxrwxr-x 4 www-data sudo 4096 2010-05-31 16:59 V1
drwxrwxr-x 3 www-data sudo 4096 2010-05-31 21:53 V beta
franz@mediacenter-franz:~$ Meineserachtens hat www-data nicht die Rechte um /proc/1326/environ auszulesen. Komm aber nicht wirklich weiter.
Eventuell hat jemand eine Lösung.
|
|
treetec
(Threadstarter)
Anmeldungsdatum: 4. Januar 2007
Beiträge: 47
|

Verfasst: 1. Juni 2010 01:26
Wenn ich /proc/1326/environ copiere nach /var/www/environ und entsprechende Rechte für www-data erstelle kann rbcontrol die DBUS_AD... von der Datei auch auslesen. Also habe ich in index.php den pfad zu rbcontrol eingetragen, und leider tut sich nichts. Leider bin ich kein guter programmierer.
Gute Nacht
Gerhard 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68 | <?php
/*
* Rhythmbox Remote Control via HTTP
* @url http://blog.simlau.net/
* @version RC1
*/
// Pfad zum rbcontrol Script
$rbcontrol_path = '/var/www/rbcontrol.sh';
function rb_control($cmd, $arg = '')
{
global $rbcontrol_path;
// Erlaubte Kommandos
$allowed = array(
'play', 'pause', 'play-pause', 'set-volume',
'volume-up', 'volume-down', 'mute', 'unmute',
'print-playing', 'next', 'previous'
);
// Handelt es sich um ein erlaubtes Kommando?
if (!in_array($cmd, $allowed)) {
return false;
}
$shell_cmd = sprintf(
'sudo %1s %2s %3s',
$rbcontrol_path, $cmd, escapeshellarg($arg)
);
return shell_exec($shell_cmd);
}
$do = (isset($_GET['do'])) ? $_GET['do'] : '';
if (shell_exec('sudo ' . $rbcontrol_path) == 'fail') {
$song = "Rhythmbox Proccess not found";
} else {
if ($do != '') {
rb_control($do);
$song = rb_control('print-playing');
} else {
$song = 'None';
}
}
?>
<html>
<head>
<title>Rhythmbox Control</title>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no">
<link title="style" type="text/css" rel="stylesheet" href="iphone.css" />
</head>
<body>
<h1>Rhythmbox Control</h1>
<ul>
<li><p>Current Song:<br /><?php echo $song; ?></p></li>
<li><a href="index.php?do=next">Next Song</a></li>
<li><a href="index.php?do=previous">Last Song</a></li>
<li><a href="index.php?do=play-pause">Play/Pause</a></li>
<li><a href="index.php?do=volume-up">Volume Up</a></li>
<li><a href="index.php?do=volume-down">Volume Down</a></li>
<li><a href="index.php?do=mute">Mute</a></li>
<li><a href="index.php?do=unmute">Unmute</a></li>
</ul>
</body>
</html>
|
|
|
fear
Anmeldungsdatum: 21. Oktober 2008
Beiträge: 47
Wohnort: Nürnberg
|

Verfasst: 1. Juni 2010 21:58
Konnte das auf einem Lenny so nachvollziehen. Die "Lösung" sollte sein:
DBUS_ADDRESS=`sudo grep -z DBUS_SESSION_BUS_ADDRESS /proc/$PID/environ 2>/dev/null`
Probiere das mal so und sag Bescheid ob es geklappt hat. Fraglich ist nur warum das mal so funktionierte. Ich passe das dann bei Gelegenheit noch an.
|
|
treetec
(Threadstarter)
Anmeldungsdatum: 4. Januar 2007
Beiträge: 47
|

Verfasst: 3. Juni 2010 01:41
Sodann, Ich habe www-data mal zu admin und sudo Gruppe hinzugefügt. sudo adduser www-data admin
sudo adduser www-data sudo weiters habe ich rbcontrol folgendermaßen abgeändert
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44 | #!/usr/bin/env bash
# script gw between apache2 <-> rhythmbox-control
# http://blog.simlau.net
# owner of the rhythmbox main process
USERNAME="franz"
# safe current song in textfile
#NOWPLAYING="play"
# find PID of any running process (owned by the user), for example notification-daemon (which uses DBUS)
PID=`pgrep -o -U $USERNAME rhythmbox`
#echo $PID
# from the environment of the process we get the DBUS address
DBUS_ADDRESS=`sudo -S -u franz grep -z DBUS_SESSION_BUS_ADDRESS /proc/$PID/environ 2>/dev/null`
# if it was successfull, then we either print it, or export it or whatever, if we want
if [ "x$DBUS_ADDRESS" != "x" ]; then
#echo $DBUS_ADDRESS # debug
export $DBUS_ADDRESS
sudo -S -u $USERNAME rhythmbox-client --print-playing > /var/www/current_song.txt
#if [ "$NOWPLAYING" != "" ]; then
#sudo -S -u $USERNAME rhythmbox-client --print-playing > $NOWPLAYING
#fi
case "$1" in
"play") sudo -S -u $USERNAME rhythmbox-client --play;;
"pause") sudo -S -u $USERNAME rhythmbox-client --pause;;
"play-pause") sudo -S -u $USERNAME rhythmbox-client --play-pause;;
"next") sudo -S -u $USERNAME rhythmbox-client --next;;
"previous") sudo -S -u $USERNAME rhythmbox-client --previous;;
"mute") sudo -S -u $USERNAME rhythmbox-client --mute;;
"unmute") sudo -S -u $USERNAME rhythmbox-client --unmute;;
"volume-up") sudo -S -u $USERNAME rhythmbox-client --volume-up;;
"volume-down") sudo -S -u $USERNAME rhythmbox-client --volume-down;;
#"set-volume") sudo -S -u $USERNAME rhythmbox-client --set-volume $2;;
"print-playing") sudo -S -u $USERNAME rhythmbox-client --print-playing;;
esac
exit 0
else
echo "fail"
exit 1
fi
|
franz@mediacenter-franz:~$ sudo su www-data
[sudo] password for franz:
$ sudo sh /var/www/rbcontrol_v03.sh print-playing
Udo Jrgens - Griechischer Wein
$ Nun kann ich in der Commandline per user www-data mit dem rbcontrol script die rhythmbox von user franz steuern.
bei index.php passt aber noch was nicht da die befehle noch nicht korrekt übergeben werden.
Ich poste dann auch die index.php sobald ich eine funktionierende habe.
die Rechteverwaltung möchte ich allerdings noch etwas ändern!! ist nur ein Prototyp.
|
|
treetec
(Threadstarter)
Anmeldungsdatum: 4. Januar 2007
Beiträge: 47
|

Verfasst: 3. Juni 2010 14:57
Ich bräucht wenn der PHP kann, ich bekomms einfach nicht hin. 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68 | <?php
/*
* Rhythmbox Remote Control via HTTP
* @url http://blog.simlau.net/
* @version RC1
*/
// Pfad zum rbcontrol Script
$rbcontrol_path = '/var/www/rbcontrol.sh';
function rb_control($cmd, $arg = '')
{
global $rbcontrol_path;
// Erlaubte Kommandos
$allowed = array(
'play', 'pause', 'play-pause', 'set-volume',
'volume-up', 'volume-down', 'mute', 'unmute',
'print-playing', 'next', 'previous'
);
// Handelt es sich um ein erlaubtes Kommando?
if (!in_array($cmd, $allowed)) {
return false;
}
$shell_cmd = sprintf(
'sudo %1s %2s %3s',
$rbcontrol_path, $cmd, escapeshellarg($arg)
);
return shell_exec($shell_cmd);
}
$do = (isset($_GET['do'])) ? $_GET['do'] : '';
if (shell_exec('sudo ' . $rbcontrol_path) == 'fail') {
$song = "Rhythmbox Proccess not found";
} else {
if ($do != '') {
rb_control($do);
$song = rb_control('print-playing');
} else {
$song = 'None';
}
}
?>
<html>
<head>
<title>Rhythmbox Control</title>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no">
<link title="style" type="text/css" rel="stylesheet" href="iphone.css" />
</head>
<body>
<h1>Rhythmbox Control</h1>
<ul>
<li><p>Current Song:<br /><?php echo $song; ?></p></li>
<li><a href="index.php?do=next">Next Song</a></li>
<li><a href="index.php?do=previous">Last Song</a></li>
<li><a href="index.php?do=play-pause">Play/Pause</a></li>
<li><a href="index.php?do=volume-up">Volume Up</a></li>
<li><a href="index.php?do=volume-down">Volume Down</a></li>
<li><a href="index.php?do=mute">Mute</a></li>
<li><a href="index.php?do=unmute">Unmute</a></li>
</ul>
</body>
</html>
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41 | #!/usr/bin/env bash
# script gw between apache2 <-> rhythmbox-control
# http://blog.simlau.net
# owner of the rhythmbox main process
USERNAME="franz"
# safe current song in textfile
NOWPLAYING=""
# find PID of any running process (owned by the user), for example notification-daemon (which uses DBUS)
PID=`pgrep -o -U $USERNAME notification-da`
echo $PID
# from the environment of the process we get the DBUS address
DBUS_ADDRESS=`grep -z DBUS_SESSION_BUS_ADDRESS /proc/$PID/environ 2>/dev/null`
echo $DBUS_ADDRESS
# if it was successfull, then we either print it, or export it or whatever, if we want
if [ "x$DBUS_ADDRESS" != "x" ]; then
echo $DBUS_ADDRESS # debug
export $DBUS_ADDRESS
if [ "$NOWPLAYING" != "" ]; then
sudo rhythmbox-client --print-playing > $NOWPLAYING
fi
case "$1" in
"play") sudo rhythmbox-client --play;;
"pause") sudo rhythmbox-client --pause;;
"play-pause") sudo rhythmbox-client --play-pause;;
"next") sudo rhythmbox-client --next;;
"previous") sudo rhythmbox-client --previous;;
"mute") sudo rhythmbox-client --mute;;
"unmute") sudo rhythmbox-client --unmute;;
"volume-up") sudo rhythmbox-client --volume-up;;
"volume-down") sudo rhythmbox-client --volume-down;;
#"set-volume") sudo rhythmbox-client --set-volume $2;;
"print-playing") sudo rhythmbox-client --print-playing;;
esac
exit 0
else
echo "fail"
exit 1
fi
|
rbcontrol.sh wird auch ausgeführt, aber anscheinend ist es so daß, Werte nicht korrekt übermittelt werden nach rbcontrol.sh.
Wenn ich die website index.php im browser aufrufe und auf next klicke erhalte ich als Ausgabe fail (von rbcontrol.sh).
|
|
fear
Anmeldungsdatum: 21. Oktober 2008
Beiträge: 47
Wohnort: Nürnberg
|

Verfasst: 4. Juni 2010 19:51
Sorry für die verspätete Antwort. Bin die Woche noch im Urlaub und daher momentan viel unterwegs und wenig am PC. Hab mir mal ne Ubuntu in ner VM aufgesetzt und etwas rumgespielt. Irgendwas hat nicht funktioniert und ich hatte auch nen Denkfehler mit drin (man sollte eben doch nicht mehr so spät am PC sitzen). Ich würde dich bitte es mal mit diesem Paket zu versuchen. Das ganze funktioniert so ohne Probleme bei mir (Ubuntu 10.04). Bitte alle alten Files löschen und auch die Infos in der readme.txt beachten. U.a. wird die DBUS Session wird nun über ~/.dbus gegrept und nicht mehr mit psgrep.  Edit: Natürlich solltest du www-data wieder aus den Gruppen sudo und admin rausnehmen. Das ist unnötig und zudem recht evil.
|
|
treetec
(Threadstarter)
Anmeldungsdatum: 4. Januar 2007
Beiträge: 47
|

Verfasst: 4. Juni 2010 22:37
Danke, ich probiers aus, noch einen schönen Urlaub wünsch ich dir.
|
|
treetec
(Threadstarter)
Anmeldungsdatum: 4. Januar 2007
Beiträge: 47
|

Verfasst: 5. Juni 2010 02:12
Neuer Tag neues Glück, $ rbcontrol next
/usr/local/bin/rbcontrol: Zeile 12: /home/franz/.dbus/session-bus/*: Permission denied
Error: Couldnt get DBUS_SESSION
|
|
treetec
(Threadstarter)
Anmeldungsdatum: 4. Januar 2007
Beiträge: 47
|

Verfasst: 5. Juni 2010 10:07
Alsooo, Ich hab wohl mein System nicht mehr überblickt!! Das kommt davon wenn man nächtelang durcharbeitet und den Wald vor lauter Bäumen nicht mehr sieht.
Bei meinen Beruflichen Projekten schreib ich normalerweise jede ändeung im System mit, warum ich das hier nicht getan hab? Keine Ahnung. Ich hab das System neu aufgesetzt mit Ubuntu 10.04 64bit, danach habe ich die Readme abgearbeitet, und siehe da!!!! ES GEHT !!!
|
|
treetec
(Threadstarter)
Anmeldungsdatum: 4. Januar 2007
Beiträge: 47
|

Verfasst: 5. Juni 2010 10:47
Hallo Simon, Bei der rbcontrol hat sich noch ein kleiner Fehler eingeschlichen,
Bei unmute muß noch $USERNAME nachgetragen werden. Mit mute und unmute hab ich noch ein Problem,betrifft aber nicht rbcontrol.
Wenn ich mute ausführe wirds zwar leise, aber bei unmute wird die vorige Lautstärke nicht mehr eingestellt. Weiters wird nicht der aktuelle sondern der vorhergehende Titel angezeigt, ich hab diese Funktionen jetz mal abgeschaltet.
Werde mich wahrscheinlich erst in ein paar Tagen wieder damit beschäftigen. MFG und vielen Dank!
Gerhard
|