Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: itias on November 29, 2009, 05:55:33 AM

Title: Xorg works confless but not with xorg.conf
Post by: itias on November 29, 2009, 05:55:33 AM
Hi, I've installed Xorg package and it works confless without any issues, however if I follow the instructions in the info and rename xorg.conf.vesa to xorg.conf it only boots to text mode. The output generated by Xorg -configure does not work either. What should be in a generic xorg.conf to reflect confless settings?

Thanks

Greg
Title: Re: Xorg works confless but not with xorg.conf
Post by: curaga on November 29, 2009, 06:34:50 AM
In general, the output of Xorg -configure should be equvalent or better than confless. Please post /var/log/Xorg.0.log from a boot with the -configure xorg.conf.
Title: Re: Xorg works confless but not with xorg.conf
Post by: jur on November 29, 2009, 06:49:44 AM
Where can I find info on confless? I have googled this and nothing comes up except a few cryptic posts at this board... even x.org does not return anything on confless at all.  ???
Title: Re: Xorg works confless but not with xorg.conf
Post by: bmarkus on November 29, 2009, 06:55:21 AM
http://wiki.tinycorelinux.com/tiki-index.php?page=Using+Xorg+over+Xvesa
Title: Re: Xorg works confless but not with xorg.conf
Post by: itias on November 29, 2009, 10:15:01 AM
Hi Curaga,

thanks for your response. Does it have to be from boot or test with X -configure <config file> would do? Xorg.0.log from such test run is attached. Please let me know if I need to do a full boot.
BTW, the result is just blank screen.

Thanks
Greg
Title: Re: Xorg works confless but not with xorg.conf
Post by: vinnie on November 30, 2009, 06:35:05 AM
Imho the xorg in repository have some problems.
I use a perfectly work xorg.conf of sysrescuecd in tinycore but don't work.
Title: Re: Xorg works confless but not with xorg.conf
Post by: itias on November 30, 2009, 06:52:59 AM
Maybe, but as I've mentioned confless works flawlessly while using xorg.conf fails. Let's see what Curaga says after reviewing my log.
Title: Re: Xorg works confless but not with xorg.conf
Post by: vinnie on November 30, 2009, 08:25:27 AM
if there is a command to externalize confless configuration of xorg I would like to know
Title: Re: Xorg works confless but not with xorg.conf
Post by: althalus on November 30, 2009, 03:47:02 PM
if there is a command to externalize confless configuration of xorg I would like to know
You mean something like dropping out of X, and doing something like
sudo Xorg -configure
Which will create an xorg.conf in your home directory for you to do what you will with?
Title: Re: Xorg works confless but not with xorg.conf
Post by: itias on November 30, 2009, 04:08:26 PM
Well, as I've mentioned earlier in this thread, for my laptop confless works while using config file generated by Xorg -configure does not. I've posted my log so hopefully Curaga can give some hint...
Title: Re: Xorg works confless but not with xorg.conf
Post by: Arslan S. on November 30, 2009, 04:12:33 PM
if your computer responding still in blank screen your problem is probably with monitor

this is my monitor section without bold section i get black screen too

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "LPL"
   DisplaySize     1280    800
    HorizSync       30.0 - 75.0
    VertRefresh     60.0

EndSection

using proprietary drivers may also solve your problem
Title: Re: Xorg works confless but not with xorg.conf
Post by: althalus on November 30, 2009, 05:53:21 PM
Well, as I've mentioned earlier in this thread, for my laptop confless works while using config file generated by Xorg -configure does not. I've posted my log so hopefully Curaga can give some hint...
My response was more in reply to Vinnie, was spun off the top of my head in a hurry to get to work on time, and I didn't read your first post closely enough, it would seem.

At the risk of suggesting the obvious have you tried googling say, xorg blank screen (your gfx card / monitor / laptop name) ?
Title: Re: Xorg works confless but not with xorg.conf
Post by: itias on December 01, 2009, 03:59:25 AM
@althalus: yes, searched for that too, however nothing I found so far worked. Going to try arslanserc solution today (thx!). So basically there are two separate issues I think:
Title: Re: Xorg works confless but not with xorg.conf
Post by: bmarkus on December 01, 2009, 04:07:48 AM
What is wrong with confless, why do you need the config file? Try to keep only those sections in Xorg.conf which are changing setting compared to confless, remove all others which are working as you expect.
Title: Re: Xorg works confless but not with xorg.conf
Post by: itias on December 01, 2009, 08:05:30 AM
Nothing wrong, I just need config file to put vnc module over there. My goal is to be able to vnc to display:0 which in theory can be done by using x0vncserver package, however such a solution has a drawback because it is using polling which in turn causes v.high CPU usage (90-100%). I will try to trim down xorg.conf to "Screen" and "Module" sections only to see if that works.
Title: Re: Xorg works confless but not with xorg.conf
Post by: bmarkus on December 01, 2009, 08:19:31 AM
I have never used x0vncserver but had no problem with tightvnc on CentOS for years. It is in the repo, worth to try.

