FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 06-01-2010, 02:25 AM
Mitchell Laks
 
Default xorg.conf for nvidia binary drivers interfering with xorg.conf for vnc4server

Hi,

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. 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.

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?

thanks!

Mitchell Laks


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20100601022544.GA27286@earthlink.net">http://lists.debian.org/20100601022544.GA27286@earthlink.net
 
Old 06-01-2010, 11:20 AM
Camaleón
 
Default xorg.conf for nvidia binary drivers interfering with xorg.conf for vnc4server

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@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: pan.2010.06.01.11.20.21@gmail.com">http://lists.debian.org/pan.2010.06.01.11.20.21@gmail.com
 
Old 06-01-2010, 04:30 PM
Mitchell Laks
 
Default xorg.conf for nvidia binary drivers interfering with xorg.conf for vnc4server

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@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20100601163028.GA31289@earthlink.net">http://lists.debian.org/20100601163028.GA31289@earthlink.net
 

Thread Tools




All times are GMT. The time now is 10:40 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org