*Hi,Sorry for not replying. I have been busy with my works.Like Przemek 
pointed out, here the issue may be the way in which I am entering the 
command 'xrandr'So I will explain it.After I enter startx in the command 
prompt of my desktop (ie root@beaglebone:~#) the following messages 
appearing in the display of my desktop.*


root@beaglebone:~# startx


X.Org X Server 1.16.4
Release Date: 2014-12-20
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.16.0-0.bpo.4-armmp-lpae armv7l Debian
Current Operating System: Linux beaglebone 4.4.9-ti-r25 #1 SMP Thu May 5 
23:08:13 UTC 2016 armv7l
Kernel command line: console=ttyO0,115200n8 
root=UUID=f80ffe30-c1d0-4c51-8cab-b33a74f7ae1b ro rootfstype=ext4 rootwait 
coherent_pool=1M quiet cape_universal=enable
Build Date: 11 February 2015  01:18:06AM
xorg-server 2:1.16.4-1 (http://www.debian.org/support) 
Current version of pixman: 0.32.6
    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.1.log", Time: Thu Feb 23 10:40:00 2017
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1280 x 720, current 1280 x 720, maximum 1280 x 720
default connected 1280x720+0+0 0mm x 0mm
   1280x720       0.00* 
./q_msg_linux: /usr/lib/arm-linux-gnueabihf/libQt5Core.so.5: no version 
information available (required by ./q_msg_linux)
./q_msg_linux: /usr/lib/arm-linux-gnueabihf/libQt5Widgets.so.5: no version 
information available (required by ./q_msg_linux)
Openbox-Message: Couldn't set messages locale category from environment.
Openbox-Message: Couldn't set locale from environment.
libEGL warning: DRI3: Screen seems not DRI3 capable
libEGL warning: DRI2: failed to authenticate













*Also then my simple Qt application is run on the LCD display connected to 
BBB. (I have already included the executable file of simple Qt application 
in the file ~/.xinitrc) . (The contents of .xinitrc is given at the end of 
this mail)Here the important point is that, now in my desktop terminal, I 
cannot enter the xrandr command, because there is no command prompt  ( ie # 
) in the terminal.Now as Przemek suggested, I included the command 'xrandr' 
in ~/.xinitrc, before ./simpleQt (name of my simple Qt application).But the 
execution of this command is observed in either desktop display or display 
connected to BBB.I am also giving the contents of .xinitrc file*

#!/bin/bash
xrandr
oclock -geometry +1450+920 -bg ivory -fg blue &
./q_msg_linux &
exec openbox





*Please suggest a method, how I can run xrandr command in this 
situation.Thanks & Regards,Sajeevan.K*


On Sunday, February 19, 2017 at 6:39:08 AM UTC+5:30, Przemek Klosowski 
wrote:
>
> On Fri, Feb 17, 2017 at 6:45 AM, sajeevan k <saje...@laxven.com 
> <javascript:>> wrote: 
>
> > Now I am able to open a window as per a small qt progam in the LCD 
> display. 
> > 
> > But still xrandr is not showing the outputs. It is showing no protocol 
> specified. 
>
> How are you running your qt program? Run xrandr in exactly the same 
> way; it should work.  If it doesn't, describe how you set up your 
> console, show exactly the commands you're typing and their output 
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/755415f5-a880-499a-8da1-1792b164a827%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to