LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-20-2020, 08:59 PM   #16
des_a
Senior Member
 
Registered: Sep 2006
Posts: 1,421

Original Poster
Blog Entries: 43

Rep: Reputation: 36

Network works, as expected. VNC viewer from vmamdrivalinux apparently not installed or working.
 
Old 02-20-2020, 09:01 PM   #17
des_a
Senior Member
 
Registered: Sep 2006
Posts: 1,421

Original Poster
Blog Entries: 43

Rep: Reputation: 36
My guess is same now. Windows 10 bug or something preventing these versions of Linux vnc from working. That is my best guess so far.
 
Old 02-20-2020, 09:54 PM   #18
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,730

Rep: Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920
I have played with x11vnc between linux computers and use RDP to connect to Windows 10 versus tightvnc. Have you tried changing ports?

192.168.0.3:x where x as follows
0 = 5900
1 = 5901
2 = 5902
 
Old 02-24-2020, 05:39 PM   #19
des_a
Senior Member
 
Registered: Sep 2006
Posts: 1,421

Original Poster
Blog Entries: 43

Rep: Reputation: 36
Origionally it failed to load from port 5900 or port 5901, as follows above. I am aware of that trick. Then, suddenly it started to work from port 1, so something changed. Unfortunately, we had a city wide brown out lasting for a second. But that was long enough to turn off both machines and every virtual machine. Now I got them all rebooted. It fails on both vmandrakelinux and vsuselinux on both ports 0 and 1.

I need them to either be on port 0, or 1, if it's on another it will not work for my setup properly. I have no idea what the differences were.
 
Old 02-24-2020, 09:48 PM   #20
des_a
Senior Member
 
Registered: Sep 2006
Posts: 1,421

Original Poster
Blog Entries: 43

Rep: Reputation: 36
P.S. - Since I haven't always used Linux, sometimes I just need to pick a distribution and learn about it. Even if I use it longer than supported. Just so I can gain some real expertise that I can apply back to Linux in general and future versions of that distro.
 
Old 02-24-2020, 10:12 PM   #21
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,730

Rep: Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920
With your virtual machines being a tad old the options may be different from current versions. A bit kludgy but vncserver --list would display your users vnc sessions which you could probe via ssh. You might be able to get the same info from running processes but would a bit complicated parsing that information.

With old distributions I would expect some sort of vncserver configuration script that includes username/port number. I assume vnc starts automatically upon boot. If neither port works that corresponds to your usernames then not sure what isn't working at the moment.
 
Old 02-24-2020, 10:49 PM   #22
des_a
Senior Member
 
Registered: Sep 2006
Posts: 1,421

Original Poster
Blog Entries: 43

Rep: Reputation: 36
On both of these machines, vnc is started from boot. On vmandrakelinux it's a separate service. On vsuselinux I tweaked the startup files to add an equivalent of Windows autoexec.bat. Then I started vnc from there. On both it chooses ports automatically. The files I have been tweaking are when it's started on the wrong port. If they are tweaked it will reset them to port 0 if you do it right. Obviously that's not what is wrong now like usual. Do you know more about how they work under the hood? Are there any other configurations that might be corrupted? Meanwhile, I'll reset from the images again. Then I'll retry the ports. I might be able to do that tomorrow, but if not it'll need to wait til Wednesday if I can't do it remotely.
 
Old 02-24-2020, 10:52 PM   #23
des_a
Senior Member
 
Registered: Sep 2006
Posts: 1,421

Original Poster
Blog Entries: 43

Rep: Reputation: 36
If I don't make progress soon I'll depreciate these servers. That would mean they are too old to run on my new windows and the new virtualbox. It was last working straight from the image on the old version of Windows 10. When it upgraded that's when it broke.
 
Old 02-25-2020, 01:35 AM   #24
des_a
Senior Member
 
Registered: Sep 2006
Posts: 1,421

Original Poster
Blog Entries: 43

Rep: Reputation: 36
Well, I was just able to remotely restore the images. This time, on both machines, it made the vncserver work on port 1, which is okay for me. They work and now I'm happy. But I have no idea why they quit working and persisted over image installs.
 
  


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
vnc server launched via ssh = gray screen. Local terminal vnc = ok link626 Linux - Newbie 1 09-15-2015 02:57 PM
LXer: My Nerd Life: Too Loud, Too Funny, Too Smart, Too Fat LXer Syndicated Linux News 0 01-24-2014 05:21 AM
Two Web servers, Two MySqls in one Linux box Apache Centos rewards Linux - Newbie 12 02-20-2011 02:21 AM
VNC Over SSH | Linux laptop -> Linux SSH Server -> Windows VNC Server jakestaby Linux - Networking 3 01-28-2009 02:33 PM
Two domains, one IP address, two servers PowerMatt Linux - Software 2 10-19-2004 01:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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