There are also x11vnc and realvnc in the repo.
Title: Re: Xorg works confless but not with xorg.conf
Post by: itias on December 01, 2009, 09:43:43 AM
You are right and I'm going to use realvnc package from repo but in order to access display:0 (console screen) one needs to modify xorg.conf and this is where I'm coming from (http://www.realvnc.com/products/enterprise/4.4/x0.html (http://www.realvnc.com/products/enterprise/4.4/x0.html)).
Title: Re: Xorg works confless but not with xorg.conf
Post by: itias on December 02, 2009, 03:09:54 AM
Partial success: was able to run xorg.conf with two sections I was interested in: Module and Screen. However I failed to load vnc.so module because it is not included in realvnc-4.1.1. maybe libvnc.so is the one, I need to experiment more.
Title: Re: Xorg works confless but not with xorg.conf
Post by: curaga on December 04, 2009, 02:27:22 PM
The log appears to be a completely successful run. This might be a bit late though :P
Title: Re: Xorg works confless but not with xorg.conf
Post by: itias on December 04, 2009, 03:40:23 PM
 >:(
Aaargh, hit another wall.
It appeared that libvnc.so from realvnc-4.1.1 is a correct one however it errors out with:
Code: [Select]
libvnc.so: undefined symbol: NumCurrentSelectionsAfter digging a bit I have found that this is a known bug due to vnc using old API:
https://bugs.launchpad.net/ubuntu/+source/vnc4/+bug/260815 (https://bugs.launchpad.net/ubuntu/+source/vnc4/+bug/260815)
So now looks like a solution for me would be to ask someone nicely to rebuild realvnc-4.1.1 package :)
Would TCE Bugs Forum be a right place to post it in?

I promise I will post a Wiki page on how to configure vnc on display:0 providing someone rebuilds realvnc package :):)
Title: Re: Xorg works confless but not with xorg.conf
Post by: gutmensch on January 26, 2010, 11:56:01 AM
realvnc doesn't compile at all (anymore) with current Xorg's, because it's neither updated nor bugfixed. use x11vnc instead. it's way better maintained, stable and has tons of features! even worth a visit: http://www.karlrunge.com/x11vnc
when installed just call the x11vnc binary in your .xsession and everything's working fine ;-)
best regards,
robert
Title: Re: Xorg works confless but not with xorg.conf
Post by: bigpcman on January 26, 2010, 02:08:50 PM
realvnc doesn't compile at all (anymore) with current Xorg's, because it's neither updated nor bugfixed. use x11vnc instead. it's way better maintained, stable and has tons of features! even worth a visit: http://www.karlrunge.com/x11vnc
when installed just call the x11vnc binary in your .xsession and everything's working fine ;-)
best regards,
robert

Does x11vnc work with Xvesa?
Title: Re: Xorg works confless but not with xorg.conf
Post by: gutmensch on January 26, 2010, 02:28:20 PM
don't think so, but could be worth a try ;-) for the vnc.so module you would need Xorg too (correct me if I'm wrong)
Title: Re: Xorg works confless but not with xorg.conf
Post by: bigpcman on January 26, 2010, 02:50:12 PM
don't think so, but could be worth a try ;-) for the vnc.so module you would need Xorg too (correct me if I'm wrong)
There two x11vnc's extensions in the repository. The "plain" x11vnc.tcz does not list xorg as a dependency. Perhaps a mistake?
Title: Re: Xorg works confless but not with xorg.conf
Post by: gutmensch on January 26, 2010, 03:02:30 PM
Well, x11vnc depends on some X libs, it doesn't depend especially on Xorg... and since almost every X lib is incorporated into the tinycore base it may even work with Xvesa but I didn't try it out myself...
Title: Re: Xorg works confless but not with xorg.conf
Post by: Kingdomcome on January 26, 2010, 06:12:27 PM
I will need to double check when Im back at home, but Im pretty sure I can run x11vnc with xvesa and xlibs_support installed.