LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-11-2009, 09:45 PM   #1
windstory
Member
 
Registered: Nov 2008
Posts: 486

Rep: Reputation: 36
startkde failed after ssh connection


startkde failed after ssh connection

Aserver connected with Bserver through ssh, but could not make "startkde".


Quote:
[root:localhost:~]# startkde
xsetroot: unable to open display ''
xset: unable to open display ""
xset: unable to open display ""
xsetroot: unable to open display ''
startkde: Starting up...
ksplash: cannot connect to X server
kdeinit: Aborting. $DISPLAY is not set.
Warning: connect() failed: : No such file or directory
ksmserver: cannot connect to X server
ERROR: Couldn't attach to DCOP server!
startkde: Shutting down...
Warning: connect() failed: : No such file or directory
Error: Can't contact kdeinit!
startkde: Running shutdown scripts...
startkde: Done.

How can I solve this problem?
 
Old 03-11-2009, 10:23 PM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670
You could start an X session locally on another screen, such as :1.0 instead of :0.0 if X is already running.
E.G.
Log into VT/2 or press [CLTRL]-ALT-F2 in local KDE session and then log in. Start a new Xorg screen:
xinit -- :1.0

Then in the xterm enter: ssh -X user@host
<password or passphrase>
startkde

I did this just yesterday, starting an xfce4 session instead to test out a response on another message.

---

P.S. Just did it again as a test with "startkde3". I now have a local kde4 session on my laptop on VT/7 and a remote KDE3 session on VT/8.

Last edited by jschiwal; 03-11-2009 at 10:25 PM.
 
Old 03-11-2009, 11:52 PM   #3
windstory
Member
 
Registered: Nov 2008
Posts: 486

Original Poster
Rep: Reputation: 36
Quote:
Originally Posted by jschiwal View Post
You could start an X session locally on another screen, such as :1.0 instead of :0.0 if X is already running.
E.G.
Log into VT/2 or press [CLTRL]-ALT-F2 in local KDE session and then log in. Start a new Xorg screen:
xinit -- :1.0

Then in the xterm enter: ssh -X user@host
<password or passphrase>
startkde

I did this just yesterday, starting an xfce4 session instead to test out a response on another message.

---

P.S. Just did it again as a test with "startkde3". I now have a local kde4 session on my laptop on VT/7 and a remote KDE3 session on VT/8.
jschiwal,

Thanks your kind reply.
But I cannot understand "Log into VT/2 or press [CLTRL]-ALT-F2 in local KDE session and then log in. Start a new Xorg screen:"

On KDE screen, I pressed "[CLTRL]-ALT-F2", but no response.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ssh -L '>channel 3: open failed: connect failed:' Luke771 Linux - Networking 14 01-24-2012 04:14 AM
SSH fatal: Read from socket failed: Connection reset by peer humbletech99 Linux - Networking 3 01-03-2007 07:41 PM
Disable startkde and gnome-session over ssh deepaklukose Linux - Networking 5 01-18-2006 06:07 PM
Upgrade of KDE 3.4 to 3.5 failed - startkde problem Bengan Mandriva 5 01-09-2006 05:34 AM
online_update failed - ERROR(Media:connection failed)[Connect failed] rover SUSE / openSUSE 8 02-22-2005 08:57 AM


All times are GMT -5. The time now is 10:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration