View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 12 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sun Nov 09, 2014 1:48 pm 
Offline
Joined: Wed Jan 04, 2006 10:20 am
Posts: 387
Location: South New Jersey, USA
Just finished upgrading from 7.4 to 8.2. Got the database and recordings and all working. Now to get VNC going. I selected it from the LINHES menu and put in a 6 digit password. I also created the x11vnc.cfg file as described on the settings page. All appeared to go through but after a reboot, no VNC. I tried running x11vnc from the command line and after that I was able to connect fine.

Next, I ran mythvantage -s vnc from the command line. After unchecking and rechecking the option for XVNC and the password, I got several permission denied errors. I tried again as su and that seemed to go through but once again no VNC after a reboot.

I found the following in the /home/vncsvc/.vnc/envy:1.log file

Code:
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":1"
      after 110 requests (110 known processed) with 0 events remaining.
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":1"
      after 165 requests (165 known processed) with 0 events remaining.



Any ideas?

_________________
LINHES 8.6.1 BE/FE - MSI K9N6SGM-V with AMD A64 X2 4600+, 4GB Ram. 1.5TB WD. HDHR Prime. Nvidia GT210. MCE remote.
FrontEnd - Dell Vostro 400 3.0GHz Core2Duo NVidia GeForce210. MCE Remote


Top
 Profile  
 
PostPosted: Fri Nov 28, 2014 10:14 am 
Offline
Joined: Wed Jan 04, 2006 10:20 am
Posts: 387
Location: South New Jersey, USA
Still need some help with this issue. My box is in the basement with the TV upstairs so when I need to type commands, I am doing it blindly.
After startup I can not connect to the VNC server. I have selected the VNC option on the LINHES service screen and added a 6 digit password but when I try to connect, I get a connection refused error.

If I use a command line and type x11vnc, the server starts up and I can connect remotely without a password but only 1 time. Trying to connect a second time gives me the connection refused error.

There is a log file in /var/log/ and also in /home/vncsvc/.vnc/ which are identical but all they say is

Code:
New 'envy:1 (vncsvc)' desktop is envy:1

Starting applications specified in /home/vncsvc/.vnc/xstartup
Log file is /home/vncsvc/.vnc/envy:1.log


Any help would be greatly appreciated.

_________________
LINHES 8.6.1 BE/FE - MSI K9N6SGM-V with AMD A64 X2 4600+, 4GB Ram. 1.5TB WD. HDHR Prime. Nvidia GT210. MCE remote.
FrontEnd - Dell Vostro 400 3.0GHz Core2Duo NVidia GeForce210. MCE Remote


Top
 Profile  
 
PostPosted: Fri Nov 28, 2014 11:35 am 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
Is your goal to control the same screen the TV sees? If so, you're trying to run on :1 which is a virtual screen. :0 is the the physical one. Not sure what LH provides for this but you can use x11vnc on your own to control :0 with a script. See the vnc page on the Arch wiki for some ideas.

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
PostPosted: Fri Nov 28, 2014 5:36 pm 
Offline
Joined: Wed Jan 04, 2006 10:20 am
Posts: 387
Location: South New Jersey, USA
I would not mind either the physical screen or a virtual one. I just want to be able to get to command lines and such. Given the choice I guess I would prefer the physical one so I can make changes to myth setup.
In any case, I cant even find where the vnc server is being started from. Is there a startup script that contains the vnc command?

_________________
LINHES 8.6.1 BE/FE - MSI K9N6SGM-V with AMD A64 X2 4600+, 4GB Ram. 1.5TB WD. HDHR Prime. Nvidia GT210. MCE remote.
FrontEnd - Dell Vostro 400 3.0GHz Core2Duo NVidia GeForce210. MCE Remote


Top
 Profile  
 
PostPosted: Fri Nov 28, 2014 6:58 pm 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
Big boy stan wrote:
I would not mind either the physical screen or a virtual one. I just want to be able to get to command lines and such. Given the choice I guess I would prefer the physical one so I can make changes to myth setup.
In any case, I cant even find where the vnc server is being started from. Is there a startup script that contains the vnc command?


