RE: [suse-linux-uk-schools] wont run as root
It's often easier, as the user who started the X server to run xhost + localhost This isn't as secure, but as long as you trust all local users is fine. -----Original Message----- From: Andrew RAY To: andrew.nix@st-paulshigh.manchester.sch.uk Cc: suse-linux-uk-schools@suse.com Sent: 9/24/03 10:23 AM Subject: Re: [suse-linux-uk-schools] wont run as root Yes I'm guessing you are logged in to X as a common user, and then using an X terminal to start OO, having, presumably first su'd to root. The root user has no permissions to access your X server. To overcome this, try restarting OO from within the X-term with something like: ssh -X root@localhost /path/to/the/executable/you/were/trying/to/run You will then be asked to provide the password (which should be the root user's password) and everything should start up fine. Andrew
Hi list. Im installing OOoRC4. Well updating it from Beta2 actually. So I updated the installtion on the server. Which worked fine. So then I go to update OOo folder in my home directory. But it tells me that it cant update the network version, and I have to run it from command line with -net. So I do. But then it tells me I have to run it as root, or it wont work properly. When I try to run it as root it wont work. I get this error.
glibc version: 2.3.2 Xlib: connection to ":0.0" refused by server Xlib: No protocol specified
./setup: cannot connect to X server :0
Does anyone know what I'm doing wrong? Any comments welcome. Cheers
-- Andrew Nix
St Pauls Catholic High School Firbank Road Newall Green Wythenshawe Manchester M23 2YS tel: 0161 4375841 ext 168 fax: 0161 4982030
-- To unsubscribe, e-mail: suse-linux-uk-schools-unsubscribe@suse.com For additional commands, e-mail: suse-linux-uk-schools-help@suse.com
-- Email: aray@computerpark.co.uk --------------------------------------------------------- This private and confidential e-mail has been sent to you by Computer Park Ltd. If you are not the intended recipient of this e-mail and have received it in error, please notify us via the email address or telephone number below, and then delete it from your mailbox. Email: mailbox@computerpark.co.uk Tel: +44 (0) 1536 417155 Fax: +44 (0) 1536 417566 Head Office: Computer Park Ltd, Broughton Grange, Headlands, Kettering Northamptonshire NN15 6XA Registered in England: 3022961. Registered Office: 6 North Street, Oundle, Peterborough PE8 4AL ========================================================= -- To unsubscribe, e-mail: suse-linux-uk-schools-unsubscribe@suse.com For additional commands, e-mail: suse-linux-uk-schools-help@suse.com
--- E Lea <ed@centralmanclc.com> wrote:
It's often easier, as the user who started the X server to run
xhost + localhost
This isn't as secure, but as long as you trust all local users is fine.
Hmm, I prefer these options: 1) Using Sudo 2) xhost + localhost (NOT SECURE) 3) Xnest (yay!) 4) $ su - # export DISPLAY=:0.0 # xauth merge ~n6tadam/.Xauthority where "~n6tadam" is the user X is running as. Personally number 4) is much more secure. Never use number 1) unless you're mad. HTH, -- Thomas Adam ===== Thomas Adam "The Linux Weekend Mechanic" -- www.linuxgazette.com ________________________________________________________________________ Want to chat instantly with your online friends? Get the FREE Yahoo! Messenger http://mail.messenger.yahoo.co.uk
If you want to run gui applications as root while in another user's session I find that the 'sux' command instead of 'su' allows you to do this. regards garry
--- garry saddington <garry@joydiv.fsnet.co.uk> wrote: > If you want to run gui applications as root while in another user's
session I find that the 'sux' command instead of 'su' allows you to do this. regards garry
That merely provides a means of a graphical password prompt -- a wrapper around su. In which case "gksu" is what I might use. -- Thomas Adam ===== Thomas Adam "The Linux Weekend Mechanic" -- www.linuxgazette.com ________________________________________________________________________ Want to chat instantly with your online friends? Get the FREE Yahoo! Messenger http://mail.messenger.yahoo.co.uk
sux worked fine for me. Cheers Garry Thomas Adam said:
--- garry saddington <garry@joydiv.fsnet.co.uk> wrote: > If you want to run gui applications as root while in another user's
session I find that the 'sux' command instead of 'su' allows you to do this. regards garry
That merely provides a means of a graphical password prompt -- a wrapper around su.
In which case "gksu" is what I might use.
-- Thomas Adam
===== Thomas Adam
"The Linux Weekend Mechanic" -- www.linuxgazette.com
________________________________________________________________________ Want to chat instantly with your online friends? Get the FREE Yahoo! Messenger http://mail.messenger.yahoo.co.uk
-- To unsubscribe, e-mail: suse-linux-uk-schools-unsubscribe@suse.com For additional commands, e-mail: suse-linux-uk-schools-help@suse.com
participants (4)
-
Andrew Nix
-
E Lea
-
garry saddington
-
Thomas Adam