用 sudo 执行命令时,出现 cannot open display
为了安全起见,一般登入 Linux 时都不会使用 root 权限,在普通用户的权限下要想以 root 权限执行命令就只需要在命令前面加上 sudo 就可以了。
如果执行的是个控制台界面的程序,当然不会有什么问题。可如果是个 GUI 界面的程序呢?比如想要执行 ethereal,输入的命令就是 sudo ethereal,可能就会遇到这样的出错提示:
Gtk-WARNING **: cannot open display:
或者是
connection to ":0.0" refused by server
原因就是你登入系统后 X 不允许除了你自己之外的其他用户来连接,包括 root。
解决办法:执行命令
xhost +local:root
来把 root 用户添加到允许的列表内,再次执行 sudo ethereal 就 OK 了。
再次执行命令
xhost -local:root
就可以把 root 用户从允许列表里删除
Comments
It is difficult to make a man miserable while he feels worthy of himself and claims kindred to the great God who made him.
Posted by: schulferien niedersachsen 2012 | December 11, 2011 1:51 AM
Hi sounds good about your information. is it possible to obtain registar email id of facebook account. i have facebook user id. but how to locate facebook user id registart email id. if you can guide regarding this . it will likely be quite helpful
Posted by: Tijuana Mcfeeters | May 10, 2012 12:13 PM
Aww, that was a extremely good post. Nevertheless I'm having difficulty with your main Feed. Don’t understand exactly why yet I am unable to subscribe to it. Perhaps there is anyone experiencing comparable issues? Anybody who understands kindly answer. Kind regards. Soo Yun
Posted by: Bell Lyall | June 27, 2012 1:13 AM
The income is borrowed back for a usually little cost and also the objective is that you can repay when you obtain given. Payday cash loans aren't as bad any further. So, exactly what are you watching for - get an online payday loan nowadays! Let's take one by one and talk about them appropriately. As soon as your app is approved, surely you will have the cash. Income these days job seekers don't need to commute around community contrasting fees ad potential benefits to a variety of loan agencies, all they wish to do is just click a few keys on they'll personal computer plus the a lot of necessary information are going to be availed for good option producing. Every single company has diverse policies and give different providers, but these types of payday progress payday advances have comparable properties: these are little loans, no bigger than a handful of 1, 000 cash these are short term, typically necessitating which they be paid again inside one or two weeks they are open to plenty of people because they have only a couple of basic requirements for instance a stable income, evidence personality along with a banking accounts. Home Interest Rates - the reason is that lending options will include higher interest levels than classic signature loans due to their quick terms and conditions. You will need to provide the business who is the bank loan an article dated test. That may be impossible for anyone who is in financial hardship precisely what develops to lots of folks is usually that when pay day advance arrives and they fork out again the borrowed funds, they don't have any cash flow eventually left over so they've got to get yet another payday advance and yes it produces a vicious cycle this is tricky to break free from. You simply ought to fill an online program and in times you will get the income you require. This provides you with that you very little mobility. Typically of thumbs, how much money you make payment for returning shall be a couple of pounds almost every ten you borrow.
Posted by: john | July 9, 2012 12:46 PM
Hmm is anyone else having problems with the pictures on this blog loading? I'm trying to find out if its a problem on my end or if it's the blog. Any responses would be greatly appreciated.
Posted by: Kirk Worth | August 8, 2012 6:17 PM
Quick question ... I just finished a quilt and already blogged about it. If I did a new article during the week with the festival would I be able to enter it, or does this need to be a quilt that hasn't been shown yet?
Posted by: Catherina Acy | August 10, 2012 7:15 PM
hey i checked quite a few of your pages out :) who are you hosted with and how much is it annually?
Posted by: Richies Right | August 14, 2012 11:23 AM
My goal is to machine quilt and bind a quilt top for your wounded soldiers.
Posted by: Register Australian Business Number Melbourne | August 20, 2012 4:43 PM
I like what you guys are usually up too. This type of clever work and reporting! Keep up the very good works guys I've incorporated you guys to blogroll.
Posted by: payday loan now | August 31, 2012 8:16 PM
I really like what you guys are usually up too. This type of clever work and coverage! Keep up the amazing works guys I've included you guys to our blogroll.
Posted by: instant payday loan lenders | August 31, 2012 10:19 PM
Have you ever thought about publishing an e-book or guest authoring on other websites? I have a blog based on the same subjects you discuss and would love to have you share some stories/information. I know my readers would appreciate your work. If you are even remotely interested, feel free to send me an email.
Posted by: south beach condos | August 31, 2012 11:18 PM
Hi there! Do you know if they make any plugins to assist with Search Engine Optimization? I'm trying to get my blog to rank for some targeted keywords but I'm not seeing very good gains. If you know of any please share. Thank you!
Posted by: Click For More | September 1, 2012 1:12 AM
I have to confess I used to be guilty from the same trouble once but discovered out that checking my stats was a distraction from doing actual operate progressing my blog so I cut again. I just use google analytics now. It's the ideal 1 in my opinion.
Posted by: Damon Dolph | September 5, 2012 12:46 PM
Where does PCUSA get its financial support? Petro$ perhaps? Who knows!
Posted by: Katrina Muma | September 6, 2012 9:41 AM
What a lovely day for a 3077115! SCK was here
Posted by: 3077115 | September 8, 2012 5:09 PM
I absolutely love your website.. Pleasant colors & theme. Did you develop this website yourself? Please reply back as I’m planning to create my very own website and would love to find out where you got this from or what the theme is named. Kudos!
Posted by: ghdflghkdfs | September 14, 2012 5:03 PM
I've been using WordPress for a while now, and it's definitely an awesome script for developing a site simple! Thanks for this top 10 list, it made me even appreciate more it's importance.
Posted by: Loma Blancas | September 14, 2012 10:34 PM
A proxy is a common phrase that is now employed by several world wide web users. In English, proxy refers to a person, who is licensed to act for some other individual. In basic words, the action required to be accomplished by one particular individual can be carried out by an additional man or woman with no revealing his identity. The which means of proxy differs with the context.
Proxy and proxies Black Hat World are two conditions used by intermediate internet customers. A proxy refers to a internet site, which can be utilised to blocked information. In other terms, without having any boundaries, you can get accessibility to any details in excess of the net with the use of proxy websites. These proxy web sites are just known as as proxies. Proxy server is an intermediate server, which handles data sharing among a shopper and a server. Any data shared in between the consumer and the server really should pass proxy servers. Proxy web sites are created to fool proxy servers.
Practically all workplaces and instructional establishments put in a proxy server, which functions as a firewall. World wide web connection to numerous pcs within the developing is presented only via the proxy server. Each piece of data, which passes through the proxy server, is logged. This way, the officials can handle the internet accessibility of their subordinates or pupils. A firewall is put in within a proxy server, which restricts accessibility to numerous sites. In most of the circumstances, numerous recognized amusement and adult internet sites are blocked by proxy servers.
Proxies are made to get entry to any site of the user's option without acquiring caught by the proxy server. When you use a proxy site, your identification is concealed and the web site, which you want to entry, is also hidden. These proxy internet sites are authorized by proxy servers and you can get any information you want. You can accessibility several blocked websites from your office or college utilizing proxy sites.
Proxy servers are used to control world wide web obtain in the workplace. Apart from blocking sites, proxy servers are utilized to provide a protected and secure searching surroundings. All details passing by way of proxy servers can be analyzed ahead of they get to any final. This function is utilized to block adware and other viruses from impacting a user's pc too. To increase network safety and entry manage, proxy servers are used. When the community connects a large amount of pcs, use of proxy servers turns into important to have a centralized obtain to the world wide web.
A proxy hides your id and allows you surf the internet with no revealing your IP address. Proxies are now utilised by several customers, who wish to conceal their identification and escape from invaders. Anonymous browsing is now possible with the use of proxies. Proxies for social networking internet sites are now located all above the world wide web simply because individuals want to use social networking web sites when they are at perform. Whilst the topic of making use of proxy to overrule obtain manage is a controversial point, you can use these proxies as lengthy as your proxy server identifies and blocks proxies.
Posted by: Vapviaply | September 15, 2012 7:29 PM
no it as well think the same way... the price is way too high.....really amusing submit
Posted by: Marty Ulloa | September 18, 2012 8:47 AM
The best thing to do is to have a very friend or relative keep with you to perform tasks that may involve any of your aforementioned movements. If you'll be spending your breast surgery in Houston USA recovery time alone, plan ahead by doing the bulk in the cleaning before surgery day and make or purchase microwavable meals for uncomplicated food access and less time spent away from bed.
Posted by: Sherman Bigford | September 19, 2012 6:33 PM
Hey. Very cool site!! Man .. Beautiful .. Amazing .. I will bookmark your site and take the feeds additionally...I'm happy to find numerous helpful information here in the article. Thank you for sharing...
Posted by: www digitracer com | September 21, 2012 4:27 PM
Hey. Very cool site!! Guy .. Excellent .. Amazing .. I will bookmark your blog and take the feeds also...I'm satisfied to locate a lot of useful info right here in the post. Thanks for sharing...
Posted by: site | September 21, 2012 4:41 PM
Anyone possess a do the job around for the depreciated command? It works once i do layout for epub docs, but it really does not validate.
Posted by: Casey Sanchious | September 22, 2012 3:01 PM
Great blog but did you know 9/11 and 7/7 were staged events by MI6/CIA operations
Posted by: Happy Harry | September 25, 2012 10:32 PM
They're excellent just what I want to start the cards. Thank youbr /CheersKathie
Posted by: Blair Amidi | September 27, 2012 7:51 AM
Your blog is very good. Thanks for this.
Posted by: Joetta Wenker | September 28, 2012 11:04 PM
They can fund and close their own money to buy these mortgages, and the people around him. What can you do? Hazard insurance; The annual amount of each component, and how the information can be estimated by looking at the last sold for, and a great time.
Posted by: gambir ridge | October 1, 2012 7:45 PM
Hello simply wanted to give you a simple heads up. The text in your report seem to be running off the display screen in Firefox.We are straight into business of funny hoodies 2012 winter special as well as trust me a lot of the shoppers have liked that
Posted by: funny hoodies | October 6, 2012 9:49 AM
My business is finding personally really fortuitous to come across this web site. I am a web researcher and also look for superior blogs. We're also into Search engine optimization field and that we try good to provide high quality content on internet. We amazing seo services canada 2012 make sure that people don't obtain us spammer and enjoy reading out and about content. While going through your blog site I was really amazed at the subject selection. I must be in touch with it will likely be great if I can register for your sites.
Posted by: www.canadianseocompany.ca | October 7, 2012 1:51 AM
As soon as I discovered this site I went on reddit to share some of the love with them. "A sect or party is an elegant incognito devised to save a man from the vexation of thinking." by Ralph Waldo Emerson.
Posted by: chrisdeburgh | October 7, 2012 6:23 AM
Hence, if you're striving to create your relation a hit, browse the below given relationship advice for females. Having said that, When it comes to what you can do to get your ex back. Choosing if they should stay with your lover relies on evaluating how strong the partnership is, and when it may be repaired.
Posted by: Chang Kuamoo | October 8, 2012 11:31 PM
I believe you site is quite good and I genuinely do like each your content material and graphic. I've no troubles acquiring aroung on your diverse pages either very very easy to figre out and that is wonderful, specifically these days in which so mange complicate thinks to considerably.
Posted by: Polymoist Ps | October 10, 2012 7:13 PM
I haven't yet, anyone else?
Posted by: Ditind | October 12, 2012 7:19 AM
I didnt seek this, but I really like this, found it interesting! Keep up the good work!
Posted by: love this | October 12, 2012 2:54 PM
br / GENERIC PHARMACY : -==== Respiratory Cure ====-
Posted by: Lawrence Lenigan | October 21, 2012 1:45 PM
Here go some answers to questions raised above:
Posted by: Moises Teemer | October 21, 2012 11:21 PM
I couldn’t resist commenting. Very well written!
Posted by: Beau Cofield | October 28, 2012 7:04 PM
I definitely like this website a good deal like the content and overall design I will be back for additional reading later on thanks lots for sharing.
Posted by: Jayson Fabin | November 7, 2012 12:10 PM
What a lovely day for a 4300022! SCK was here
Posted by: 4300022 | November 16, 2012 6:08 PM
Wonderful website with some excellent subjects you've got, thanks for sharing it with me. I will come back to read some additional of your respective articles.
Posted by: Theo Spady | November 16, 2012 11:30 PM
Hi there, I enjoy reading all of your article. I wanted to
write a little comment to support you.
Posted by: オークリー | November 18, 2012 4:35 AM
Darn! I have to show up at a meeting at my son's faculty proper when that's occurring.
Posted by: Tyrell Skora | November 18, 2012 8:24 PM
Waze will exhibit your friends on the road though planning your route.
Posted by: Pansy Newes | November 30, 2012 7:30 AM
Honey, where's the checkbook ? I'll see you within a week or so...
Posted by: Emil Steinhardt | November 30, 2012 12:21 PM
This was a very good post to study, I am pleased that I identified it. Thank You
Posted by: Julia Loiacono | December 1, 2012 11:17 AM
Do you mind if I quote a few of your posts as long as
I provide credit and sources back to your blog? My
blog site is in the exact same area of interest as yours and
my users would definitely benefit from some of the information you provide here.
Please let me know if this ok with you. Thanks!
Posted by: Best Responsive WordPress Themes | December 4, 2012 1:47 PM
I consider something really special in this web site.
Posted by: Socorro Brearley | December 10, 2012 1:45 AM
I am happy that I discovered this blog, exactly the right information that I was looking for!
Posted by: Vivienne Milette | December 15, 2012 10:05 AM
Almost nothing can rather describe exactly how much I detest the NFL, among the most over-hyped, over-rated, monotonous sports ever to disgrace Television. And that coming from the medium that brought us "My Mother the Car."
Posted by: Ernestine Plance | December 15, 2012 4:28 PM
Poetry is to hold judgment on your soul.
Posted by: Mustang Forum | December 19, 2012 1:12 PM
This info is invaluable. Where can I find out more?
Posted by: Reinaldo Kraszewski | December 22, 2012 4:04 AM