Prev: Connecting the droid to a Debian workstation
Next: crash and data loss on supermicro xdwn7+/xeon5420/adaptec 52445/lvm/ext4
From: Camaleón on 1 Jun 2010 07:30 On Mon, 31 May 2010 22:25:44 -0400, Mitchell Laks wrote: > I recently set up binary nvidia drivers on my machine and set up the > Xorg to use the twinhead setup. > > Now when I run the vnc4server to set up a vnc instance to log in to my > machine from another machine, the vnc4server does not start up. Can you see any output error coming from "vnc4server"? It should log to somewehere :-? > If I move the xorg.conf file that is set up for the binary drivers >(nvidia kernel etc), and replace it with a null file then vnc4server > starts up fine. It's weird that "vnc4server" cannot work with nvidia drivers. Maybe just conflicts with a setting in the "xorg.conf" file and quits when you try to run it. > So obviously the vnc4server is looking in the /etc/X11 directory for > xorg.conf because it is not finding it somewhere else. Where should I > put a (blank) xorg.conf for the purposes of the vnc4server? I would look first at the origin of the failure, I mean, why "vnc4server" cannot run with your current "xorg.conf" file. Logs will tell. Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/pan.2010.06.01.11.20.21(a)gmail.com
From: Mitchell Laks on 1 Jun 2010 12:40 On 11:20 Tue 01 Jun , Camale�n wrote: > It's weird that "vnc4server" cannot work with nvidia drivers. Maybe just > conflicts with a setting in the "xorg.conf" file and quits when you try > to run it. Well, after all the vnc4server is not working off the physical video card is it? it is displaying a virtual video image, so to speak, as there is no display :2 or :3 on my physical nvidia video card. It does not use the nvidia drivers __at all__! Or am I misunderstanding the situation with vnc4servers? this is not x11vnc which uses the physical :0 display, it is vnc4server. > > > So obviously the vnc4server is looking in the /etc/X11 directory for > > xorg.conf because it is not finding it somewhere else. Where should I > > put a (blank) xorg.conf for the purposes of the vnc4server? > > I would look first at the origin of the failure, I mean, why "vnc4server" > cannot run with your current "xorg.conf" file. Logs will tell. When I read my Xorg logs all I saw were remarks about not finding some fonts which often occur but dont impair the display on the screen or in vcn. The key here is that the vnc4server is using an xorg.conf that is set up for the physical nvidia drivers with the dual display on 2 monitors using twinview. now clearly my vnc4server is not 1) dual headed or 2) using the nvidia module. For instance, if I simply move the xorg.conf into another location and create a empty file (touch xorg.conf in /etc/X11/ ) then lo and behold the vnc4server starts up fine. Q: Can one xorg.conf have configuration for the physical nvidia drivers and the virtual vnc4server at the same time? what stanzas to set up for vnc4server in the same xorg.conf? Now I can easily set up init.d scripts to play the game of removing the xorg.conf then starting vnc4server then reinstall xorg.conf then start x :) and be done with it as I start up my vnc4servers once on bootup and then use them later. However, I suspect that the vnc4server is compiled with multiple locations to look for xorg.conf that have higher priority than /etc/X11, as I am not the first person to use vnc4server and binary nvidia drivers on the same machine. Note the following recent (yeterday) bug report on vnc4server http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=583913 vnc4server: breaks if /etc/X11/xorg.conf generated by X -configure is present this is exactly my problem..... Now he is being mislead (in my opinion) because he thinks that the random error message about some font is the cause, instead of being a regular feature of Xorg logs, that I have learned to ignore (at my peril?). The main error is as he stated vnc4server: breaks if /etc/X11/xorg.conf generated by X -configure is present not the rest of his bug report.... Mitchell -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/20100601163028.GA31289(a)earthlink.net
From: Camaleón on 1 Jun 2010 13:30 On Tue, 01 Jun 2010 12:30:28 -0400, Mitchell Laks wrote: > On 11:20 Tue 01 Jun , Camaleón wrote: >> I would look first at the origin of the failure, I mean, why >> "vnc4server" cannot run with your current "xorg.conf" file. Logs will >> tell. (...) > Note the following recent (yeterday) bug report on vnc4server > > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=583913 > > vnc4server: breaks if /etc/X11/xorg.conf generated by X -configure is > present > > this is exactly my problem..... Interesting... do you see the same error message?: "Fatal server error: could not open default font 'fixed'" > Now he is being mislead (in my opinion) because he thinks that the > random error message about some font is the cause, instead of being a > regular feature of Xorg logs, that I have learned to ignore (at my > peril?). Mmmm, you can make a test. Just comment (#) those lines about font paths in your "xorg.conf" file *but* keep nvidia settings intact. Then, try to launch "vnc4server". > The main error is as he stated > vnc4server: breaks if /etc/X11/xorg.conf generated by X -configure is > present not the rest of his bug report.... I'm not sure. It could be that "vnc4server" just "erroneously" quits when finds something it doesn't like in the the "xorg.conf" file. Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/pan.2010.06.01.17.26.54(a)gmail.com
From: Mitchell Laks on 1 Jun 2010 14:40
On 17:26 Tue 01 Jun , Camale�n wrote: > I'm not sure. It could be that "vnc4server" just "erroneously" quits when > finds something it doesn't like in the the "xorg.conf" file. indeed I did have those exact same messages in my log as well. i can try this. I will be at work to try this tomorrow night... Meanswhile another tack will be: I will also try to use a /etc/vnc.conf file as described in the /usr/share/doc/vnc4server/examples/vnc.conf.gz which can point to a file # $XFConfigPath can be set to the global XF86Config file. This will be # parsed to gain default values for $fontPath and $colorPath. # If you want to disable this feature, point it to an # invalid file, "/foo" for example. # $XFConfigPath = "/etc/X11/XF86Config-4"; which should also solve the problem as I mentioned. i can point it at a null file /etc/X11/xorg.conf.vnc4server which will be empty... i will try this too... Mitchell -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/20100601183909.GA948(a)earthlink.net |