Ubuntu Networking :: VNC Not Tunnelling Over SSH Correctly 9.1
Feb 7, 2010
I started another thread on this (URl...), but the topic was not specific to what I now know the problem to be. So Ive started a more appropriately titled thread.In my local network I SSH (via Putty) to my Ubuntu 9.1 server and the tunnel a VNC connection through to it. No problems at all. I forward port 5900 through SSH to do this. My local servers have port 5900 blocked, so I know it is tunnelling correctly without trying to access port 5900. I cannot VNC directly to port 5900, as I would expect. Everything works just as expected.
When I SSH external to my router a I use a virtual server connection through port 22. This works just fine.I then start a VNC session, in the exact same way as I do localy, tunnelled through port 5900. Specifically I tunnel port 5900 to my.router.public.ip port 5900. However when I start up VNC it times out. The reason is that my firewall blocks a request to my routers public IP address from port 5900 on the server running SSH as follows :I have tried this both with the Ubuntu built in desktop and with x11vnc. Both give identical results. When I start x11vnc I tell it to listen on port 5900. This, as explained above, wokrs just fine in my internal network and does NOT put out any requests on port 5900.
View 3 Replies
ADVERTISEMENT
Sep 30, 2010
I've been searching for a while in forums about the issue I'm facing but couldn't find anything clear, or at least my net search skills are pretty lame. I'm facing a problem with prompted user password in a SSH chain connection when using authorized_keys.
I have: (1) Client - (2) Server - (3) Testing machine (testing machine is connect to Server via usb network)I've created keys for Client and Server, and updated authorized_keys in host machines with the key values: Testing machine has Server public key, and Server has Client public key.Until now everything is fine, if I try to connect via ssh the user password prompt is not shown since public key is found in authorized_keys.
For example: from Client: Code: ssh server Works fine, no password prompt.from Server: Code: ssh testing_machine Works fine, no password prompt.But if try to do that from Client only: from Client: Code: client:$ ssh server Works fine, no password prompt.from Client: Code: server:$ ssh testing_machine Asks for password.Bellow the verbose output from previous ssh command:
Code: ssh -v root(at)192.168.100.2
OpenSSH_5.3p1 Debian-3ubuntu4, OpenSSL 0.9.8k 25 Mar 2009
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to 192.168.100.2 [192.168.100.2] port 22.
[Code].....
View 1 Replies
View Related
Aug 25, 2011
I am trying to configure my IPv6 network. My computers are behind a Fedora gateway IPv6-configured, which is working great. But for computers inside my network, it seems I am getting only internal addresses from DHCP. Here is my ifconfig for an internal computer:
Quote: em1 Link encap:Ethernet HWaddr F4:6D:04:34:92:2B inet addr:192.168.0.184 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fe80::f66d:4ff:fe34:922b/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:744250 errors:0 dropped:0 overruns:0 frame:0 TX packets:548987 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:841392242 (802.4 MiB) TX ytes:60384500 (57.5 MiB) Interrupt:18 Memory:f7100000-f7120000
he-ipv6 Link encap:IPv6-in-IPv4 inet6 addr: 2001:470:1c:611::3/64 Scope:Global inet6 addr: fe80::cea7:b778/128 Scope:Link UP POINTOPOINT RUNNING NOARP MTU:1480 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:61 dropped:0 overruns:0 carrier:61 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
[Code]....
View 2 Replies
View Related
Jan 3, 2011
Today I tried using PuTTY to set up a socks proxy on my local machine, a procedure I used to do when I was not using Ubuntu which used to work flawlessly and out of the box... however, apparently putty is not able to set up a port on my PC, but if I use ssh -Dport, everything works smoothly. Again, this used to work out of the box on other distros... any hints?
P.S.: This is the third problem I'm having with standard operations in Ubuntu: pinentry-qt4 does not work, the scanner needs manual setting to permissions, now this... isn't this distribution supposed to be user friendly? I'm resorting to the terminal more than I ever did.
View 1 Replies
View Related
Apr 11, 2011
I'm trying to access a remote computer by tunnelling VNC through ssh. I've used VNC for years, but never through ssh. Both computers are running Fedora 14, installed by me. Doing a general Internet search, I found three articles, and they all had basically the same instructions. However, they don't seem to work. Here's what I did. Call my local computer "computer A," and the remote computer "computer B." I installed vncserver on B using yum:
(1) yum install tigervnc-server
(2) Then on B I started the server:
vncserver The first time you do this, you're asked to set up a password. Everything else was automatic. I did nothing to /etc/sysconfig/vncservers.
(3) With vncserver running on B, on A I issued the following command:
ssh -L 5901:localhost:5901 username-on-B@IP-address-for-B After giving the password, this logged me into a terminal session on B.
(4) At that prompt on B, I issued this command:
vncviewer localhost:1 According to the tutorials I found, this is the last step. The desktop window on B should open. It does not work. The following error was given: vncviewer: unable to open display "" What am I doing wrong? How does one tunnel VNC through ssh?
View 7 Replies
View Related
Jul 10, 2011
I'm running Ubuntu Server 11.04 with OpenSSH, trying to create an ssh tunnel (for web traffic) to it from my (also Ubuntu) laptop. This is the command I'm using to create the tunnel:
Code: ssh -ND localhost:8080 george@192.168.1.20 I had it all working on a virtual machine.. which was deleted What settings/lines do I need to change/add from the default OpenSSH config files to get tunnelling to work? I've Googled and AllowTcpForwarding is set to yes, as is X11Forwarding.. but it still doesn't work. Chrome can connect to the server, but says the connection was closed before any data was sent.
View 3 Replies
View Related
Jun 19, 2010
Updating Synaptic with authenticated proxy settings make it works.However, apt-get command line tool does not work.[URL]Which program is responsible for updating such file ?
View 1 Replies
View Related
Sep 7, 2010
I have setup an OpenVPN server on Ubuntu server. I am able to connect with Windows clients. I am, however, unable to correctly connect using Ubuntu.
If the router firewall is blocking the pings to keep the connection alive, then the connection initially does not work, but will work after the first timeout and reconnect. If the firewall does not block the pings then the initial connection attempt never times and therefore the connection does not work.
Attached is the readout from the client.
The first attempt gives error ERROR: Linux route add command failed: external program exited with error status: 7
Successive attempts work, they just time out every two minutes.
View 1 Replies
View Related
Jun 3, 2010
After upgrading my Sony VAIO from Fedora 12 to Fedora 13 my NFS shares don't seem to be working correctly. First of all, mounting them via /etc/fstab is quite slow now. More importantly, When I transfer files from my laptop client to my NFS share, the owner/group on the client become "nobody". However, on the NFS server, they are both "root". I am using a script containing "cp" commands to perform backups of certain directories, retaining original owner/group info. Since the Fedora 13 upgrade, the script complains with each file that it was unable to preserve the information, and the end of the line always contains "Invalid argument".
As a last resort, I upgraded the 'server' (a 64 bit version) from Fedora 12 to Fedora 13. There has been no improvement.
View 4 Replies
View Related
Feb 24, 2011
Starting today I cannot log into [URL] on Linux. Whenever I try to login, it just takes forever and then either Chrome or Firefox tell me that perhaps the site no longer exists. It works perfectly fine on Windows. Strangely it also does not work on my Roku box and is working sporadically on my PS3. I would think it was my ISP or my router if it wasn't working perfectly fine on Windows.
I AM NOT TRYING TO WATCH NETFLIX ON LINUX. I know that doesn't work. I'm just trying to update my queue. I'm having this problem both on Fedora and Ubuntu (latest stable releases on both). I know it's not just loading from cache on my Windows machine because I'm going to pages that I have never been to and it's working just fine. Now, I have not tried signing out and in because then I'll be up a creak. OK, I installed another browser on my Windows computer and I'm able to sign into Netflix just fine. So it's not a sign-in issue.
WHY DOES THIS WORK ON WINDOWS? It's the same browsers - Chrome and Firefox on Linux and Windows and the same network.
ALSO, flickr is not working correctly - I cannot make any comments in the discussions (but can on photos which is ajax-y).
update: also checked a Linux computer using Linux Mint that hasn't been turned on in 2 months. I know it was able to access Netflix back then. Nothing has been changed - not even updates. It also cannot access Netflix. Either taking forever to load [URL] or when trying to login.
via looking in Konqueror, I saw it's trying to go [URL] and that's what makes it so that I cannot connect to [URL] if it considers me to be signed in. And here's what Konqueror said:
The requested operation could not be completed
Connection to Server Closed Unexpectedly
Details of the Request:
URL: http://movies.netflix.com
Protocol: http
Date and Time: Thursday, February 24, 2011 22:56
[Code].....
View 14 Replies
View Related
Nov 2, 2009
Since latest large update to CentOS 5.3, which also upgraded to 5.4, I have problem with dnsmasq. CentOS is real server on real hardware (not virtual). I use dnsmasq as dhcp server as usual. On hardware startup or reboot, these lines are included in /var/log/messages
Nov 2 19:06:16 server avahi-daemon[2965]: New relevant interface eth0.IPv4 for mDNS.
Nov 2 19:06:16 server avahi-daemon[2965]: Joining mDNS multicast group on interface eth0.IPv4 with address 192.168.0.1.
[Code]....
View 14 Replies
View Related
Jun 2, 2010
I just installed madwifi on my MSI laptop with an Atheros AR5001 wifi card & Lucid. As far as I can see and according to System -> Administration -> Hardware drivers the install was successful and the card + driver is up and running. However, I don't see any wireless network (my windows PC can see about 5 wireless networks). I tried it with the network manager applet as well as with wicd. If I try to connect to "Hidden Wireless Network" via nm-applet, it will start to connect for a while but is unable too (although I supply it with the correct WEP settings & key) So, I'm unable to use my wireless network. What am i doing wrong?
Some information about my system:
iwconfig
Code:
lo no wireless extensions.
eth0 no wireless extensions.
wifi0 no wireless extensions.
ath0 IEEE 802.11g ESSID:""
Mode:Managed Frequency:2.437 GHz Access Point: Not-Associated
[Code].....
I've been at this for hours now, also tried ndiswrapper and ath5k drivers with no luck
View 1 Replies
View Related
Sep 25, 2010
I have the following problem: There are three NFS mounts in /etc/fstab, which are automatically mounted. The network connection runs over NetworkManager. Since NWM brings up the network asynchronously, NFS doesn't mount correctly on the first try, but is loaded soon enough since mount automatically retries until it works.
I can live with the fact that I have an error in my boot messages, since everything is up in time for the user. But, I need a (selfmade) upstart script which depends on the NFS mount being up. Even using "remote-filesystems" as the trigger doesn't help, because the trigger is apparently sent after the first failed try (I checked with cat /proc/mounts in my script, the nfs mounts are clearly not up.) Can I somehow force the remote mounts to wait until NWM is up, or make the NFS mount emit an event when the mounts really get mounted?
View 6 Replies
View Related
Jul 12, 2011
fc14 do not handle nis info correctly when showing my network homedir. It is shown as "nobody nobody". Local files are shown with correct UID:GID
When I log in on an RedHat el5 machine (on the same network), every thing is ok, but when I log in on a fc14 machine my network homedir files are shown as "nobody nobody"
My homedir is placed on a REDHat el6 and using nfsv4
Does anyone have a clue as to where configuartion can be changed?
View 4 Replies
View Related
Jan 21, 2011
I am running a centOS 5.5 server and can't synchronize with time servers via ntpd. My server sits behind a firewall with only port 80 open and I suspect this is the issue. Do I need to open other ports to connect to the time servers at [URL]?
View 4 Replies
View Related
Jan 18, 2011
I have two onboard gigabit Ethernet ports and 3 10Gb add-in fiber ports. When everything is cabled but nothing is IP'ed yet, I do an ifconfig -a and the two gigabit ports are showing as "__tmp2143330114" and "__tmp1076785124", eth0, eth1 and eth3 show as the 10Gb addin cards. On other (identical) servers, eth0 and eth1 are always the gigabit ports and eth2, 3, and 4 are the 10Gb ports. Anyone know what is going on?How can I make sure that Red Hat detects and assigns these ports correctly on boot, or at least can I reassign what ports are designated eth0-eth4?
View 6 Replies
View Related
Aug 9, 2009
After installing FC11 on my Mac Mini intel terminals, I noticed the network config GUI is completely broke, So I continued with a hand configuration.
Everything seems ok eth0 is up , it has the correct IP, DNS and default gateway, but browser quieries take forever to load.
E.g. if I type Google in the browser it takes about 20seconds before it loads the page.
To add insult to injury, I have a 16Mbit/s Down 2.5Mbit/s uplink. the other 10 or so rackservers on the network responds fast, so it is nothing to do with the network or connection. They all run FC7-9.
The problem is squarely with FC11 and must be some bug not reading or resolving DNS correctly.
Anyone have an idea how I can figure this out with FC-11.
It seems to be the worst FC distro.
I generally was happy with all FC6-9, but 11 really sucks (the ppc version wont even install on my ppc terminals)
That the Mighty Mouse Wireless, worlks out of the box is very nice though, but that is all.
View 14 Replies
View Related
Mar 31, 2010
When I installed Wicd, and ran it for the first time, I got an error something like: "Could not connect to Wicd's dbus session- check the Wicd log file for more info". However, later when I restarted my computer, Wicd started, but I can't connect to my network, it shows up as <hidden>, I can connect to linksys, so I know that wireless is working on that computer. I know that there's nothing wrong with my wireless router, because I can connect to my network in this computer.
View 3 Replies
View Related
Aug 8, 2009
I have a server that NFS exports the /home directory out to other computers. On the desktop they all work great, but on a wireless laptop, this is where the problem occurs. The wireless enables after the person logs in, rendering the NFS export /home useless on the laptops.Is there anyway to have the wireless enable correctly on the boot so that NFS can mount properly at boot also?I'm using Fedora 11 (32bit) with a wireless router that has a security of WPA-PSK [TKIP] + WPA2-PSK [AES]. I could switch to some of the older versions if necessary to get this working.
View 5 Replies
View Related
Jan 20, 2010
For 6 months I have used this computer as a ediacenter/seedbox on a decent TV. It crapped out and we got a new one. Hooked it up, had super messed up resolution. Ran some command (really don't remember) that ran you through the setup configuration asking for keyboard layout etc.
Didn't work. Deleted xorg.cong, didn't work. Blank xorg.conf, didn't work. What happens is it shows the Ubuntu name and loading bar, loads, then at 100% it shows 2 of them in purple around the screen. Obviously X isn't loading correctly.
[code]...
View 1 Replies
View Related
Mar 17, 2010
I just installed ubuntu 9.10 (latest version + updates) on my computer. I am new to the linux OS.I have a 1366x768 resolution monitor with a maximum vertical frequency of 60 hz. This worked well on windows. As I've already read in the internet, this can rise problems on Ubuntu. The monitor is connected through a switchbox, so it doesn't get recognised. Even if it's hooked up directly (Ubuntu recognises it) I can't choose the correct resolution.
Currently I can't use another graphics driver than the generic one. The screen stays black ("wrong vertical frequency" displayed on LCD Monitor) if I use another driver. I'd like to use the proprietary ATI/AMD fglrx driver. I edited the xorg.conf file, but I was unable to get the right resolution. It seems to be outdated on Ubuntu 9.10. After that fail, I searched for alternatives and ended up with a file called
45custom_xrandr-settings
in the "Xsession.d" folder. I'm using the following contents:
Code:
xrandr --newmode "1366x768_60.00" 85.86 1368 1440 1584 1800 768 769 772 795 -HSync +Vsync
xrandr --addmode VGA-0 "1366x768_60.00"
xrandr --output VGA-0 --mode 1366x768_60.00
But the monitor still complains that it's the wrong vertical frequency when I use the fglrx driver. The generic driver uses another resolution than the specified one (as always) and gives me a blurry picture on the screen. I have also tried other modelines, Ubuntu just doesn't seem to be able to display 1366x768@60hz.
View 8 Replies
View Related
Sep 28, 2010
I cannot get PAE to work on lucid. I have 4 GiB of RAM installed, but System Monitor says "Memory: 3.3 GiB".
Code:
$ uname -a
Linux hal 2.6.32-25-generic-pae #44-Ubuntu SMP Fri Sep 17 21:57:48 UTC 2010 i686 GNU/Linux
[code]...
View 9 Replies
View Related
Mar 10, 2011
I am having this strange issue in 10.04. Some USB items work fine while others are not being seen or loading at all. I am using a 24 port powered usb hub. Items that work are:
keyboard
mouse
2nd gen iPod Shuffle
Sony MP3 player
Amazon Kindle 3
do not work:
iPod Classic
B&N Nook
I do not get it, what is going on?
View 6 Replies
View Related
Apr 5, 2011
I wanted to get 10.10. I download it and install it and it tells me to restart like normal. But, when i restart, and select the ubuntu option, it gives me a countdown that says "Completing Ubuntu installation". Then, nothing happens... just a blinking white line.
View 1 Replies
View Related
Jun 7, 2011
I have been using Ubuntu for about a month now. I have the latest version, 11.04. Today, I was watching and downloading movies on Miro and while I was watching, the screen froze and I couldn't get it back to normal. I manually shut down the computer and when I turned it back on it brought me to a page that reads code...
I do not know what to do from here or what the problem is, I was thinking maybe one of the movies I downloaded caused the problem because it happened right when I was downloading. Any help is appreciated, I really want to have my computer working again.
View 6 Replies
View Related
Jan 16, 2010
i can't navigate through the tabs in firefox with my mouse, i cant use the address bar to navigate anywhere by key or click, my google search toolbar is acting the same way. i just updated everything after putting in the flashplugin-installer code.. i'm clueless since i know zilch about this system and im still stumbling through baby steps.
View 1 Replies
View Related
Feb 3, 2010
Being tired of my FAT32 partitions on my 80GB Classic, I had it reformatted on a Macintosh to HFS+ (Mac-formatted) at the Apple Store. As per the abundance of threads online, I also had them disable journaling through the Mac's Disk Utility and it appeared it was ready for Ubuntu. I added the UUID to fstab to allow write privileges. Due to the issues I heard with getting it to mount in Banshee on 64-bit Karmic Koala, I used the killall -9 nautilus command and successfully got Banshee to read and mount the iPod. After syncing my iPod, I verified that the content successfully transferred as the disk was now showing a large portion of the drive in use (presumably from the new media). After disconnecting my iPod, from both Banshee and from Nautilus, the iPod presumably safely unmounts and disconnects giving me the okay to unplug it. Whether I unplug it or not, after the OK to Disconnect progress bar completes, the iPod freezes (showing the silver Apple logo). After a while, it seems to turn itself back on, but doesn't show any media on the device. In fact, when I select 'About', it shows 0GB used and 0GB free (strange!).
I've been to the Apple Store about three times to have them reformat it and start over as I keep thinking I'm doing something wrong along the way. The data seems to be ON the iPod as I can play it back through Banshee (and on GTKpod), but the iPod menu itself doesn't seem to recognize anything and I can't access the music through the iPod. I think the iPod database may be corrupted, but I don't understand why this is not corrected with a full restore and why I seem to be able to access the music through Ubuntu.
(P.s. I do NOT want to have to go back to a Windows-formatted, FAT32, iPod.)
(P.p.s. I changed the permissions to my user rather than the 99 or something it was before. Also, whenever I load the iPod in Banshee, it shows all the songs on the iPod.)
View 1 Replies
View Related
Mar 1, 2010
I'm having trouble setting up dual monitors on my HP Pavilion dv7-1020us laptop, with an Nvidia 9600M GT graphics card, and Ubuntu 9.10. I installed Ubuntu via Wubi, on top of Windows 7. I tried this before on the same laptop when I was using Vista and Wubi, and Ubuntu was able to recognize my Graphics card, and install a proprietary driver. I wasn't able to test dual monitors, though. However, now that I'm using W7 and Ubuntu, it cannot use a dual-monitors correctly. It recognizes the monitor, but it only displays a mirror display of my Laptop monitor, not acting as a separate monitor, like I want it to. I tried messing around with the settings in the display menu, but nothing works. I tried downloading linux drivers for my card from Nvidia's site, but the file is in a .run extension, which I don't know how to install. What should I do to get this working?
View 7 Replies
View Related
Mar 8, 2010
Can anyone run me through the process to install lftp correctly with all the correct support for SSL and SSH connections?
I am using the newest version of Ubuntu.
View 4 Replies
View Related
Mar 12, 2010
I finally bought a second hard drive to back up all my files since I'm planning on wiping my hard drive completely clean and reinstalling Windows and Ubuntu once Lucid comes out. I'm just wondering, how common is it for files to become corrupt when transferring from one hard drive to another? I ask this because I usually have trouble when transferring (usually large files) onto my flash drive. I know that actual hard drives are different but I just want to make sure. Also, is there a way I can confirm that everything transferred correctly? Most of my files are music so it would be a pain to check every single one to see if it works.
View 6 Replies
View Related