![]() Registered Member ![]()
|
Distribution: Kubuntu 10.10
KDE version: 4.5.5 Hi. I am wondering if there is a way to run X applications from within a yakuake terminal window? I often run dolphin from within konsole to do some additional operations in the particular directory I am in. However, yakuake by default won't let me start any X app from within, saying "Cannot connect to X server." I tried to set DISPLAY to localhost:0, but to no avail. How can I overcome it? Any help would be appreciated.
Kubuntu 12.04 (Precise Pangolin) 64-bit / KDE 4.8.1
Work: Dell Precision T5500 (Xeon E5506 @ 2.13 GHz x 2 / 12GB RAM) Home: Panasonic Toughbook W8 (Core 2 Duo @ 1.20 GHz / 4GB RAM) |
![]() Registered Member ![]()
|
What session are you running in yakuake? First check to see if the session you are running in yakuake is the same as the one in konsole. Yakuake is just alternative gui for konsole, if it works in konsole it has to work in yakuake as well.
Man is the lowest-cost, 150-pound, nonlinear, all-purpose computer system which can be mass-produced by unskilled labor.
-NASA in 1965 |
![]() Registered Member ![]()
|
Thanks for the response. This is strange. When I first ran yakuake, I was never able to run any X app from inside it. The DISPLAY variable was not set either. However, now I've restarted KDE and yakuake, DISPLAY _is_ set to :0.0. I am also able to run X apps including dolphin! I don't know what I've (not) done, but things are working now... For my reference, could you show me how I can check the session I'm running in yakuake or in konsole? Thanks again!
Kubuntu 12.04 (Precise Pangolin) 64-bit / KDE 4.8.1
Work: Dell Precision T5500 (Xeon E5506 @ 2.13 GHz x 2 / 12GB RAM) Home: Panasonic Toughbook W8 (Core 2 Duo @ 1.20 GHz / 4GB RAM) |
![]() Administrator ![]()
|
Maybe you were trying to run applications as root/a different user before in Yakuake?
Problem solved? Please click on "Accept this answer" below the post with the best answer to mark your topic as solved.
10 things you might want to do in KDE | Open menu with Super key | Mouse shortcuts |
![]() Global Moderator ![]()
|
I reckon that is the one. You can run dolphin from yakuake (or any other shell) by typing "dolphin &". In order to get a root dolphin, however, you have to type "kdesu dolphin &". EDIT: I just noticed the OP is on Kubuntu. Does kdesu work there or have they changed it to kdsu?
Debian testing
|
![]() Registered Member ![]()
|
Thanks for the response, guys. Actually, the only commands I run as root (or sudo) are apt commands and "make install" (when compiling and installing apps from source). Just to be sure, I ran "sudo apt-get update" in yakuake and checked the DISPLAY variable after that. It was still correctly set as ":0.0" and I was able to run dolphin from there ("dolphin &", that is). I wonder what could have been wrong when I wasn't able to yesterday? As for your question, looks like I have neither kdesu nor kdsu on my Kubuntu 10.10. I only see kdesudo.
Kubuntu 12.04 (Precise Pangolin) 64-bit / KDE 4.8.1
Work: Dell Precision T5500 (Xeon E5506 @ 2.13 GHz x 2 / 12GB RAM) Home: Panasonic Toughbook W8 (Core 2 Duo @ 1.20 GHz / 4GB RAM) |
Registered users: bartoloni, Bing [Bot], Google [Bot], q.ignora, watchstar