If you use the xhost route, it could make it possible for other users to launch programs to your X session (perhaps over SSH), So yes kdesu / gksu are the If other people use your machine (for example, through remote ssh access), then doing this would make it possible for them to connect to your X display and either do screen I have just added the line: Defaults env_keep="DISPLAY XAUTHORITY" at the end of visudo. Member Posts: 476 BRAIN = SET OF INSTRUCTIONS. [ Solved ] KDE problem - kwrite: cannot connect to X server :0 « on: April 22, 2015, 12:24:06 pm » [ Solved navigate to this website
How to reply? Jonathan Riddell (jr) wrote on 2013-10-02: #3 Densie your problem sounds different to the bug reporter's problem, I wouldn't expect kdesudo to work from a linux console. My Stuff: Hostfile Blacklist K/Ubuntu 7.10 Tips/Tricks 3_days_+_no_reply=Subscription_Removed Adv Reply September 22nd, 2008 #3 tarahmarie View Profile View Forum Posts Private Message Dipped in Ubuntu Join Date Sep 2008 Beans do something like su -c xterm Enter your root password, then use the new xterm to run your make commands. ----- This space for rent Reply With Quote 11-01-2004,01:54 PM #3 https://bbs.archlinux.org/viewtopic.php?id=103732
Or is there something I can do to get this working like it used to a few weeks ago? Browse other questions tagged display sudo xserver or ask your own question. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the
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 Downloads Support Community Development Help Login Register Forum New Posts FAQ Calendar Forum Actions Mark Forums Read Quick Links Today's Posts View Site Leaders Articles Blogs What's New? I should be able to start krusader as root, and I can't, like you all see in the output above. Cannot Connect To X Server Putty All rights reserved.
Do not use su first, do not use xhost, do not try to make this more difficult than it is. Cannot Connect To X Server Ssh G RSS WAP2 Advertising Registered Linux User #479009 Friend-->Linux; 6 and counting... https://bugs.launchpad.net/bugs/989577 f5a0#44151 It seems that there was a missing file named 'kdesurc'.
What is a Rotary Club Word™? Qt Warning: Virtualbox: Cannot Connect To X Server What does: echo $DISPLAY say? Offline #16 2011-01-11 22:10:25 shervinkh Member From: Iran-Tehran Registered: 2011-01-11 Posts: 11 Re: [SOLVED] sudo gui apps cannot connect to xserver from terminal app Thank You So Much.I Solved It With kdesudo partitionmanager otherwise I get this error: "cannot connect to X server" Jonathan Riddell (jr) wrote on 2015-08-20: #6 kdesudo has moved to KDE infrastructure.
Offline #8 2010-08-28 11:24:16 PirateJonno Forum Fellow From: New Zealand Registered: 2009-04-13 Posts: 372 Re: [SOLVED] sudo gui apps cannot connect to xserver from terminal app daedalusman wrote:I have never done https://forums.opensuse.org/showthread.php/405178-Getting-quot-cannot-connect-to-xserver-quot-with-sudo man kdesu Alternatively, you can do Code: su - then Code: kwrite Last edited by deano_ferrari; 25-Jul-2011 at 23:29. Cannot Connect To X Server Ubuntu Advanced Search Forum Community Help: Check the Help Files, then come here to ask! Cannot Connect To X Server Centos You will have to register before you can post in the forums. (Be aware the forums do not accept user names with a dash "-") Also, logging in lets you avoid
Adv Reply September 22nd, 2008 #5 nowshining View Profile View Forum Posts Private Message Visit Homepage Skinny Extra Sweet Ubuntu Join Date Apr 2006 Location No Comment Beans 1,733 DistroKubuntu useful reference David Pérez (david-perez-ingeniero) wrote on 2015-02-03: #5 Working with Linux Mint Rebecca (based in Ubuntu 14.04). If I'm already root, why do I have to run it in xterm as opposed to anything else (I'm running it in Konsole). 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. Cannot Connect To X Server Qt
Don't actually use them myself though, so I'm afraid I can't speak as to features. Clarke Adv Reply Page 1 of 2 12 Last Jump to page: Quick Navigation New to Ubuntu Top Site Areas Settings Private Messages Subscriptions Who's Online Search Forums Forums Home Which user does the xserver process, you want to use, belong to? (you can find out the latter by using for example ps faux) –Bananguin Jan 31 '14 at 9:49 | my review here Open a konsole> do kdesu konqueror> put in root password, after a little disk activity konqueror will launch as root user.
I said "just don't su to root first" - so you su to root.Just do what I said. Cannot Connect To X Server Mac Thanks for any help. Possible repercussions from assault between coworkers outside the office Boss sends a birthday message.
Registered Linux User #479009 Friend-->Linux; 6 and counting... Results 1 to 6 of 6 Thread: Getting "cannot connect to xserver" with sudo Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch What could have changed in my system? Cannot Connect To X Server Debian You often do this from a virtual terminal you know for sure that can spawn programs using X. –uprego Jan 31 '14 at 9:42 @galegosimpatico: why would launching a
Can Trump undo the UN climate change agreement? If you feel your bug is still relevant please open a new bug on bugs.kde.org https://bugs.kde.org/describecomponents.cgi?product=kdesudo Changed in kdesudo: status: New → Won't Fix See full activity log To post a Affecting: KdeSudo Filed here by: themroc When: 2012-04-27 Completed: 2015-08-20 Target Distribution Baltix BOSS Juju Charms Collection Elbuntu Guadalinex Guadalinex Edu Kiwi Linux nUbuntu PLD Linux Tilix tuXlab Ubuntu Ubuntu Linaro http://tcsmacs.net/cannot-connect/kdevelop-cannot-connect-to-x-server.php So I test kdesudo in the terminal: kdesudo kwrite (In the popup-windows I enter my password and push enter or OK) Answer in terminal: kwrite: cannot connect to X server Add
The address of the display is normally indicated in the DISPLAY environment variable. sux does the same as su, but also maintains your X environment for the new user. "Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein) How often should I replace windscreen wiper blades? You should run it without sudo as super-boot-manager runs sudo internally. –Thor Aug 15 '12 at 15:23 echo $DISPLAY is giving :0.0.