LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-07-2008, 12:32 PM   #1
asymptote
Member
 
Registered: Mar 2008
Posts: 236

Rep: Reputation: 37
VNC: disable physical mouse/keyboard


Sometimes when I VNC into my box, people agitate me by moving the mouse or pressing keys on the keyboard. Is there a way to disable the physical mouse and keyboard will retaining control of the VNC mouse pointer and keyboard input? Thanks!
 
Old 04-07-2008, 01:06 PM   #2
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
What OS is VNC server running under? What brand is it? Most of them have some settings for grabbing input.
 
Old 04-07-2008, 01:19 PM   #3
BallsOfSteel
Member
 
Registered: Mar 2008
Location: Florida
Distribution: Fedora mainly, but I am open to others.
Posts: 273

Rep: Reputation: 34
I believe when you run vncviewer, if you go into options, there is a way to disable it. It's there when I remote in to other machines.

Regards,

Brandon
 
Old 04-10-2008, 09:49 AM   #4
asymptote
Member
 
Registered: Mar 2008
Posts: 236

Original Poster
Rep: Reputation: 37
Quote:
Originally Posted by raskin View Post
What OS is VNC server running under? What brand is it? Most of them have some settings for grabbing input.
I'm using VNC on Fedora 8. I've been through the Remote settings under System -> Preferences -> Internet and I don't see any options for disabling the physical mouse and keyboard One thing I wondered about is the /dev directory. I've no experience with this directory, but I thought maybe it would have something to do with the peripherals. The keyboard is connected via PS/2, and mouse via USB. I know I can see the mouse using the lsusb command, but I'm not familiar with any command to disable it. Does the /dev directory have anything to do with it?
 
Old 04-10-2008, 09:54 AM   #5
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
You do not want to disable anything by removing /dev/ entry.

Well, I think you should have some VNC server process.. Run

ps -auxwww | grep -i vnc
 
Old 04-14-2008, 08:51 PM   #6
asymptote
Member
 
Registered: Mar 2008
Posts: 236

Original Poster
Rep: Reputation: 37
Quote:
Originally Posted by raskin View Post
You do not want to disable anything by removing /dev/ entry.

Well, I think you should have some VNC server process.. Run

ps -auxwww | grep -i vnc
When I try and run your command I get the following:
Code:
[root@localhost ~]# ps -auxwww | grep -i vnc
Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.7/FAQ
root      5891  0.0  0.0   4044   744 pts/0    R+   21:50   0:00 grep -i vnc
I also tried 1, 2, and 3 w's but the same effect. Is that the correct command you wanted me to type? Thanks!
 
Old 04-14-2008, 10:14 PM   #7
Kahless
Member
 
Registered: Jul 2003
Location: Pennsylvainia
Distribution: Slackware / Debian / *Ubuntu / Opensuse / Solaris uname: Brian Cooney
Posts: 503

Rep: Reputation: 30
you could always rmmod the usb drivers form the kernel
 
Old 04-14-2008, 10:21 PM   #8
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
Well, maybe no "-" before auxwww
 
Old 04-15-2008, 09:42 PM   #9
asymptote
Member
 
Registered: Mar 2008
Posts: 236

Original Poster
Rep: Reputation: 37
Quote:
Originally Posted by raskin View Post
Well, maybe no "-" before auxwww
Here's my output:

Code:
[root@localhost ~]# ps auxwww | grep vnc
root     11586  0.0  0.0   4016   460 pts/0    R+   22:40   0:00 grep vnc
I'm going to bed so I'll read the man page on this later as far as what its supposed to mean. Thanks!
 
Old 04-16-2008, 06:46 PM   #10
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
Strange.. I cannot understand what is your VNC server..
 
Old 04-16-2008, 07:06 PM   #11
asymptote
Member
 
Registered: Mar 2008
Posts: 236

Original Poster
Rep: Reputation: 37
LoL why didn't you just ask? It's vino-server. I dunno why Fedora 8 uses that instead of just vnc-server but for some reason it does and for the most part it works
 
Old 04-17-2008, 01:57 PM   #12
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
Well, I know that keyboard and mouse should be disabled in server settings. I know that it is only relevant when you have VNC server like x11vnc (or maybe vino-server..) that doesn't create a virtual screen, and uses physically attached X11 display instead. I know that it should be called grabbing input if not disabling input. But I have no idea of how is vino-server configured..
 
Old 07-17-2008, 10:00 AM   #13
steve_linux
LQ Newbie
 
Registered: Jul 2008
Location: india
Posts: 2

Rep: Reputation: 0
Keyboard & Mouse problem in x11vnc

i do sharing with Tightvnc Viewer using x11vnc on fedora then both have mouse and keyboard control.is it possible if server side using mouse than automatically viewer should loose control.?
 
  


Reply



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
How to disable and re-enable mouse and keyboard input? weijie90 Linux - Hardware 2 08-12-2007 07:17 PM
How to disable the little marble that is used as a mouse on a laptop keyboard? MrPacane Linux - Laptop and Netbook 4 05-25-2006 01:05 AM
Disable mouse, keyboard or other input devices / drivers bastl Programming 0 05-15-2005 06:39 AM
VNC Sharing :0 (When connected, physical screen open to anyone) guardian653 Linux - Software 4 07-24-2004 07:18 AM
Serial mouse and VNC keyboard problems ArmyOfMe Linux - Newbie 1 06-04-2004 07:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:55 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