View Single Post
  #3   (View Single Post)  
Old 3rd June 2008
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Default

KDE, having some concept of security has root logins disabled by default.

You have to edit the configuration file and set AllowRootLogins to allow it, I think the file is /usr/local/share/config/kdm/kdmrc on FreeBSD (assuming the usual install location of /usr/local)


Running xhost + on your active session will only open the doors of your x server to the whole wide world or something like that >_>.


You can enable root to launch GUI programs on your currently logged in users display via xhost or kdesu.

kdesu programname -> launches a login prompt and then starts programname.

There is a GTK equivalent some where, gtksudo or something like that. The run dialog in kde can do this as well, and gnome as well probably: if there is a run dialog in gnome that is.
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.

Last edited by TerryP; 3rd June 2008 at 11:33 PM. Reason: xhost notes & kdesu
Reply With Quote