Home > Cannot Connect > Ubuntu Root Cannot Connect To X Server

Ubuntu Root Cannot Connect To X Server

Contents

When I tried: root# su - jlinkels -c "export DISPLAY=:0 && kdialog \"Hello\"" this worked as well. Are you new to LinuxQuestions.org? Why does top 50% need a -50% translate offset? Also, remember that root is not supposed to use GUIs at all. http://bovbjerg.net/cannot-connect/ubuntu-root-cannot-connect-to-x-server-0.php

mk Not really. This is the first age that's paid much attention to the future, which is a little ironic since we may not have one. -- Arthur C. more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed Page 1 of 2 12 Last Jump to page: Results 1 to 10 of 11 Thread: [SOLVED] Error with X server and bashrc Thread Tools Show Printable Version Subscribe to this

Cannot Connect To X Server Ssh

Clarke Adv Reply September 22nd, 2008 #7 tarahmarie View Profile View Forum Posts Private Message Dipped in Ubuntu Join Date Sep 2008 Beans 540 DistroKubuntu 12.04 Precise Pangolin Re: Error Was there a change to sudo or somewhere in KDE that would cause this change in behavior? If you need to reset your password, click here. Please bear with my bash code style.

My cat sat on my laptop, now the right side of my keyboard types the wrong characters Why does Cutie act like this and lesser robots listen to it? No, it doesn't. I have the same problem when using Canopy. Cannot Connect To X Server Mac To start viewing messages, select the forum that you want to visit from the selection below.

Thanks to all, specially @Thor for kind help share|improve this answer answered Aug 28 '14 at 9:22 Apurba 5912720 1 Defaults env_keep="DISPLAY" works for me. –bagustris Mar 9 '15 at I get the following message: Starting /home/rob/projects/qt/test1/test1/test1... Last edited by daedalusman (2010-08-29 20:04:45) Offline #2 2010-08-28 01:04:52 keripix Member From: Indonesia Registered: 2009-12-13 Posts: 22 Website Re: [SOLVED] sudo gui apps cannot connect to xserver from terminal app http://unix.stackexchange.com/questions/111831/cannot-connect-to-x-server-0-0-as-superuser Find the rate of change at a point on a polynomial Is mutating static local variables twice in the same expression undefined behavior?

Take a look at this: ~ : Yes, Supreme Empress? $ kdesu krusader passprompt kbuildsycoca running... P4v.bin Cannot Connect To X Server Quoting from the manpage, xvfb-run is a wrapper for the Xvfb(1x) command which simplifies the task of running commands (typically an X client, or a script containing a list of clients Password Linux - Software This forum is for Software issues. jlinkels jlinkels View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by jlinkels 03-26-2012, 12:50 PM #5 pan64 LQ Guru Registered: Mar

Cannot Connect To X Server Qt

the second paragraph, I would be extremely happy if someone can tell me how to switch off this option so I can experiment with it. imp source In your case, DISPLAY is set but programs evidently cannot find the cookie file. Cannot Connect To X Server Ssh Put these lines in root's .bashrc: if [ "$USER" != "root" ] ; then export XAUTHORITY=`eval echo ~$USER/.Xauthority` fiThat should fix it. Ubuntu Cannot Connect To X Server Yikes!

You will receive all mail from those group members, and we carefully have hidden the unsubscribe button" jlinkels View Public Profile View LQ Blog View Review Entries View HCL Entries his comment is here Xterm is able to connect to the Xserver, but Console cannot because it is an external connection. Hope it helps share|improve this answer answered Apr 5 at 20:39 Tushar Gautam 79111 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up How to handle a common misconception when writing a Master's thesis? No Protocol Specified Cannot Connect To X Server

All rights reserved. Having a problem installing a new program? This site is not affiliated with Linus Torvalds or The Open Group in any way. this contact form I like the xconfig mk Reply With Quote 11-16-2004,12:10 AM #7 monkeykidney View Profile View Forum Posts Registered User Join Date Sep 2003 Posts 20 I used Code: xhost +x That

Limit computation technology in a futuristic society MathSciNet review alert? Cannot Connect To X Server Localhost I haven't cried like this since I paid for Godfather III --Fat Tony Currently breaking: Gentoo Stage 1 w/gentoo-dev-2.6.14-r2 kernel FreeBSD 6.0 XP Pro, well thats already broken Reply With Quote This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant.

Main Menu LQ Calendar LQ Rules LQ Sitemap Site FAQ View New Posts View Latest Posts Zero Reply Threads LQ Wiki Most Wanted Jeremy's Blog Report LQ Bug Syndicate Latest

  1. Is there a way to block a President Elect from entering office?
  2. Do you know what D-Bus is?
  3. Forum New Posts FAQ Calendar Forum Actions Mark Forums Read Quick Links Today's Posts View Site Leaders What's New?
  4. DISPLAY tells applications where thier screen is, usually IP:DISPLAY.SCREEN format, but without IP it uses localhost.
  5. The solution: Add to your ~/.bashrc # Fabby: 2014-11-14: http://askubuntu.com/questions/571116/ # to allow forwarding of xauth keys between users when calling su # needs to be the last line export $(dbus-launch)
  6. Ubuntu Logo, Ubuntu and Canonical Canonical Ltd.
  7. Offline #15 2010-08-29 21:11:50 mir Member Registered: 2010-08-25 Posts: 59 Re: [SOLVED] sudo gui apps cannot connect to xserver from terminal app Hmm, I found HOME unnecessary and confusing.

Not the answer you're looking for? Plain and simple! Advanced Search Forum Community Help: Check the Help Files, then come here to ask! Cannot Connect To X Server Centos Solving a discrete equation Assigning only part of a string to a variable in bash How can I open the next/previous file alphabetically?

You can replace it with something suitable to you. Powered by vBulletin Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. And I am not running super-boot-manager as sudo. navigate here Mine contains these lines: Code: - +localhost This should help with your security concerns. -skubiszm Reply With Quote 11-16-2004,08:45 PM #10 bwkaz View Profile View Forum Posts Visit Homepage Registered User

Symmetric group action on Young Tableaux Start a coup online without the government intervening What is the meaning of ''cry oneself"? I made no configuration changes but I have updated my system in that time period. Newbies Corner Hardware Software Installation Window/Desktop Managers Kernels and Modules Networking Web/Security Mobile Computing Games Programming/Scripts Technical How I Did It! Which is understandable according to the text in your post.

But if you want to test if it works you can give it a try. asked 7 years ago viewed 70449 times active 7 months ago Upcoming Events 2016 Community Moderator Election ends Nov 22 Linked 3 Capybara-webkit, rspec integration specs, and xvfb: webkit_server: Fatal IO xhost + will completely switch off access control, so anyone can connect from anywhere.