Results 1 to 5 of 5

Thread: Executing Program wich requires root privileges?

  1. #1
    Member registered user
    Join Date
    Jul 2003
    Posts
    30

    Executing Program wich requires root privileges?

    Hi,

    I have used klik to install a couple of programs, "gazpacho" and "firestarter". When I click on the icon for gazpacho it runs fine. When I click on the "firestarter" desktop icon, I get a message saying that I require root privileges to run firestarter. I believe that that message come from firestarter.

    I tried:

    sudo ~/.zAppRun firestarter_1.0.3-1.1.cmg

    and recieved the message:

    Unable to mount /tmp/app/2.

    What command should I have used??

    Thanks

  2. #2
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Germany
    Posts
    1,159
    Since Firestarter tries to set up your firewall settings, it needs root privileges to operate.
    Please see http://www.knoppix.net/forum/viewtopic.php?t=23005

  3. #3
    Member registered user
    Join Date
    Jul 2003
    Posts
    30
    I tried following the example sited and got the following messages:



    Bash ajax rozen [~] ->su
    root@ajax:/home/rozen# ./.zAppRun Desktop/firestarter_1.0.3-1.1.cmg
    Xlib: connection to ":0.0" refused by server
    Xlib: No protocol specified


    (firestarter:29635): Gtk-WARNING **: cannot open display:
    ./.zAppRun: line 167: /root/.kde/share/applnk/klik/di_3.11.dfsg.1-1.cmg.desktop: No such file or directory
    ./.zAppRun: line 167: /root/.kde/share/applnk/klik/firestarter_1.0.3-1.1.cmg.desktop: No such file or directory
    ./.zAppRun: line 167: /root/.kde/share/applnk/klik/gazpacho.cmg.desktop: No such file or directory
    ./.zAppRun: line 167: /root/.kde/share/applnk/klik/skype.cmg.desktop: No such file or directory
    ./.zAppRun: line 167: /root/.kde/share/applnk/klik/smb4k.cmg.desktop: No such file or directory
    ./.zAppRun: line 167: /root/.kde/share/applnk/klik/xvnc4viewer_4.0-8.cmg.desktop: No such file or directory

    I am running Knoppix 4.0.2

  4. #4
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Germany
    Posts
    1,159
    Xlib: connection to ":0.0" refused by server

    This means that your system is set up to refuse X applications running under the root account for security reasons.
    man xhost
    shows you how to allow the root user to run graphical applications.

    Regards,
    probono

  5. #5
    Senior Member registered user
    Join Date
    Sep 2004
    Posts
    120
    Hey,

    The only way I could get firestarter to work via "sudo firestarter" is simply:

    1.) login as root (su -)

    2.) cd /home/username

    3.) cp .Xauthority /root/
    cya,

    Will

Similar Threads

  1. Wich type of partition should i use?
    By RHCA in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 01-15-2007, 04:57 PM
  2. K3b needs root privileges- what's Knoppix 5 KDE su password?
    By RobertLichen444 in forum General Support
    Replies: 4
    Last Post: 09-06-2006, 07:37 AM
  3. Superuser privileges for Guarddog
    By bw in forum General Support
    Replies: 1
    Last Post: 07-20-2004, 11:07 AM
  4. Wich files to pick when download knpx?
    By Debbie Danger in forum General Support
    Replies: 4
    Last Post: 06-11-2004, 05:43 PM
  5. Wich lines of /etc/apt/sources.list can i eraise?
    By PrOmETeO in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 02-07-2004, 03:49 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


16GB DDR4 Corsair Vengeance LPX  3000 Mhz 1.35V Desktop Computer PC Memory RAM picture

16GB DDR4 Corsair Vengeance LPX 3000 Mhz 1.35V Desktop Computer PC Memory RAM

$30.89



A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$13.99



8GB PC3L-12800S 1600MHz SODIMM DDR3 RAM | Grade A picture

8GB PC3L-12800S 1600MHz SODIMM DDR3 RAM | Grade A

$12.00



Team T-FORCE VULCAN Z 32GB (2 x 16GB) PC RAM DDR4 3200 (PC4 25600) Memory picture

Team T-FORCE VULCAN Z 32GB (2 x 16GB) PC RAM DDR4 3200 (PC4 25600) Memory

$54.99



Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3 picture

Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3

$22.45



SK Hynix 8GB DDR4 1Rx16 -PC4-3200AA/ HMAA1GS6CJR6N-XN SODIMM picture

SK Hynix 8GB DDR4 1Rx16 -PC4-3200AA/ HMAA1GS6CJR6N-XN SODIMM

$10.00



[ BULK LOT OF 10 ] 8GB DDR4 Desktop RAM SAMSUNG, HYNIX etc. (10x) picture

[ BULK LOT OF 10 ] 8GB DDR4 Desktop RAM SAMSUNG, HYNIX etc. (10x)

$89.99



HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin picture

HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin

$15.90



Lot of 100 - 4GB PC3 DDR3 Mixed Speeds Laptop RAM Mix Brand TESTED picture

Lot of 100 - 4GB PC3 DDR3 Mixed Speeds Laptop RAM Mix Brand TESTED

$149.99



Dell SNPTP9W1C/16G 16 GB 2666MHz (PC4-2666) Memory Ram picture

Dell SNPTP9W1C/16G 16 GB 2666MHz (PC4-2666) Memory Ram

$34.95