Debug with root privileges? lazarus / 32-Linux ---------------------------------------------------------------------- fig2k4 · 2012-09-07 02:59 My app needs raw access to drives, which requires root privileges.  Is there any way to debug this app from Lazarus?  When I run the app from the IDE, the various function calls fail because of lack of permissions.  When I use gksu to run normally, the calls succeed.  I really need to be able to debug it though.  Any suggestions? ---------------------------------------------------------------------- fig2k4 · 2012-09-07 09:00 Since I run Ubuntu in a VM, solely to use lazarus, this is the best solution for me. http://www.liberiangeek.net/2012/05/login-as-root-in- ubuntu-12-04-precise-pangolin/ ---------------------------------------------------------------------- Max JRB · 2012-10-04 18:37 Did you try to run Lazarus as root? ---------------------------------------------------------------------- wjackson153 · 2012-12-26 17:15 ummm there is no need to open lazarus in root, all you need to do is open a terminal and type : sudo lazarus-ide If it says your user is not in sudoers then simply sh root once your @root prompt nano /etc/sudoers add your user to the list of   ALLOWED ROOT USERS %admin ALL=(ALL) ALL