[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: guidance for making a .Xresources file.



On Wed, Feb 09, 2011 at 12:03:04PM EST, peasthope@shaw.ca wrote:

> Appears that I need to make a .Xresources file before 
> TightVNC will work.  Can anyone recommend instructions 
> or examples for the task?  The transcript from the 
> TightVNC follows.
> 
> Thanks,              ... Peter E.
> 
> peter@dalton:~$ tightvncserver :1 -geometry 620x730 -depth 16
> 
> New 'X' desktop is dalton:1
> 
> Starting applications specified in /home/peter/.vnc/xstartup
> Log file is /home/peter/.vnc/dalton:1.log
> 
> peter@dalton:~$ cat .vnc/dalton:1.log
> 09/02/11 08:45:59 Xvnc version TightVNC-1.3.9
> 09/02/11 08:45:59 Copyright (C) 2000-2007 TightVNC Group
> 09/02/11 08:45:59 Copyright (C) 1999 AT&T Laboratories Cambridge
> 09/02/11 08:45:59 All Rights Reserved.
> 09/02/11 08:45:59 See http://www.tightvnc.com/ for information on TightVNC
> 09/02/11 08:45:59 Desktop name 'X' (dalton:1)
> 09/02/11 08:45:59 Protocol versions supported: 3.3, 3.7, 3.8, 3.7t, 3.8t
> 09/02/11 08:45:59 Listening for VNC connections on TCP port 5901
> xrdb: No such file or directory
> xrdb: can't open file '/home/peter/.Xresources'
> peter@dalton:~$

That's odd.. the vnc4server script on ‘lenny’ from the vnc4server
package tests the existence of the file:

  [ -r ~/.Xresources ] && xrdb -merge ...

Maybe you could get away with defining an empty ~/.Xresources file:

$ touch ~/.Xresources

cj


Reply to: