sudo? gksu? starting GUI programmes with root access

I’m coming from Ubuntu to Opensuse.
One of the many problems I encounter is that I don’t know how to start
a graphical programme with root rights. (I’m using Gnome because the
1-C-Installation for KDE4 doesn’t work for me atm)

In Ubuntu, one could type “sudo gedit” oder “sudo nautilus” to get your
programme started. Another possibility was “gksu nautilus”. But none of
these works in Opensuse 11:
“sudo gedit” gives me a “cannot open display:” and “gksu gedit” gives
me a “gsku: command not found”.

How is it working in Opensuse?

I wanted to make the Back and Forward buttons of my MX518 mouse work,
so I wanted to use an instruction for Ubuntu 7.04 that worked there. At
the moment, the buttons are working in Firefox (which I don’t care
about), but not in Opera :frowning:
But for this manual I need to modify some files such as xorg.conf and I
need to install the programme imwheel


tar0n

tar0n’s Profile: http://forums.opensuse.org/member.php?userid=18423
View this thread: http://forums.opensuse.org/showthread.php?t=403199

try
Code:

gnomesu gedit name_of_file

Andy


To be is to do = Immanuel Kant
To do is to be = Descartes.
Do be do be do = Frank Sinatra

SuSE user since 7.0,Linux user since 1994

deltaflyer44’s Profile: http://forums.opensuse.org/member.php?userid=95
View this thread: http://forums.opensuse.org/showthread.php?t=403199

as far as i know, sudo “something” was never working in opensuse the
same way like in ubuntu

you must in terminal first get root permissions with “su -” or with
“gnomesu” and then after entering root password you can launch app of
your choice…


6205

6205’s Profile: http://forums.opensuse.org/member.php?userid=2283
View this thread: http://forums.opensuse.org/showthread.php?t=403199

Thx, works :slight_smile:


tar0n

tar0n’s Profile: http://forums.opensuse.org/member.php?userid=18423
View this thread: http://forums.opensuse.org/showthread.php?t=403199