Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

cannot execute startkde using X2GO client on windows [closed]

I am using a X2GO client on a Windows 7 (64-bit) laptop in order to login to a remote machine running Fedora 20. However, when I try to connect choosing KDE as a session type, I get a "cannot execute startkde" error.

Is there something I need to configure on my laptop or Fedora machine?

like image 575
ap6491 Avatar asked Jul 07 '15 02:07

ap6491


5 Answers

This worked for an ubuntu server but may work for fedora/centos. In the session preferences tab of the x2go client, change the "session type" to XFCE

like image 114
Nazilla Avatar answered Oct 07 '22 03:10

Nazilla


on ubuntu I had to install XFCE, then select that in the windows client and then it worked.

like image 41
Marinna Martini Avatar answered Sep 21 '22 17:09

Marinna Martini


At this point I'm almost sure the OP has already fixed the issue or just tried another DE. Anyways, just for the record, for other people that may come across this error, this is my experience and how I solved it.

In my case the problem was that the version of KDE I was using didn't have a startkde command, at all. Apparently, newer versions of KDE use startplasma-x11 (or startplasma-wayland) instead.

In X2GO, I selected "Custom desktop environment" (or something like that, I'm using another language), then pasted the startplasma-x11 command in the field. It worked after that.

To check if that's also your problem, try to SSH to the machine, write which startkde and, if it fails, then try which startplasma-x11 and it should return a path. If it does, then you just follow the steps above and it should work.

like image 8
MigMolRod Avatar answered Oct 07 '22 02:10

MigMolRod


Running sudo yum install @kde on the remote machine resolved the issue. I was now able to login to the remote machine using X2GO client.

like image 6
ap6491 Avatar answered Oct 07 '22 02:10

ap6491


If the command is not setup up properly in the available PATH,: then the error like "Cannot run 'startkde' occours

Please check that the requested application is in the system PATH and that you have the rights to execute it."

you need to login to the super user mode by pressing

ctrl + alt + f1

Whether the PATH is set or not can be checked by executing

which startkde

or more generally, 'echo $PATH'

The correct path must be set in /etc/profile or /etc/csh.login, depending on the shell the user is using.

And now when you try to log in from windows desktop after doing all this if error again appears Cannot run ‘startkde’. …

make sure you have the appropriate credentials to access .

like image 1
shining Avatar answered Oct 07 '22 01:10

shining