OnWorks favicon

gksudo - Online in the Cloud

Run gksudo in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command gksudo that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



gksu - GTK+ frontend for su and sudo



gksu [-u <user>] [options] <command>

gksudo [-u <user>] [options] <command>


This manual page documents briefly gksu and gksudo

gksu is a frontend to su and gksudo is a frontend to sudo. Their primary purpose is to
run graphical commands that need root without the need to run an X terminal emulator and
using su directly.

Notice that all the magic is done by the underlying library, libgksu. Also notice that the
library will decide if it should use su or sudo as backend using the /apps/gksu/sudo-mode
gconf key, if you call the gksu command. You can force the backend by using the gksudo
command, or by using the --sudo-mode and --su-mode options.

If no command is given, the gksu program will display a small window that allows you to
type in a command to be run, and to select what user the program should be run as. The
other options are disregarded, right now, in this mode.


--debug, -d

Print information on the screen that might be useful for diagnosing and/or solving

--user <user>, -u <user>

Call <command> as the specified user.

--disable-grab, -g

Disable the "locking" of the keyboard, mouse, and focus done by the program when
asking for password.

--prompt, -P

Ask the user if they want to have their keyboard and mouse grabbed before doing so.

--preserve-env, -k

Preserve the current environments, does not set $HOME nor $PATH, for example.

--login, -l

Make this a login shell. Beware this may cause problems with the Xauthority magic.
Run xhost to allow the target user to open windows on your display!

--description <description|file>, -D <description|file>

Provide a descriptive name for the command to be used in the default message,
making it nicer. You can also provide the absolute path for a .desktop file. The
Name key for will be used in this case.

--message <message>, -m <message>

Replace the standard message shown to ask for password for the argument passed to
the option. Only use this if --description does not suffice.

--print-pass, -p

Ask gksu to print the password to stdout, just like ssh-askpass. Useful to use in
scripts with programs that accept receiving the password on stdin.

--su-mode, -w

Force gksu to use su(1) as its backend for running the programs.

--sudo-mode, -S

Force gksu to use sudo(8) as its backend for running the programs.

Use gksudo online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    TurkDevOps a?k kaynak yaz?l?m
    geli?tirici topluluklar? DevTurks-Team
    Taraf?ndan desteklenmektedir..
    Download turkdevops
  • 2
    Wine is an Open Source implementation
    of the Windows API on top of X and Unix.
    Wine provides both a development toolkit
    for porting Windows sources to Unix and...
    Download Wine
  • 3
    LAME (Lame Aint an MP3 Encoder)
    LAME (Lame Aint an MP3 Encoder)
    LAME is an educational tool to be used
    for learning about MP3 encoding. The
    goal of the LAME project is to improve
    the psycho acoustics, quality and speed
    of MP...
    Download LAME (Lame Aint an MP3 Encoder)
  • 4
    A set of Python extension modules that
    wrap the cross-platform GUI classes from
    wxWidgets.. Audience: Developers. User
    interface: X Window System (X11), Win32 ...
    Download wxPython
  • 5
    This is the Total War pack file manager
    project, starting from version 1.7. A
    short introduction into Warscape
    modding: ...
    Download packfilemanager
  • 6
    A network traffic tool for measuring
    TCP and UDP performance with metrics
    around both throughput and latency. The
    goals include maintaining an active
    iperf cod...
    Download IPerf2
  • 7
    fre:ac - free audio converter
    fre:ac - free audio converter
    fre:ac is a free audio converter and CD
    ripper for various formats and encoders.
    It features MP3, MP4/M4A, WMA, Ogg
    Vorbis, FLAC, AAC, and Bonk format
    support, ...
    Download fre:ac - free audio converter
  • More »

Linux commands