Datei als Benutzer root ausführen



  • hi
    Ich will mit wine eine Windows-exe starten, jedoch muss ich dafür root-Rechte haben. Wenn ich dann einen neue Konsole für den Benutzer root öffne und "wine datei.exe" eingebe, dann kommt immer eine Fehlermeldung:

    Xlib: connection to ":0.0" refused by server
    Xlib: No protocol specified

    Wenn ich mich jedoch direkt beim Start als Benutzer root einlogge und die Datei in Konqueror anklicke, verläuft alles problemlos?
    Warum ??? 😕



  • man xauth
    Oder mit Sicherheitsproblem auch: man xhost



  • Wenn du für wine root-Rechte brauchst ist aber auch was schiefgelaufen



  • Daniel E: Was ist denn an "xhost localhost"/ "xhost root" oä problematisch? 😕



  • nman schrieb:

    Daniel E: Was ist denn an "xhost localhost"/ "xhost root" oä problematisch?

    Um mit den Worten meiner Manpage zu antworten:
    % In the case of hosts, this provides a rudimen-
    % tary form of privacy control and security. It is only
    % sufficient for a workstation (single user) environment,
    % although it does limit the worst abuses. Environments
    % which require more sophisticated measures should implement
    % the user-based mechanism or use the hooks in the protocol
    % for passing other authentication data to the server.


Anmelden zum Antworten