LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-11-2009, 04:37 PM   #1
wingevil
Member
 
Registered: Oct 2008
Distribution: slack32-13
Posts: 147

Rep: Reputation: 19
can't start synergy on slack64


I trie to install synergy on two comps. while the installation in the slack32-comp war simple and works, it is not possible to start it on the slack64-comp.

When I start the server then these messages appear

Code:
root@slacki64: /home/mro/downloads # synergys -f -d DEBUG
INFO: synergys.cpp,1042: Synergy server 1.3.1 on Linux 2.6.29.6 #2 SMP Mon Aug 17 11:58:18 CDT 2009 x86_64
DEBUG: synergys.cpp,1051: opening configuration "/root/.synergy.conf"
DEBUG: synergys.cpp,1058: cannot open configuration "/root/.synergy.conf"
DEBUG: synergys.cpp,1051: opening configuration "/etc/synergy.conf"
DEBUG: synergys.cpp,1062: configuration read successfully
DEBUG: CXWindowsScreen.cpp,840: XOpenDisplay(":0.0")
No protocol specified
WARNING: synergys.cpp,435: cannot open primary screen: unable to open screen
DEBUG: synergys.cpp,457: retry in 60 seconds
synergys: CXWindowsScreen.cpp:95: CXWindowsScreen::CXWindowsScreen(const char*, bool): Assertion `s_screen == __null' failed.
Abgebrochen
I must confess, that I took the package from slacky.eu rep. 12.2 . Maybe this was not a good decision...?

Another part is: synergy expect XTEST (huh? what's that?)

Whe I start the test of being available, then i see this:

Code:
root@slacki64: /home/mro/downloads # xdpyinfo | grep XTEST
No protocol specified
xdpyinfo:  unable to open display ":0.0".
Would anyone help me please.
 
Old 09-11-2009, 05:32 PM   #2
vik
Member
 
Registered: Apr 2008
Distribution: Gentoo
Posts: 225
Blog Entries: 8

Rep: Reputation: 50
It looks like the problem is you logged in to your Desktop Environment as a normal user, then su'd to root to run the program. The easiest "fix" would be to log out, login as root, then run your program. It has something to do with X not allowing another user (root) to connect to the X server while you're logged in as someone else. I'm not sure how to fix it, as I've tried doing xhost + with no success. Maybe a linux guru can help you more here.

Last edited by vik; 09-11-2009 at 05:33 PM.
 
Old 09-11-2009, 05:43 PM   #3
wingevil
Member
 
Registered: Oct 2008
Distribution: slack32-13
Posts: 147

Original Poster
Rep: Reputation: 19
vik your answer shows me the right direction. I changed in /etc/initab the default runlevel from 4 to 3 and then it works perfect. :-)

Thanks.
 
Old 09-11-2009, 05:44 PM   #4
hemp4fuel
Member
 
Registered: Jun 2003
Location: Topeka, KS
Distribution: Slackware
Posts: 193

Rep: Reputation: 45
Synergy is now available at slackbuilds.org.
 
Old 09-11-2009, 05:51 PM   #5
vik
Member
 
Registered: Apr 2008
Distribution: Gentoo
Posts: 225
Blog Entries: 8

Rep: Reputation: 50
You shouldn't have to change the default run level to 3 (no X)--maybe I can help you get a better fix in place.

Are you trying to autostart the program? I don't know anything about Synergy, but I've dealt with a similar problem with irexec before...

Last edited by vik; 09-11-2009 at 05:59 PM.
 
Old 09-11-2009, 05:58 PM   #6
wingevil
Member
 
Registered: Oct 2008
Distribution: slack32-13
Posts: 147

Original Poster
Rep: Reputation: 19
Quote:
Originally Posted by vik View Post
Are you trying to autostart the program?
not yet. I'll like it more to start as a job rather than a daemon. I'll try it this weekend.
 
Old 09-11-2009, 06:04 PM   #7
vik
Member
 
Registered: Apr 2008
Distribution: Gentoo
Posts: 225
Blog Entries: 8

Rep: Reputation: 50
Can you start synergy as a regular user (while logged in to your desktop environment)?
 
Old 09-12-2009, 02:33 AM   #8
wingevil
Member
 
Registered: Oct 2008
Distribution: slack32-13
Posts: 147

Original Poster
Rep: Reputation: 19
Quote:
Originally Posted by vik View Post
Can you start synergy as a regular user (while logged in to your desktop environment)?
yes have done it this morning, works fine
 
  


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
Impressions of Slack64? masonm Slackware 20 07-22-2009 10:23 PM
Synergy + MiFi mjolnir Linux - Wireless Networking 0 07-03-2009 09:01 AM
Grub on Slack64 rvdboom Slackware 9 06-11-2009 08:00 AM
Synergy and Solaris madivad Solaris / OpenSolaris 11 03-14-2008 05:21 AM
synergy not working geletine Linux - Networking 0 06-17-2006 05:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:46 PM.

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