LinHES Forums http://forums.linhes.org/ |
|
VNC won't start on new 5.5 install http://forums.linhes.org/viewtopic.php?f=1&t=18683 |
Page 1 of 1 |
Author: | Dthom [ Sat Aug 02, 2008 4:10 pm ] |
Post subject: | VNC won't start on new 5.5 install |
I'm really not sure what's going on with fluxbox. Here is my apps file: [startup] {xset -dpms s off} #[startup] {xscreensaver} [startup] {gnome-volume-manager} [startup] {xvattr -a XV_COLORKEY -v 0} [startup] {/usr/bin/x11vnc -nap -wait 50 -passwd mythtv -display :0 -forever -o /var/log/x11vnc.log -bg} [startup] {KnoppMyth-run} #Uncomment the below if you want to use a Wiimote #[startup] {$HOME/wmd/mythtv_wiimote.sh} [startup] {launch_irx.sh} #Uncomment the below if you want to use VNC [startup] {/usr/bin/x11vnc -nap -wait 50 -passwd mythtv -display :0 -forever -o /var/log/x11vnc.log -bg} [app] (SDL_App) [Layer] {2} [Deco] {NONE} [end] I don't see any evidence that vnc is being run (log is not created). I enabled the log for Fluxbox and it just shows a bunch of variables that it can't read. How can I debug this? |
Author: | graysky [ Sun Aug 03, 2008 4:42 am ] |
Post subject: | |
Might try commenting out the 2nd occurrence of the vnc line... I dunno if launching it twice is detrimental or not. Here is my .fluxbox/apps for reference: Code: [startup] {xscreensaver}
[startup] {xset -dpms s off} [startup] {gnome-volume-manager} [startup] {/usr/bin/x11vnc -nap -wait 50 -passwd mythtv -display :0 -forever -o /var/log/x11vnc.log -bg} [startup] {xvattr -a XV_COLORKEY -v 0} # start delay mythwelcome for 5 sec for xscreensaver to initialize [startup] {/usr/bin/delay_mythwelcome.sh} [app] (SDL_App) [Layer] {2} [Deco] {NONE} [end] |
Author: | graysky [ Mon Aug 11, 2008 3:55 pm ] |
Post subject: | |
Did you ever get it to work? This JUST NOW started happening to my box! It's maddening! No VNC and no log gets written. I can't see x11vnc running if I do a Code: # ps aux | grep x11vnc
Ideas anyone? |
Author: | slowtolearn [ Mon Aug 11, 2008 4:20 pm ] |
Post subject: | |
What does your /home/mythtv/.fluxbox/apps file contain? Did you change the password for your mythtv user? |
Author: | graysky [ Mon Aug 11, 2008 4:37 pm ] |
Post subject: | |
Contents of /home/mythtv/.fluxbox/apps: Code: [startup] {xset -dpms s off} [startup] {xscreensaver} [startup] {mythfrontend} [startup] {launch_irx.sh} [startup] {/usr/bin/x11vnc -nap -wait 50 -passwd mythtv -display :0 -forever -o /var/log/x11vnc.log -bg} [app] (SDL_App) [Layer] {2} [Deco] {NONE} [end] Is it possible that x11vnc or some file it depends upon is corrupt? Remember that it just doesn't run: Code: $ ps aux | grep vnc mythtv 4534 0.0 0.1 1776 548 ttyp0 S+ 18:41 Can I uninstall it and reinstall it? Is it safe to: Code: # apt-get remove x11vnc
Or is it a dpkg task? If I apt-get install it again, will it roach my system? Do I need to point /etc/source.list to the stable repository if I try this? |
Author: | slowtolearn [ Mon Aug 11, 2008 5:28 pm ] |
Post subject: | |
graysky wrote: Contents of /home/mythtv/.fluxbox/apps: Looks fine...Code: [startup] {xset -dpms s off} [startup] {xscreensaver} [startup] {mythfrontend} [startup] {launch_irx.sh} [startup] {/usr/bin/x11vnc -nap -wait 50 -passwd mythtv -display :0 -forever -o /var/log/x11vnc.log -bg} [app] (SDL_App) [Layer] {2} [Deco] {NONE} [end] graysky wrote: Is it possible that x11vnc or some file it depends upon is corrupt? Possible, yes. Have you installed anything recently (via apt-get or otherwise)?graysky wrote: Remember that it just doesn't run: What happens if you run the same command found in your apps file from a VC as the mythtv user? As root? Do any errors spew forth to give a clue? Is there anything in /var/log/x11vnc.log?
Code: $ ps aux | grep vnc mythtv 4534 0.0 0.1 1776 548 ttyp0 S+ 18:41 Can I uninstall it and reinstall it? Is it safe to: Code: # apt-get remove x11vnc Or is it a dpkg task? If I apt-get install it again, will it roach my system? Do I need to point /etc/source.list to the stable repository if I try this? |
Author: | graysky [ Mon Aug 11, 2008 5:33 pm ] |
Post subject: | |
@slow - nothing via apt-get recently. If I run the command as mythtv I get "permission denied." If I run it as root, nothing happens, I'm simply presented with a new # prompt. Anyone know a safe way to remove x11vnc? dpkg or apt? Then should I point /etc/sources.list to the stable to unstable repository when I replace it with apt? Thanks! |
Author: | slowtolearn [ Mon Aug 11, 2008 5:40 pm ] |
Post subject: | |
graysky wrote: @slow - nothing via apt-get recently. If I run the command as mythtv I get "permission denied." If I run it as root, nothing happens, I'm simply presented with a new # prompt. "Permission denied"? Only things I can think of off the top of my head:* Either you can't run x11vnc as mythtv (ls -l /usr/bin/x11vnc) or * startx was run as root, thereby not allowing you access to display :0 (run ps -ef | grep -i x) graysky wrote: Anyone know a safe way to remove x11vnc? dpkg or apt? Then should I point /etc/sources.list to the stable to unstable repository when I replace it with apt? I don't know that re-installing will help, depends on the culprit (and seems like using a sledge hammer to install a push-pin )
Thanks! EDIT: I take it from your earlier post that this was working at some point? /EDIT |
Author: | graysky [ Mon Aug 11, 2008 6:09 pm ] |
Post subject: | |
Yeah it was working last night.. |
Author: | slowtolearn [ Tue Aug 12, 2008 3:55 pm ] |
Post subject: | |
And the output of the commands I suggested? Any hints there? Another possibility would be the x11vnc.log file is not writable by the mythtv user (ls -l /var/log/x11vnc.log). If you do go the remove/reinstall route, be sure to use apt-get -s install before reinstalling. This will show you what will be installed/upgraded and give you a chance to back out before hosing your system... |
Author: | graysky [ Tue Aug 12, 2008 5:17 pm ] |
Post subject: | |
Thanks for the tips, man. I got fed up with it and just auto upgraded. Now all is well. Wish I understood what happened to break it. |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |