Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-26-2005, 04:21 PM   #1
LQ Newbie
Registered: May 2005
Posts: 26

Rep: Reputation: 15
Running synaptic in root


When I run synaptic in root after a reboot, I get an X permission error. If I drop back down to user and enter xhost +, I'm able to go back to root and run synaptic.

Seems to me that there must be some way to avoid this. I'm guessing that it's a configuration issue, but I don't know where to look.

Can anyone please suggest an appropriate fix?

Many thanks,

Old 05-26-2005, 05:51 PM   #2
Registered: May 2005
Distribution: Debian
Posts: 51

Rep: Reputation: 15
Yes it is a configuration issue, as it is usually disabled as default for security reasons. I can't tell you how to fix it, but i can tell you how I get around it. Under my menu->system i have a program called "run as a different user", this opens a dialog to allow any command to be run as root when the password is entered. But for that matter just selecting synaptic from the same menu prompts for the root password. Does your system not have the same behaviour? Or do you want a different method?
Old 05-26-2005, 06:35 PM   #3
LQ Newbie
Registered: May 2005
Posts: 26

Original Poster
Rep: Reputation: 15
Thanks for the response.

Your method does the trick. On my system it's Debian Menu -> Apps -> System -> Synaptic Package Manager.

I'll adopt it from now on. I had been going in through the terminal icon and entering su root.

Again, many thanks.

All the best,



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
synaptic upgrade-now start up is stuck-root@tty1[~]# whoszed Linux - Newbie 2 11-27-2005 06:09 PM
running synaptic for gnucash removes x Phyrexicaid DamnSmallLinux 3 08-04-2005 06:33 PM
How could I tell if Im running as ROOT? wardialer Linux - Security 9 03-19-2005 10:47 PM
installed as root, running as non-root? daniela Linux - Newbie 4 09-09-2003 05:41 PM
How to use synaptic as user and not as root Bruce Hill Debian 2 08-01-2003 11:51 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:50 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration