PDA

View Full Version : [SOLVED] SU Menu App?



VcDeveloper
December 7th, 2009, 05:33 AM
How do you create a su app in the menu? I'm unable to login at the term prompt? Why does Xubuntu make it hard to use su mode? I keep getting a failed login? It seems the only way you can use any su apps is by a dialogbox!...

lisati
December 7th, 2009, 05:36 AM
For starters, I'd recommend (gk)sudo in place of su.

https://help.ubuntu.com/community/RootSudo

aysiu
December 7th, 2009, 05:48 AM
Create a launcher for the command
gksudo thunar

VcDeveloper
December 7th, 2009, 06:03 AM
Well, that does work, but when you use certain apps like editors you get a lot of file ownership error like these:



administrator@anointed-server:~$ sudo kate
[sudo] password for administrator:
Error: "/var/tmp/kdecache-administrator" is owned by uid 1000 instead of uid 0.
Error: "/tmp/kde-administrator" is owned by uid 1000 instead of uid 0.
Error: "/tmp/kde-administrator" is owned by uid 1000 instead of uid 0.
Error: "/tmp/ksocket-administrator" is owned by uid 1000 instead of uid 0.
kdeinit4: Shutting down running client.
kdeinit4: preparing to launch /usr/lib/libkdeinit4_klauncher.so


..... So I rather create a su app from the menu so it can create it's own config files.

VcDeveloper
December 7th, 2009, 06:15 AM
Ok, I will give that a try!... also, I got a clean execution with gedit, so I'm aussming Ubuntu is mainly a gnome OS? Is there a gnome flavor of kate? kate is really advance and I like it!

aysiu
December 7th, 2009, 06:16 AM
You're not supposed to use sudo with graphical applications.

Use
kdesu kate not sudo kate and
gksudo gedit not sudo gedit

VcDeveloper
December 7th, 2009, 07:04 AM
Thanks for the help, but I would still like to create my own menu apps. So where can I get doc's showing me how?

aysiu
December 7th, 2009, 07:07 AM
Thanks for the help, but I would still like to create my own menu apps. So where can I get doc's showing me how?
I don't have Xfce in front of me.

This may help:
http://www.xfce.org/documentation/4.2/manuals/xfdesktop#xfdesktop-menu

VcDeveloper
December 7th, 2009, 07:42 AM
Thanks you so much!