LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Other *NIX
User Name
Password
Other *NIX This forum is for the discussion of any UNIX platform that does not have its own forum. Examples would include HP-UX, IRIX, Darwin, Tru64 and OS X.

Notices


Reply
  Search this Thread
Old 02-07-2009, 11:44 AM   #1
daihard
Member
 
Registered: Jul 2003
Location: Seattle, WA
Distribution: Kubuntu 14.04 LTS
Posts: 915

Rep: Reputation: 34
Question x2vnc not working with Mac OS X 10.5.6 (Leopard)


I've been trying to get x2vnc to work with Leopard for the last couple of days, to no avail. I would appreciate any help.

Here's the scenario. I would like to control both my Linux box (KUbuntu 8.04) and MacBook (Leopard) with the set of the mouse and keyboard connected to the Linux box. So I enabled "Screen Sharing" on Leopard, which enables VNC access, ran vncviewer from Linux to Leopard to make sure VNC works (and it does!), and finally fired up x2vnc as follows.
Code:
x2vnc -passwd ~/.vnc/passwd -west daihard-mac:0
Then I get this message.
Code:
x2vnc: VNC server supports protocol version 3.889 (viewer 3.3)
x2vnc: VNC authentication succeeded
x2vnc: Desktop name "Dais MacBook"
x2vnc: Connected to VNC server, using protocol version 3.3
x2vnc: VNC server default format:
screen[0] pos=1004
Xinerama detected, x2vnc will use screen 1.
Warning: Failed to bind x2vnc hotkey, hotkey disabled.
x2vnc: pointer multiplier: 1.000000
It does seem to indicate that x2vnc is working. In fact, the cursor disappears off the left edge of my Linux screen. The only thing is, it will not show up on the Leopard screen.

If anyone can shed some light on this, I'd much appreciate it.

TIA,
Dai
 
Old 02-21-2009, 02:29 PM   #2
spargonaut
Member
 
Registered: Jun 2004
Distribution: debian etch
Posts: 40

Rep: Reputation: 15
bump.

I just got a mac and I'm trying to do the same thing.

sounds like your a little ahead of me though, as I haven't even been able to connect via vnc yet.

did you ever find a fix for it?
if so, can you post what all you did?
as in: vnc app you used on the mac, and any other mac configurations you might have done?
( sorry, sorry, sorry, i know this is more of a mac question on a linux forum. forgive me for I have sinned. )


cheers.
 
Old 02-21-2009, 04:22 PM   #3
spargonaut
Member
 
Registered: Jun 2004
Distribution: debian etch
Posts: 40

Rep: Reputation: 15
ok, so far, I've been able to connect to my mac using x2vnc ( thanks for the 'screen sharing' hint ), and all the output in the terminal on the linux side seems to be right.
I am able to mouse over to the right side of my linux screen to the point the mouse dissappears. Over on the mac screen, the mouse arrow reappears where it should, but it stops responding. so the pointer just sits on the left of the mac screen without going anywhere until i play with the trackpad.


Oh well. I'm going to keep messing with it until i figure it out. When I do, if no one has beaten me to it, I'll post back with what i did.


cheers.
 
Old 02-21-2009, 04:51 PM   #4
spargonaut
Member
 
Registered: Jun 2004
Distribution: debian etch
Posts: 40

Rep: Reputation: 15
alright.
as promised, I am reporting back once i got it working.

on the mac side, i really didn't do anything except enable screen sharing.
( System Preferences -> sharing: Computer Settings button: check the box that says "VNC viewers may control..." and set a password )
( there might also be a couple of other settings in there you might want to mess with. There aren't many, so playing with them shouldn't take you too long. )

On the linux side, I did an 'apt-get upgrade'* and it upgraded all kinds of stuff, I forget exactly what. I do know that my x2vnc package was the latest version before I did that.
After the upgrade finished, I tried x2vnc again and it just worked. No clue why.
Unfortunately, I might have hosed my system b/c lilo screwed up during the upgrade process.
I just hope I don't have to reboot anytime soon.

in any case, everything is working fine for me, except that whenever the mouse is over on my linux machine, the dockbar on the mac pops up ( I have it set to autohide, but the VNC on the mac side hides the mouse in the lower right corner making the dock pop up. Anyone know how to change the place that it hides the mouse pointer? ).




* just for reference: My linux box is running an original install of debian etch. I have since mixed the repositories and installs from stable, testing and unstable. I did the upgrade using the testing repositories.


I hope this helps someone.

cheers.
 
Old 02-21-2009, 11:33 PM   #5
daihard
Member
 
Registered: Jul 2003
Location: Seattle, WA
Distribution: Kubuntu 14.04 LTS
Posts: 915

Original Poster
Rep: Reputation: 34
Quote:
Originally Posted by spargonaut View Post
on the mac side, i really didn't do anything except enable screen sharing.
( System Preferences -> sharing: Computer Settings button: check the box that says "VNC viewers may control..." and set a password )
( there might also be a couple of other settings in there you might want to mess with. There aren't many, so playing with them shouldn't take you too long. )
Thanks for the report. That's what I did, too. In fact, the regular VNC works just fine. I can run a VNC viewer on my Hardy (Kubuntu 8.04) box and access the Mac desktop without any problem.

Quote:
On the linux side, I did an 'apt-get upgrade'* and it upgraded all kinds of stuff, I forget exactly what. I do know that my x2vnc package was the latest version before I did that.
After the upgrade finished, I tried x2vnc again and it just worked. No clue why.
I got my x2vnc from the Ubuntu repo, too. As before, it still does not work. Just curious, is your Mac a desktop or a laptop? Mine's a MacBook whose external output I use to connect it to the main monitor that I share with my Linux box. I'm guessing that could be an issue, but right now everything is guess work.

Thanks again!
Dai
 
Old 02-22-2009, 05:44 PM   #6
spargonaut
Member
 
Registered: Jun 2004
Distribution: debian etch
Posts: 40

Rep: Reputation: 15
ok, that part about x2vnc was only a half truth.
when it first started working, I was rather excited and went ahead and posted.
now that i know better, its only _sorta_ working.
there are times when x2vnc works flawlessy, and there are times when it won't do a thing except lockup on the left hand side of the apple screen.
I haven't yet been able to predict when it will work and when it won't.

currently, I'm actually running three systems:
- debian linux desktop on the box with the keyboard and mouse ( debian etch )
- windows xp laptop with realVNC on the left of the linux monitor ( XP pro - upto date )
- macbook pro with an external monitor as a second on the right of the linux monitor ( running OS X 10.5.6 )
( yes, I have too many computers on my desk )

- x2vnc to the windows machine on the left works fine
( except for realVNC crashing on me every once in a while, but it did that before the mac came into the picture )
- x2vnc to the mac works sporadically.

Also, the non-linux monitor is set up to where its the second monitor for both laptops. It has inputs for both vga and dvi, so the vga goes to the older windows laptop, and the dvi goes to the mac, and i just use the 'input source' button on the monitor to switch back and forth. It gets really screwey sometimes when the x2vnc is working on both laptops.

so, when your running that VNC viewer, is the control of the mouse and keyboard running over to the mac, or are you viewing your mac desktop in a window on your linux desktop?


so, uhh, i guess thats the status for this issue for the time being.
If I ever figure out whats causing it to act sporadically I'll report back here.
If you could do the same that would be awesome.
cheers.
js
 
Old 02-25-2009, 03:08 PM   #7
spargonaut
Member
 
Registered: Jun 2004
Distribution: debian etch
Posts: 40

Rep: Reputation: 15
well, i've done a little more fiddling with it, and x2vnc is still only working sporadically with my mac. It works OK with my windows laptop, although I've noticed that when i'm using it, the windows key is not responsive. This is on my home machine(s). I'm running x2vnc Ver 1.7.2-1

In my lab at school, x2vnc runs peachily with my windows laptop ( as in the windows key is responsive ), but I have yet to try it with the mac laptop. I hope to do that soon. At school, I'm running x2vnc Ver 1.7.1-2 ( I'm also running ubuntu 8.04 up here as opposed to debian at the house ).

Thats about all I have to report at the moment.

curious, what version of x2vnc are you using?

also, a friend of mine mentioned xvncviewer, although after a quick look at it, i'm not sure it will do what we're wanting to do. I will have to talk to him and get him to elaborate more.

repost if you're able to make any headway!

cheers.
 
Old 02-25-2009, 03:47 PM   #8
daihard
Member
 
Registered: Jul 2003
Location: Seattle, WA
Distribution: Kubuntu 14.04 LTS
Posts: 915

Original Poster
Rep: Reputation: 34
Hi.

Thanks for the reply again. Here's what I know so far.

First, x2vnc works fine between Linux and Windows. I run x2vnc (1.6.1) on CentOS 4.7 to access my secondary computer running XP almost daily. This is a self-compiled binary since the CentOS repo does not have a precompiled version.

Second, vncviewer gives you a full screen access, not just the mouse and keyboard action. I am able to run vncviewer on my Kubuntu 8.04 box to get my Mac OS X desktop with no problem. Screen draw is pretty fast, too. That said, I'd still much prefer x2vnc.

Finally, the version of x2vnc I have at home is 1.7.1, which I installed directly from the Ubuntu repo.

I'll post again if I find anything else.

Dai
 
  


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
dual boot mac os x leopard and ubuntu on macbook pro. Polanski Linux - Software 9 11-05-2008 03:09 PM
mac osx leopard Polanski Linux - Software 1 11-03-2007 01:12 AM
Mac OS X, Leopard, just released frenchn00b General 10 10-30-2007 09:30 AM
LXer: Mac OS X Server 10.5 Leopard features: Includes Wiki server LXer Syndicated Linux News 0 08-08-2006 11:33 PM
X2vnc on SuSE 9.1 - lib error slnkelly Linux - Software 1 04-14-2005 10:08 AM

LinuxQuestions.org > Forums > Other *NIX Forums > Other *NIX

All times are GMT -5. The time now is 02:10 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
Open Source Consulting | Domain Registration