Hi great one this server thing is great my problem is I can't logg in to MySQL. So I install apache2, phpmyadmin and mysql-server-5.0. the test for apache works, but when click on the phpmyadmin link, it wonts to know wheather to save the page or find the program - in windows this would mean php isn't configured correctly, is that the case here? I have removed the three packages completely, restarted and re-install, but it does the same - HELP
Hello, this might sound a bit dumb but I guess I entered my password wrong in the UltraVNC situation. After writing vncpasswd ~/.vnc/passwd it asked me to write the password, well I did. I typed it two times wrongly in a row (same way wrong). Anyways, now I try to enter vncpasswd ~/.vnc/passwd and typed it correctly but it won't work now, it still says Wrong Password when trying to connect from my main computer to my server. Do I need to make a different command to change it?
Originally Posted by Zeloz Hello, this might sound a bit dumb but I guess I entered my password wrong in the UltraVNC situation. After writing vncpasswd ~/.vnc/passwd it asked me to write the password, well I did. I typed it two times wrongly in a row (same way wrong). Anyways, now I try to enter vncpasswd ~/.vnc/passwd and typed it correctly but it won't work now, it still says Wrong Password when trying to connect from my main computer to my server. Do I need to make a different command to change it?
Now I've not actually bothered with VNC for my setup and I'm not 100% this would work but the first thing I'd try is:
sudo nano /home/[username].vnc/passwd
If you're lucky the password is held in plaintext so you'll be able to read what it is.
Replace all the contents of the file with the following. Make sure you replace "Name" and "Server Name" with the correct data from your XUbuntu installation!
Question: I am not clear on what "Name" and "Server Name" is on the XUbuntu install expamle? Would the "Name" be glider (what name do you want to use to log in) and "Server Name" be server (what is the name of this computer). Thanks in advance.
Brbice: How do I know my Server Name, I don't remember the name I putted to it when I installed XUbuntu. I'll try to scout around a bit. Reporting of my findings. :)
Chimaera: "cp: cannot stat `/home/zambo/.vnc/passwd': No such file or directory" still getting that message. I tried to reinstall the UltraVNC but it didn't work. :/
I followed the tut closely and had the same VNC issues as discussed on post 114,
Connection failed - Error reading Protocol Version
Possible causes:
- You've forgotten to select a DSMPlugin and the Server uses a DSMPlugin
- Viewer and Server are not compatible (they use different RFB protocoles)
- Bad connection
I tried the fixes Glider suggested in post 115 with no luck. So I headed off to the x11vnc faq page. Here I found the command "x11vnc -auth /home/tdusold/.Xauthority -display :0" and after entering this into the CL it gives me a message that I am running x11vnc without a password. This done I can now start the VNC viewer and if I put in myserverip:0 (as opposed to localhost:0) into the server connection box, I can connect with a working VNC. If I close the viewer window when finished I have to re-enter the "x11vnc -auth /home/tdusold/.Xauthority -display :0" command before I can connect with VNC viewer again.
The question then is, is this secure? If not I would sure be up for suggestions.
Originally Posted by brbice Replace all the contents of the file with the following. Make sure you replace "Name" and "Server Name" with the correct data from your XUbuntu installation!
Question: I am not clear on what "Name" and "Server Name" is on the XUbuntu install expamle? Would the "Name" be glider (what name do you want to use to log in) and "Server Name" be server (what is the name of this computer).
You mean
Quote:
workgroup = "Name"
netbios name = "Server name"
workgroup = the name of the workgroup you have at home. Windows uses workgroups. This actually doesn't matter that much, because you don't have to be part of a workgroup to access it's shares.
netbios name = the name which the servers should be known by on other Windows PC's. I allways take the 'hostname' I set up during install
Originally Posted by TcZero I followed the tut closely and had the same VNC issues as discussed on post 114,
Connection failed - Error reading Protocol Version
Possible causes:
- You've forgotten to select a DSMPlugin and the Server uses a DSMPlugin
- Viewer and Server are not compatible (they use different RFB protocoles)
- Bad connection
I tried the fixes Glider suggested in post 115 with no luck. So I headed off to the x11vnc faq page. Here I found the command "x11vnc -auth /home/tdusold/.Xauthority -display :0" and after entering this into the CL it gives me a message that I am running x11vnc without a password. This done I can now start the VNC viewer and if I put in myserverip:0 (as opposed to localhost:0) into the server connection box, I can connect with a working VNC. If I close the viewer window when finished I have to re-enter the "x11vnc -auth /home/tdusold/.Xauthority -display :0" command before I can connect with VNC viewer again.
The question then is, is this secure? If not I would sure be up for suggestions.
This starts the server for user tdusold, is that your user or did you just copy paste the command?
Also, on my example I made an SSH tunnel and ran the connection through it. TBH, that's the only way I thrust VNC (as VNC is quite insecure). That's why I connected to localhost instead of the serverIP. Try creating a tunnel first. I think it will solve your issues and make the connection a lot more secure.
Brbice: How do I know my Server Name, I don't remember the name I putted to it when I installed XUbuntu. I'll try to scout around a bit. Reporting of my findings. :)
Chimaera: "cp: cannot stat `/home/zambo/.vnc/passwd': No such file or directory" still getting that message. I tried to reinstall the UltraVNC but it didn't work. :/
EDIT: Got it working when I enter the ip address of the machine, but not when I put localhost:0 .
lets say you set the servername to dataserver
if you go into windows and type \\dataserver
it will come up with the network share, put whatever you want into that
Hi great work here. I got suck on setup of torrentfluz, first I couldn't get on the site, I then found another to download the package. That was easily solved. It's the damn sql folder you said to cd to. I just can't find it on my setup of Xubuntu. Please help! Where is SQL sitting? for that matter the executables for MySQL?
I had the same problem. I had everything working before then scrap the box. Put it back together again and it started doing this. I removed the vnc package completely along with the script from the tut. Then did it all over again. Before testing I restarted the box - I think thats required. I all works now.
Originally Posted by starkiller Hi great work here. I got suck on setup of torrentfluz, first I couldn't get on the site, I then found another to download the package. That was easily solved. It's the damn sql folder you said to cd to. I just can't find it on my setup of Xubuntu. Please help! Where is SQL sitting? for that matter the executables for MySQL?
Sorry folks just found were the folder sits - in the decompressed folder of torrentfluz - you know it's not that easy learning this stuff :(
I've followed the tutorial and gotten up the the stage where you use PuTTy to connect to your server. I always get the message 'connection refused'.
The VNC Viewer won't connect either.
Can anyone PLEASE help me?
Comments 176 to 201 of 584
Now I've not actually bothered with VNC for my setup and I'm not 100% this would work but the first thing I'd try is:
If you're lucky the password is held in plaintext so you'll be able to read what it is.
If not then I would probably delete it:
The first line makes a copy of the file (just in case of problems) and the second deletes the file. Then run the vncpasswd command again.
Chimaera, there don't seem to be such a file in my home folder. It says: "cp: cannot stat `/home/zambo.vnc/passwd': No such file or directory".
Question: I am not clear on what "Name" and "Server Name" is on the XUbuntu install expamle? Would the "Name" be glider (what name do you want to use to log in) and "Server Name" be server (what is the name of this computer). Thanks in advance.
brbice
Your username is zambo? Then the path should be: /home/zambo/.vnc/passwd (note the additional slash between 'zambo' and '.vnc'
Chimaera: "cp: cannot stat `/home/zambo/.vnc/passwd': No such file or directory" still getting that message. I tried to reinstall the UltraVNC but it didn't work. :/
E: Yes my username is zambo.
I followed the tut closely and had the same VNC issues as discussed on post 114,
Connection failed - Error reading Protocol Version
Possible causes:
- You've forgotten to select a DSMPlugin and the Server uses a DSMPlugin
- Viewer and Server are not compatible (they use different RFB protocoles)
- Bad connection
I tried the fixes Glider suggested in post 115 with no luck. So I headed off to the x11vnc faq page. Here I found the command "x11vnc -auth /home/tdusold/.Xauthority -display :0" and after entering this into the CL it gives me a message that I am running x11vnc without a password. This done I can now start the VNC viewer and if I put in myserverip:0 (as opposed to localhost:0) into the server connection box, I can connect with a working VNC. If I close the viewer window when finished I have to re-enter the "x11vnc -auth /home/tdusold/.Xauthority -display :0" command before I can connect with VNC viewer again.
The question then is, is this secure? If not I would sure be up for suggestions.
workgroup = the name of the workgroup you have at home. Windows uses workgroups. This actually doesn't matter that much, because you don't have to be part of a workgroup to access it's shares.
netbios name = the name which the servers should be known by on other Windows PC's. I allways take the 'hostname' I set up during install
http://www.bit-tech.net/content_images/2007/06/build_your_own_server/small-server07.jpg (marked in blue)
Also, on my example I made an SSH tunnel and ran the connection through it. TBH, that's the only way I thrust VNC (as VNC is quite insecure). That's why I connected to localhost instead of the serverIP. Try creating a tunnel first. I think it will solve your issues and make the connection a lot more secure.
Chimaera: "cp: cannot stat `/home/zambo/.vnc/passwd': No such file or directory" still getting that message. I tried to reinstall the UltraVNC but it didn't work. :/
EDIT: Got it working when I enter the ip address of the machine, but not when I put localhost:0 .
lets say you set the servername to dataserver
if you go into windows and type \\dataserver
it will come up with the network share, put whatever you want into that
Sorry folks just found were the folder sits - in the decompressed folder of torrentfluz - you know it's not that easy learning this stuff :(
I've followed the tutorial and gotten up the the stage where you use PuTTy to connect to your server. I always get the message 'connection refused'.
The VNC Viewer won't connect either.
Can anyone PLEASE help me?
Thanks,
Josh
Hang on ..
tcp 0 0 127.0.0.1:2207 0.0.0.0:* LISTEN 4
301/python
tcp6 0 0 :::21 :::* LISTEN 4
690/proftpd: (acce
tcp6 0 0 :::22 :::* LISTEN 4
641/sshd
udp 0 0 0.0.0.0:1024 0.0.0.0:* 4
180/avahi-daemon:
udp 0 0 10.1.1.2:137 0.0.0.0:* 4
589/nmbd
udp 0 0 0.0.0.0:137 0.0.0.0:* 4
589/nmbd
udp 0 0 10.1.1.2:138 0.0.0.0:* 4
589/nmbd
udp 0 0 0.0.0.0:138 0.0.0.0:* 4
589/nmbd
udp 0 0 0.0.0.0:68 0.0.0.0:* 3
542/dhclient3
udp 0 0 0.0.0.0:68 0.0.0.0:* 4
825/dhclient3
udp 0 0 0.0.0.0:5353 0.0.0.0:* 4
180/avahi-daemon:
That's all i got, hope it helps :|
If that works, do
Also, have you installed SSH and X11vnc?
And yes i have installed both.
This reinstalls the SSH server. Could be a bad install or download.