diff --git a/examples/x2goclient-cli b/examples/x2goclient-cli index 927eb66..21c56dc 100755 --- a/examples/x2goclient-cli +++ b/examples/x2goclient-cli @@ -40,7 +40,7 @@ my $kbdtype="pc105/us"; my $setkbd="0"; my $accept=0; my $sound=1; -my $cmd="startkde"; +my $cmd="startkde5"; my $ssh_key=0; my $port="22"; @@ -175,7 +175,7 @@ sub printargs --help-pack Print availabel pack methods --user Connect as user 'username'\ --server Connect to 'hostname'\ - --command Run command 'cmd', default value 'startkde' + --command Run command 'cmd', default value 'startkde5' --port SSH port, default 22 --ssh-key Us 'fname' as a key for ssh connection --add-to-known-hosts Add RSA key fingerprint to .ssh/known_hosts if authenticity of server can't be established, default value 'no' diff --git a/src/onmainwindow.cpp b/src/onmainwindow.cpp index fdc043b..9e25b22 100644 --- a/src/onmainwindow.cpp +++ b/src/onmainwindow.cpp @@ -2643,7 +2643,7 @@ bool ONMainWindow::initLdapSession ( bool showError ) } } - sessionCmd="/usr/bin/startkde"; + sessionCmd="/usr/bin/startkde5"; LDAPSndSys="ARTS_SERVER"; LDAPSndStartServer=true; startSound=false; @@ -7078,7 +7078,7 @@ void ONMainWindow::SlotRunCommand(bool, QString output, int) if ( command=="KDE" ) { - command="startkde"; + command="startkde5"; } else if ( command=="GNOME" ) { diff --git a/src/sessionbutton.cpp b/src/sessionbutton.cpp index c3d9e25..c9d10a4 100644 --- a/src/sessionbutton.cpp +++ b/src/sessionbutton.cpp @@ -851,7 +851,7 @@ void SessionButton::slot_cmd_change ( const QString& command ) cmdIcon->setPixmap ( pix ); X2goSettings st ( "sessions" ); - if ( command=="startkde" ) + if ( command=="startkde5" ) { cmd="KDE"; newRootless=false;