[CentOS] vncviewer and IPv6
I have a host that I have been accessing with vncviewer via its fqdn that had only an IPv4 A record. I just added a IPv6 record, and vncviewer via fqdn stopped working. But worked when I provided the IPv4 address instead. It LOOKS like vncviewer is trying the IPv6 address, eventhough all documentation indicates that it does not support IPv6. Definitely my server is only listening on the IPv4 interface. SSH has a nice -4 option to force using IPv4; there is no similar option for vncviewer. Does anyone have any idea on how to enforce IPv4 usage for IPv6-dead vncviewer? Yes, I DO want IPv6 on this server ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] vncviewer via gateway option question
On Tue, Jul 15, 2008 at 10:36, Robert Moskowitz <[EMAIL PROTECTED]> wrote: >>> VNC_VIA_CMD=/usr/bin/ssh -p 7722 -f -L "$L":"$H":"$R" "$G" sleep 20 >> >> You could actually do this a little bit easier, by defining a user ssh >> config file in ~/.ssh > > This simplified my ssh commands, not having to include the -p Actually that will be the default for VNC_VIA_CMD, so if you don't need to specify the port number you don't need to include that variable specification in your .bashrc/.bash_profile. > vncviewer gate.foo.com:5902 -via gate.foo.com Actually it seems to me you are specifying a port number after the server name, when it should in fact be a *display* number. When you start the vncserver, you specify which display you want it to bind, or it will tell you which one it used. That is the number you have to use on your vncviewer command. Probably something like: $ vncviewer gate.foo.com:2 -via gate.foo.com The 5599 port is probably the local port chosen by the -via option, it will probably look up a free port in that range. Let us know how that works for you. HTH, Filipe ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] vncviewer via gateway option question
Jim Perrin wrote: On Mon, Jul 14, 2008 at 9:18 PM, Robert Moskowitz <[EMAIL PROTECTED]> wrote: How do I set up this environment variable on my notebook. Would I modify my .bash_profile file, and is the format of the added line:\ VNC_VIA_CMD=/usr/bin/ssh -p 7722 -f -L "$L":"$H":"$R" "$G" sleep 20 You could actually do this a little bit easier, by defining a user ssh config file in ~/.ssh You could do something similar to: Host myvncgateway HostName server.com User backupuser #default username Port # Use this port instead of 22. neat, but... This simplified my ssh commands, not having to include the -p But I could not get vncviewer working. For the command: vncviewer gate.foo.com:5902 -via gate.foo.com I get: VNC Viewer Free Edition 4.1.2 for X - built Mar 14 2007 22:51:02 Copyright (C) 2002-2005 RealVNC Ltd. See http://www.realvnc.com for information on VNC. [EMAIL PROTECTED]'s password: Tue Jul 15 07:54:27 2008 CConn: connected to host localhost port 5599 channel 3: open failed: connect failed: Connection refused main: End of stream Where did port 5599 come from? So I kind of gave up, I set up a SSH port forwarding and ran through that. All this to make a change to my firewall rules. My firewall would not accept an external admin connection, so I had to get an internal Firefox client running on this system. Hop, Hop, Hop ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] vncviewer via gateway option question
On Mon, Jul 14, 2008 at 9:18 PM, Robert Moskowitz <[EMAIL PROTECTED]> wrote: > How do I set up this environment variable on my notebook. Would I modify my > .bash_profile file, and is the format of the added line:\ > VNC_VIA_CMD=/usr/bin/ssh -p 7722 -f -L "$L":"$H":"$R" "$G" sleep 20 You could actually do this a little bit easier, by defining a user ssh config file in ~/.ssh You could do something similar to: Host myvncgateway HostName server.com User backupuser #default username Port # Use this port instead of 22. There's a whole mess of other options you can drop in here. man ssh_config for all the goodies. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] vncviewer via gateway option question
the man page for vncviewer presents the -via gateway option to use ssh through a gateway. I understand if I want a secure vnc connection to server.foo.com I can use the command: vncviewer localhost -via server.foo.com But I have moved my SSHD services from port 22 to port n. So according to the man pages, I need an environment variable of VNC_VIA_CMD and override the default command with: /usr/bin/ssh -p 7722 -f -L "$L":"$H":"$R" "$G" sleep 20 where 7722 is the port for sshd. How do I set up this environment variable on my notebook. Would I modify my .bash_profile file, and is the format of the added line: VNC_VIA_CMD=/usr/bin/ssh -p 7722 -f -L "$L":"$H":"$R" "$G" sleep 20 ??? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] vncviewer
Joseph L. Casale wrote: How do you send special keystrokes in vncviewer? I need to send Shift-F10... Searching the net showed nothing and realvnc's webpage yielded nothing either. If you press F8 in the vncviewer window, a menu will come up ... one of the options on that menu is to select alt or ctrl with a check mark. Shift-F10 seems to pass through OK for me using the CentOS-5 VNC Viewer without any problems though and not need any help. Thanks, Johnny Hughes signature.asc Description: OpenPGP digital signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] vncviewer
On Sat, 19 Apr 2008 18:01:27 -0600, Joseph wrote: > How do you send special keystrokes in vncviewer? > I need to send Shift-F10... > > Searching the net showed nothing and realvnc's webpage yielded > nothing either. Just a thought, but your window manager may be intercepting the keystroke. If it is, disable it and try vnc again. Miark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] vncviewer
How do you send special keystrokes in vncviewer? I need to send Shift-F10... Searching the net showed nothing and realvnc's webpage yielded nothing either. Thanks! jlc ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] vncviewer and opening mail attachemtns kills the login
I am running centos 5.1 I routinely vnc in from home (centos 5.1 NVIDA laptop) to work centos 5.1 NVIDIA based station. works fine 95% of the time. However, when I am running thunderbird mail client, and there is PDF attachment, clicking on the attachment it prompts to open with evince and I accept - my entire sessions is KILLED. When I reconnect I have been logged out and all my windows etc... are gone. Is there a reason for this behavior and if so how do I stop it? Thanks, Jerry ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] vncviewer package wit hcentos 5
I have xkeybindings running just fine on centos 5. I have vncviewer running in full screen mode showing another PC. When vncviewer is running is running it seems to override my xkeybindings. Is there a way to tell vncviewer to not bind to any keys?? The only keys I am binding is on the Keypad 3,4,6, 9 and Enter. Nothing that vncviewer uses anyway. How can I still have my xkeybindings active with vncviewer running? Thanks, Jerry ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos