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
  •  


DELL PowerEdge R730XD Server 2x E5-2680v3 2.5GHz =24 Cores 32GB H730 4xRJ45 picture

DELL PowerEdge R730XD Server 2x E5-2680v3 2.5GHz =24 Cores 32GB H730 4xRJ45

$267.00



Dell PowerEdge R630 Server 2x E5-2680 V4 = 28 Cores S130 32GB RAM NEW 480GB SSD picture

Dell PowerEdge R630 Server 2x E5-2680 V4 = 28 Cores S130 32GB RAM NEW 480GB SSD

$197.99



Dell PowerEdge R630 Server 2x E5-2640v3 2.60Ghz 16-Core 64GB H330 picture

Dell PowerEdge R630 Server 2x E5-2640v3 2.60Ghz 16-Core 64GB H330

$182.65



Dell Poweredge R630 Server 2x E5-2620 V4 =16 Cores | S130 | 32GB RAM | 2x trays picture

Dell Poweredge R630 Server 2x E5-2620 V4 =16 Cores | S130 | 32GB RAM | 2x trays

$159.99



Dell Poweredge R730xd 12 Bay LFF 2x SFF  2x E5-2680v3 2.5ghz H730p No Ram No HDD picture

Dell Poweredge R730xd 12 Bay LFF 2x SFF 2x E5-2680v3 2.5ghz H730p No Ram No HDD

$219.99



Dell PowerEdge R720xd 26HDD 300gb  2.5-inch E5-2697  X 2CPU 384RAM 7.2 Tb HDD  picture

Dell PowerEdge R720xd 26HDD 300gb 2.5-inch E5-2697 X 2CPU 384RAM 7.2 Tb HDD 

$180.00



Dell PowerEdge R620 Server 2x E5-2660 v2 2.2GHz 20 Cores 256GB RAM 1x 480GB SSD picture

Dell PowerEdge R620 Server 2x E5-2660 v2 2.2GHz 20 Cores 256GB RAM 1x 480GB SSD

$139.99



DELL PowerEdge R730 Server 2x E5-2680v3 2.5GHz =24 Cores 128GB H730 4xRJ45 picture

DELL PowerEdge R730 Server 2x E5-2680v3 2.5GHz =24 Cores 128GB H730 4xRJ45

$345.00



DELL PowerEdge R430 8SFF 2x E5-2680v4 2.4GHz =28 Cores 32GB H730 4xRJ45 picture

DELL PowerEdge R430 8SFF 2x E5-2680v4 2.4GHz =28 Cores 32GB H730 4xRJ45

$226.00



DELL PowerEdge R630 8SFF Server 2x E5-2667v3 3.2GHz =16 Cores 128GB H730 4xRJ45 picture

DELL PowerEdge R630 8SFF Server 2x E5-2667v3 3.2GHz =16 Cores 128GB H730 4xRJ45

$322.00