Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

Cannot start kde applications as root

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
dextermagnific
Tux's lil' helper
Tux's lil' helper
Posts: 113
Joined: Sat Apr 16, 2005 10:02 am

Cannot start kde applications as root

  • Quote

Post by dextermagnific » Fri Jun 25, 2010 4:41 pm

Hi,

I'm haviong troube starting kde applications as root. I get the following message when running them after typing su :

Code: Select all

systemsettings(24562): KUniqueApplication: Cannot find the D-Bus session server:  "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken." 

systemsettings(24561): KUniqueApplication: Pipe closed unexpectedly. 
or

Code: Select all

kwrite(24735): Session bus not found 

KCrash: Application 'kwrite' crashing...
sock_file=/root/.kde4/socket-gentoo/kdeinit4__0
Warning: connect() failed: : No such file or directory
KCrash cannot reach kdeinit, launching directly.
drkonqi(24736): Session bus not found 
when I launch them using sudo, I get :

Code: Select all

kwrite: cannot connect to X server 
I need to run application as root because I need to run Kvpnc.
Top
carcajou
Apprentice
Apprentice
User avatar
Posts: 256
Joined: Tue Jun 10, 2008 6:30 pm

  • Quote

Post by carcajou » Fri Jun 25, 2010 5:33 pm

Try with kdesu, i. e.:

Code: Select all

$ kdesu kwrite
Also, you could try something like this, but I'm not sure it's a good thing from security aspect:

Code: Select all

$ xhost +localhost
$ su
# kwrite
Personally, I find kdesu "solution" better.
Top
dextermagnific
Tux's lil' helper
Tux's lil' helper
Posts: 113
Joined: Sat Apr 16, 2005 10:02 am

  • Quote

Post by dextermagnific » Fri Jun 25, 2010 7:04 pm

Thanks a lot, kdesu works very well :)
Top
Post Reply

3 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic