![]() |
downloads | documentation | HowTo | reporting bugs | links | Recent Changes |
What is a Wiki?See WikiWikiWeb If you don't know how to use a wiki see the WikiHowto ErfurtWiki is maintained by a loosely knit group of developers. Quick LinksRelated sitesContactPlease submit website bugs in the BugReports Contribute!Please file any wishes on UserSuggestions. Hosted By |
LinHES R6 (Not included with R6, must be installed via pacman) As root user, follow prompts pacman -Sy x11vnc nano /home/mythtv/.fluxbox/apps -- Add, Replacing XXXXX with desired password [startup] {/usr/bin/x11vnc -nap -wait 50 -noxdamage -passwd XXXXX -display :0 -forever -o /var/log/x11vnc.log -bg}
touch /var/log/x11vnc.log chmod 766 /var/log/x11vnc.log Restart X pkill xinit or Ctrl+Alt+Backspace http://mysettopbox.tv/phpBB2/viewtopic.php?t=20033 http://mysettopbox.tv/phpBB2/viewtopic.php?t=19595 http://mysettopbox.tv/phpBB2/viewtopic.php?t=19602 The following was tested on R5E50 & works in R5F1 and R5.5 VNC setup has already been taken care of. It may be automatically started when your machine boots. The code to cause its startup is in /home/mythtv/.fluxbox/apps There should be an entry that says: [startup] {/usr/bin/x11vnc -nap -wait 50 -passwd mythtv -display :0 -forever -o /var/log/x11vnc.log -bg}
If it begins with a '#' then it will be ignored, to enable it remove the #. If it isn't there at all, for some reason, it can be added by running the restore_fixups.sh script. After making a change calling pkill X11 will restart X and cause the new settings to be read. I would recommend changing the password to something other then mythtv, just change mythtv to the password of your choice located after the -passwd. Copied from this post mysettopbox.tv/phpBB2/viewtopic.php?t=13188 A viewer is needed to connect to the vnc server that is now running on your Knoppmyth box. This can be a program installed on the client machine or a java program running within the client machines web browser. built-in viewerx11vnc can optionally provide a java viewer embedded in a web page. This has the advantage of not needing to setup or install any software, other than a web browser with java support, on the client machine. To setup the viewer install vnc-java: sudo apt-get install vnc-java Add to the start up line -httpdir /usr/share/vnc-java making the line in apps [startup] {/usr/bin/x11vnc -httpdir /usr/share/vnc-java -nap -wait 50 -passwd mythtv -display :0 -forever -o /var/log/x11vnc.log -bg}
Restart X: pkill X11 The viewer will then be available on port 5800; e.g. if the ip address of the machine running knoppmyth was 1.1.1.1 then pointing a web browser at http://1.1.1.1:5800 would display the vnc client. separate viewerDownload a VNC viewer, such as: real vnc or tight vnc Install it, launch it, enter the IP address of your Knoppmyth box and port 5900 (if asked) and click CONNECT or whatever the appropriate button is. Enter the VNC password (default is mythtv) and BOOM! Your Knoppmyth desktop will appear in your VNC viewer window!!! COOL! Issue with Nvidia cards, MythTV and X11VncIt seems that on some machines using Nvidia cards, XVNC and opengl applications (such as MythTV) have issues: the screen stops updating via VNC. The server continues going on (the machine did not crash), but the VNC client does not receive updates anymore, forcing a disconnect/reconnect to get the next frame. The fix for this issue is adding "-noxdamage" to the X11VNC command line in the the apps file and reboot. After the modification, you'd get a line similar to this: /usr/bin/x11vnc -nap -wait 50 -noxdamage -passwd mythtv -display :0 -forever -o /var/log/x11vnc.log -bg For more details, see the official FAQ entry about it: http://www.karlrunge.com/x11vnc/#faq-xdamage-opengl On my build (R5F27, P3 866, Nvidia Gf4 MX 440) this fixed the issue: no more freezes afterwards! --Yop83 Installing and setting up X11VNC on an older KnoppMyth rev (<R5E50)So many times I wanted to use MythFrontend to do configuration but couldn't because the TV was in use. I was searching for a way to remotely call the GUI. x11vnc fills the bill nicely (see the note below for R5B7). (R5D1 works fine with just this first description) 1. apt-get install x11vnc 2. nano /etc/gdm/PreSession/Default Insert the following line after the PATH line where xxxx is the desired password: /usr/bin/x11vnc -nap -wait 50 -passwd xxxx -display :0 -forever -o /var/log/x11vnc.log -bg (Also, you can add -shared to let more than one person connect at a time) 'Alternate line:' Restart X-windows: (or just enter in a xterm for temporary access) 3. Install one of the following clients on the remote machine: 4. Open up the viewer on the remote machine and enter the ip or dns name of the mythbox 5. key in the password from the command line above. At this point you should show the display from your mythbox. Comment: Using Knoppmyth R4V5, logging in as root and adding the comment to /etc/gdm/PreSession/Default did not work for me. It came up with the error "connection to ":0.0" refused by server". I could not manual start x11vnc manually(as root), same error. I could start x11vnc logged in as "mythtv". Some kind of xaurthority issue that is beyond me. After manually starting x11vnc (as Mythtv log in) I could see the mythtv screen from my windows box using Tightvnc Viewer. Thanks for the instructions. I too had problems with these directions. It has to do with the X11 startx script and <em class="highlight marker searchword-0">xauth</em>- it adds permissions for the locally logged in user to open connections to the X server, starts X and all the related processes (among these, mythfrontend) and then REMOVES the <em class="highlight marker searchword-0">xauth</em>- effectively denying the ability for any additional X connections. Workarounds for this:One method: Comment these lines at the end of the /usr/X11R6/bin/startx file:
if [ x"$removelist" != x ]; then
<em class="highlight marker searchword-0">xauth</em> remove $removelist
fi
Which prevents it from deleting the authority to open additional X windows.
Another method: Instead of commenting out the lines near the end of /usr/X11R6/bin/startx, you can add "-auth /var/lib/gdm/:0.<em class="highlight marker searchword-0">Xauth</em>" to the line in /etc/gdm/PreSession/Default so it will look like the following:
/usr/bin/x11vnc -nap -wait 50 -passwd xxxx -display :0 -forever -o /var/log/x11vnc.log -bg -auth /var/lib/gdm/:0.<em class="highlight marker searchword-0">Xauth</em> === This worked perfectly for me before I upgraded to Knopmyth 5A12.Now I have to
=== Question I want to access my mythbox remotely, which port does x11vnc listen on so I can forward it and were can I change the default? Oops, RTFM
TCP port for RFB protocol. The RFB protocol is used for commnunication between VNC server and clients. === === Question Is there a way to view the X-session that the local user is currently viewing with VNC. For example, if my wife is having issues with the computer, can I login from work to see the X-session she is viewing on the local computer? === Answer Absolutely, in fact, the whole page is the answer to your exact question! If you want another discrete desktop session, you have to use vncserver. # apt-get install vncserver # vncserver You will require a password to access your desktops. Password: Verify: It will launch another X session with VNC attached. == You can also add "/usr/bin/x11vnc &" /etc/gdm/Init/Default at the end, this always seems to work well, you can add your own arguments == For R5B7, the default apt configuration will install the unstable version of x11vnc, which requires updates of xserver-xorg. These updates broke the X configuration on my machine. A simple workaround is to install the stable version of x11vnc: 1. nano /etc/apt/sources.list change "unstable" on the first line to "stable", save the file 2. apt-get update 3. apt-get install x11vnc 4. return apt configuration to its previous state: nano /etc/apt/sources.list change "stable" on the first line back to "unstable", save the file apt-get update == For R5C7 you need to get & install vnc manually since /etc/apt/sources.list doesn't currently point to a vnc package: wget http://debian.oregonstate.edu/debian/pool/main/libv/libvncserver/x11vnc_0.7-1_i386.deb dpkg -i x11vnc_0.7-1_i386.deb Then follow the configuration steps above. ==
EditThisPage BackLinks PageInfo Pages like this Attachments RSS/Atom last changed on Tue Aug 17 08:20:17 2010 |
UpdatedPages· HowTo last changed on Thu Sep 2 01:33:37 2010· LinuxTips last changed on Wed Sep 1 08:31:37 2010 · RepairingMythConvergDB last changed on Wed Sep 1 01:56:32 2010 · KnoppMythWiki last changed on Sun Aug 29 14:22:57 2010 · Links last changed on Sat Aug 28 14:11:13 2010 · R5A12DvdRipping last changed on Fri Aug 27 22:24:09 2010 · KnoppMythInstall last changed on Thu Aug 26 02:30:11 2010 · HVR950HowTo last changed on Mon Aug 23 11:00:20 2010 · TinnyAudioPVR150 last changed on Mon Aug 23 01:14:01 2010 · MythVodkaHowTo last changed on Mon Aug 23 00:48:53 2010 · x11vncHowTo last changed on Tue Aug 17 08:20:17 2010 · PickingComponents last changed on Tue Aug 17 08:19:41 2010 · MediaMVP_LinuxHOWTO last changed on Tue Aug 17 08:17:10 2010 · webminhowto last changed on Tue Aug 17 08:11:10 2010 · MythTVBurn_Scripts_HowTo last changed on Mon Aug 16 15:44:19 2010 · TVOverScanHowto last changed on Wed Aug 4 04:12:50 2010 · EditThisPage last changed on Wed Aug 4 04:10:39 2010 · R5.5/R6.x Differences Table and Equivalent Commands last changed on Wed Aug 4 00:27:20 2010 · TroubleShooting last changed on Tue Aug 3 20:00:33 2010 · Media_Center_Edition_Remote_Control last changed on Tue Aug 3 08:19:13 2010 · kworld115HowTo last changed on Tue Aug 3 08:12:26 2010 · WhatRemoteYouUse last changed on Sun Aug 1 11:51:11 2010 · WhatCardYouUse last changed on Sun Aug 1 11:50:25 2010 · HardwareAcceleratedVideo last changed on Tue Jul 27 09:15:10 2010 · DisklessFrontend last changed on Tue Jul 27 09:13:29 2010 · CompileMythTVFromSVN last changed on Tue Jul 27 07:39:28 2010 |
| sitemap | | |