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
  •  


Lenovo N22 Laptop PC Computer 11.6

Lenovo N22 Laptop PC Computer 11.6" Windows 10 4GB RAM 64GB SSD HDMI WiFi

$89.99



15.6

15.6" Lenovo ThinkPad Laptop PC: Intel i5 16GB RAM 512 SSD Windows 10 Webcam

$229.99



lenovo legion gaming laptop pro 15arh05 Ryzen 5 15.6  black picture

lenovo legion gaming laptop pro 15arh05 Ryzen 5 15.6 black

$450.00



Lenovo ThinkBook 15 Gen 4 Notebook 15.6

Lenovo ThinkBook 15 Gen 4 Notebook 15.6" FHD AMD R7 5825U 16GB RAM 512GB SSD

$509.99



Lenovo ThinkBook 15 Gen 4 Notebook 15.6

Lenovo ThinkBook 15 Gen 4 Notebook 15.6" FHD Intel Core i7-1255U 8GB RAM

$549.99



Lenovo Ideapad 1i 15.6

Lenovo Ideapad 1i 15.6" FHD Touchscreen Laptop - Intel Core i3-1215U with 8GB...

$279.99



Lenovo - Legion Slim 5 16

Lenovo - Legion Slim 5 16" Gaming Laptop WUXGA - Ryzen 5 7640HS with 16GB Mem...

$849.99



Lenovo IdeaPad Duet3 10IGL5 2-in-1 Tablet - Intel N5030 8GB 128GB Win 11 Home picture

Lenovo IdeaPad Duet3 10IGL5 2-in-1 Tablet - Intel N5030 8GB 128GB Win 11 Home

$100.00



~OVERSTOCK~ 15.6 Lenovo ThinkPad Laptop: Intel i5 16GB RAM 1TB SSD Windows 10 picture

~OVERSTOCK~ 15.6 Lenovo ThinkPad Laptop: Intel i5 16GB RAM 1TB SSD Windows 10

$309.95



Lenovo ThinkPad L560 15.6

Lenovo ThinkPad L560 15.6" Core i7 6600U 2.6GHz 16GB RAM 512GB SSD Win 10 Pro

$249.00