Back in the day, it was in ~/.config/autostart as I recall. No idea where it is triggered under R8... what "command lines" can you do in vnc that you can't do in ssh???

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
PostPosted: Sat Nov 29, 2014 8:10 am 
Offline
Joined: Wed Jan 04, 2006 10:20 am
Posts: 387
Location: South New Jersey, USA
I have never tried ssh.I always used vnc as my understanding of ssh is you can't do anything within the myth app like adjust storage group paths (in myth setup). Is that true?

_________________
LINHES 8.6.1 BE/FE - MSI K9N6SGM-V with AMD A64 X2 4600+, 4GB Ram. 1.5TB WD. HDHR Prime. Nvidia GT210. MCE remote.
FrontEnd - Dell Vostro 400 3.0GHz Core2Duo NVidia GeForce210. MCE Remote


Top
 Profile  
 
PostPosted: Sat Nov 29, 2014 8:22 am 
Offline
Joined: Fri Jul 21, 2006 11:12 pm
Posts: 1194
Location: SC
x11vnc when configured by the service menu is on :2 (port 5902). Double check with: ps aux | grep vnc

Also, you shouldn't need the /etc/x11vnc.cfg in R8 unless you have some specific options.


Top
 Profile  
 
PostPosted: Sat Nov 29, 2014 10:27 am 
Offline
Joined: Wed Jan 04, 2006 10:20 am
Posts: 387
Location: South New Jersey, USA
Aux show:
Code:
[mythtv@envy ~]$ ps aux | grep vnc
mythtv    2279  0.0  0.8  83884 13268 ?        S    11:17   0:00 x11vnc -forever -rfbport 5902 --passwd qwerty


In the past I added an option to scale the screen to 3/4 and that is what is in my x11vnc.cfg file. Even without the .cfg, I cant get a connection after a reboot.

With regards to the the :2 screen, does that mean I wont be able to see the mythtv frontend menus or setup menus? I really find that a useful way to enter file paths, online streams searches, etc.

_________________
LINHES 8.6.1 BE/FE - MSI K9N6SGM-V with AMD A64 X2 4600+, 4GB Ram. 1.5TB WD. HDHR Prime. Nvidia GT210. MCE remote.
FrontEnd - Dell Vostro 400 3.0GHz Core2Duo NVidia GeForce210. MCE Remote


Top
 Profile  
 
PostPosted: Sat Nov 29, 2014 12:16 pm 
Offline
Joined: Fri Jul 21, 2006 11:12 pm
Posts: 1194
Location: SC
It is up and running. Are you sure you are trying to connect to envy:5902 from your vnc client?

Yes you can see your exact desktop with x11vnc on port 5902. 5901 is the default port and we use that for admin. It doesn't mirror the mythtv enviroment and if it is running you see it is even running a different window manager.


Top
 Profile  
 
PostPosted: Sat Nov 29, 2014 1:31 pm 
Offline
Joined: Wed Jan 04, 2006 10:20 am
Posts: 387
Location: South New Jersey, USA
You are absolutely correct. I took a look at the RealVNC website and their default port is 5900. Adding ":5902" to the address connected perfectly. It is pretty clearly marked on the LINHES Wiki so shame on me.

Thanks for all your help and all you do for the Linhes.

_________________
LINHES 8.6.1 BE/FE - MSI K9N6SGM-V with AMD A64 X2 4600+, 4GB Ram. 1.5TB WD. HDHR Prime. Nvidia GT210. MCE remote.
FrontEnd - Dell Vostro 400 3.0GHz Core2Duo NVidia GeForce210. MCE Remote


Top
 Profile  
 
PostPosted: Sat Nov 29, 2014 2:40 pm 
Offline
Joined: Fri Jul 21, 2006 11:12 pm
Posts: 1194
Location: SC
Big boy stan wrote:
You are absolutely correct. I took a look at the RealVNC website and their default port is 5900. Adding ":5902" to the address connected perfectly. It is pretty clearly marked on the LINHES Wiki so shame on me.
In your defense, I just updated the wiki with the R8 info. It is now basically the same info that is in the help text in the Service Menu Screen Sharing settings.


Top
 Profile  
 
PostPosted: Sat Nov 29, 2014 2:55 pm 
Offline
Joined: Tue Aug 15, 2006 11:14 am
Posts: 1343
Location: Orlando FL
I had the same problem with MochaVNC on my Surface, the default port wasn't the same as LinHES machine.

_________________
My System


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu