[Gambas-user] Desktop.RunAsRoot
herberth guzman
herberthguzman at ...626...
Sat Mar 26 19:50:12 CET 2016
I need help
I can look silly but not quite understand Desktop.RunAsRoot.
I need to run a command
Example
does not work
Desktop.RunAsRoot ("sysctl -w vm.drop_caches = 3")
If you work
Shell "gksu sysctl -w vm.drop_caches = 3"
Desktop.RunAsRoot
You can run SUDO command without entering password ...?
I have active gb.desktop
I have installed xterm
Herberth Guzmán
[System]
Gambas=3.8.4
OperatingSystem=Linux
Kernel=4.4.0-7-generic
Architecture=x86
Distribution=Ubuntu Xenial Xerus (development branch)
Desktop=Innova
Theme=Breeze
Language=es_GT.UTF-8
Memory=1962M
[Libraries]
Cairo=libcairo.so.2.11400.6
Curl=libcurl.so.4.4.0
DBus=libdbus-1.so.3.14.6
GStreamer=libgstreamer-1.0.so.0.800.0
GTK+2=libgtk-x11-2.0.so.0.2400.30
GTK+3=libgtk-3.so.0.1800.9
OpenGL=libGL.so.1.2.0
Poppler=libpoppler.so.57.0.0
Poppler=libpoppler.so.58.0.0
QT4=libQtCore.so.4.8.7
QT5=libQt5Core.so.5.5.1
SDL=libSDL-1.2.so.0.11.4
[Environment]
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-iGSGO5wfSD,guid=b5e5f91ec42f1a7d54076d0e56f6c788
DEFAULTS_PATH=/usr/share/gconf/Innova.default.path
DESKTOP_SESSION=Innova
DISPLAY=:0
GB_GUI=gb.qt4
GDMSESSION=Innova
GDM_LANG=es_ES
GTK2_MODULES=overlay-scrollbar
GTK_MODULES=gail:atk-bridge
HOME=<home>
LANG=es_GT.UTF-8
LANGUAGE=es_GT:es
LOGNAME=<user>
MANDATORY_PATH=/usr/share/gconf/Innova.mandatory.path
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
PWD=<home>
QT_ACCESSIBILITY=1
QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1
QT_QPA_PLATFORMTHEME=appmenu-qt5
SHELL=/bin/bash
SHLVL=0
SSH_AGENT_PID=22072
SSH_AUTH_SOCK=/tmp/ssh-lnI4RZRtpRFl/agent.22013
TZ=:/etc/localtime
USER=<user>
XAUTHORITY=<home>/.Xauthority
XDG_CONFIG_DIRS=/etc/xdg/xdg-Innova:/etc/xdg
XDG_CURRENT_DESKTOP=Innova
XDG_DATA_DIRS=/usr/share/Innova:/usr/local/share/:/usr/share/
XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/<user>
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_SESSION_DESKTOP=Innova
XDG_SESSION_ID=c10
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session4
XDG_SESSION_TYPE=x11
XDG_VTNR=7
More information about the User
mailing list