Results 1 to 9 of 9
-
09-03-2006, 05:46 AM #1
gui-apps not opening, when i login as "su -"
Hello All,
I use Debian Sarge .i cant open any gui apps for eg;gedit as "su -"
i tried exporting $DISPLAY value
Code:prakash@sarge:~$ echo $DISPLAY :0.0 prakash@sarge:~$ su - Password: sarge:~# export DISPLAY=:0.0 sarge:~# gedit Xlib: connection to ":0.0" refused by server Xlib: No protocol specified (gedit:9926): Gtk-WARNING **: cannot open display:
now if i try opening gedit it will open.so any help..Code:prakash@sarge:~$ xhost + access control disabled, clients can connect from any host
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
-
09-03-2006, 10:25 AM #2
it is a security feature so that users don't run GUI apps as Root. Anyways, have a look here for a few solutions
http://www.mepislovers-wiki.org/inde...ograms_as_root
-
09-03-2006, 12:41 PM #3
Nyways i already installed sux,which allows to run gui-apps when login as :
but where do those security things cant we modify for logon..i understand that acl is enabled in default for most distros..but they allow running progs as "su",what is wrong with "su -"..thanks all.Code:prakash@sarge:~$ sux - Password: sarge:~# gedit
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
-
09-03-2006, 01:40 PM #4
Your X Server is not allowing another user to open Your dosplay.
You need to disable X authentication.
$ xhost +
and then switch users;
Directly giving su retains your original user's environment variables, and su - loads the new user's environment profile. Hence the disparity.- --
http://web.gnuer.org
-
09-03-2006, 07:59 PM #5
I dont want any compromise in security..so no "xhost +".for now happy with "sux -".i use this command as a shortcut in my gnome taskbar with "run in terminal ticked",so that if i click it show a passwd prompt and directly i can be root.this is for some purposes like
and many uses.i am accustomed this way.thanks to all.but no real answer cameCode:sarge:~# pon dsl-provider
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
-
10-03-2006, 11:16 AM #6
What was your problem?
Originally Posted by prakash kerala
- --
http://web.gnuer.org
-
10-03-2006, 12:16 PM #7
not a problem. a doubt-how can we enable "su -" to open gedit or any such xapps.thats what i am trying from starting of thread
Originally Posted by GNUrag
-
10-03-2006, 01:09 PM #8
$ gksu gedit
$ gksudo gedit
Use any of the two, ideally put then as command for new launchers.
Does this solve your problem?- --
http://web.gnuer.org
-
20-03-2006, 11:34 PM #9
nice info!
Bad Bad server.....No candy for u!
Similar Threads
-
Need urgent help with """"initialising and establishing link" error
By chinmaya in forum Hardware Q&AReplies: 2Last Post: 23-07-2012, 04:17 PM -
NEW VIRUS GIVING MESSAGE:"Can not find script file"WIN32.DLL.dll.vbs" ".
By mdp in forum Software Q&AReplies: 5Last Post: 02-10-2007, 02:11 PM -
VISTA TUTORIAL: Add "Hide File Names" Option in "View" Menu of Folders
By Vishal Gupta in forum TutorialsReplies: 7Last Post: 27-06-2007, 10:46 PM -
How to login as "ROOT" in Ubuntu ???
By Rishabh_sharma1990 in forum Open SourceReplies: 2Last Post: 16-04-2007, 07:57 PM -
"Login failed" on Yahoo! Go for mobile??
By nikhilpai in forum Mobiles and TabletsReplies: 12Last Post: 09-03-2007, 11:04 AM



LinkBack URL
About LinkBacks

Bookmarks