[mythtv-users] vnc on headless backend

Michael Lemstad Maymann michael at maymann.org
Sun Dec 6 09:45:41 UTC 2009


On Sun, 2009-12-06 at 01:23 -0800, Peter Loron wrote:
> On Dec 6, 2009, at 12:43 AM, Michael Lemstad Maymann wrote:
> 
> > On Sat, 2009-12-05 at 21:42 -0500, Kevin J. Cummings wrote:
> >> On 12/05/2009 09:32 PM, Michael Lemstad Maymann wrote:
> >>> Hi,
> >>> 
> >>> I have a headless 9.10 backend that I would like to connect to with
> >>> vncviewer to primarily run mythtv-setup once in a while.
> >>> When I disconnect my monitor it fails with:
> >>> Fatal server error:
> >>> no screens found
> >>> 
> >>> Have anyone done this or know how I could do it ?
> >> 
> >> VNC allows you access to the X session you have running.  When you
> >> disconnect your monitor, X doesn't come up running.
> >> 
> >> Instead, look at vnc-server.  You can setup virtual X sessions (without
> >> any real monitor session) that can be connected to via VNC from other
> >> machines.  Perhaps this is what you want?
> > Hi Kevin,
> > Thanks for your quick reply :-)
> > This is exactly what I want !
> > Any example/howto ?
> >> 
> >>> Thanks in advance
> >>> ~maymann
> >> 
> > 
> 
> sudo apt-get install tightvncserver
> 
> Then, when on the remote machine:
> 
> vncserver -geometry 1024x768 -depth 24
> 
> Use a VNC client on your other machine to connect to the backend, default port 5901.
> 
> -Pete
Hi Pete,

thanks !

I can't connect - from client:
vncviewer: ConnectToTcpAddr: connect: Connection refused
Unable to connect to VNC server

from server log:
06/12/09 10:38:27 Xvnc version TightVNC-1.3.9
06/12/09 10:38:27 Copyright (C) 2000-2007 TightVNC Group
06/12/09 10:38:27 Copyright (C) 1999 AT&T Laboratories Cambridge
06/12/09 10:38:27 All Rights Reserved.
06/12/09 10:38:27 See http://www.tightvnc.com/ for information on
TightVNC
06/12/09 10:38:27 Desktop name 'X' (tv:1)
06/12/09 10:38:27 Protocol versions supported: 3.3, 3.7, 3.8, 3.7t, 3.8t
06/12/09 10:38:27 Listening for VNC connections on TCP port 5901
xrdb: No such file or directory
xrdb: can't open file '/home/maymann/.Xresources'

ps -ef | grep vnc
maymann   3153     1  0 10:38 pts/0    00:00:00 Xtightvnc :1 -desktop X
-auth /home/maymann/.Xauthority -geometry 1024x768 -depth 24 -rfbwait
120000 -rfbauth /home/maymann/.vnc/passwd -rfbport 5901
-fp /usr/share/fonts/X11/misc/,/usr/share/fonts/X11/Type1/,/usr/share/fonts/X11/75dpi/,/usr/share/fonts/X11/100dpi/ -co /etc/X11/rgb
maymann   3157     1  0 10:38 pts/0
00:00:00 /bin/sh /home/maymann/.vnc/xstartup
maymann   3401  3338  0 10:45 pts/0    00:00:00 grep --color=auto vnc

> 
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users




More information about the mythtv-users mailing list