Oooook. Figured out a couple of things:<br><br>1. The aforementioned system-wide setting allegedly turning off fancy scrollbars doesn't work<br>2. When setuid is enabled for /usr/bin/weston it apparently can't read the file it creates in /tmp<br>
<br>So it's working now when I turn off setuid. In a window running inside Unity that is.<br><br>I can get it to start in a VT when setuid is set, but then launching apps doesn't work. I get "Error opening file for reading: Permission denied" (right after listing the path of the socket).<br>
If I turn off the setuid the mouse doesn't work when I start weston in a VT, and it makes unity crash as well. Is this expected behaviour? Not the crashing obviously, but that weston can't read the sockets it creates when setuid is on (and it's running as a normal user)?<br>
I can get it to run properly in a VT by first running "sudo bash" and thus making it run as root. But I presume this isn't the way it's supposed to run? Does look mighty smooth though! So silky smooth.<br>
gnome-terminal, gedit and rhythmbox don't work though. Not sure why. Nothing interested is printed in the VT for me to see after I kill weston.<br>
<br><br><div class="gmail_quote">2012/4/19 <span dir="ltr"><<a href="mailto:darxus@chaosreigns.com" target="_blank">darxus@chaosreigns.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>On 04/19, Rune Kjær Svendsen wrote:<br>
</div><div>> Thanks for the tip. I originally added the line to the file<br>
> /etc/skel/.bashrc which is what the .bashrc file in the /home/ubuntu<br>
> directory is created from on the live CD. So the line is present in<br>
> ~/.bashrc as soon as .bashrc is present in the /home/ubuntu folder on the<br>
> live CD.<br>
><br>
> I just tried adding it to /etc/X11/Xsession.d/99disable-overlay-scrollbars<br>
> instead, which should apply the setting system-wide (as described here:<br>
</div>> [1]<a href="http://askubuntu.com/questions/34214/how-do-i-disable-overlay-scrollbars" target="_blank">http://askubuntu.com/questions/34214/how-do-i-disable-overlay-scrollbars</a>).<br>
<div>> When I echo the value in a terminal it correctly says 0. Now, however,<br>
> when I try to run an application, I get the following error (no matter<br>
> which app I run):<br>
><br>
> �� (gnome-calculator:4443): Gtk-WARNING **: cannot open display: :0.0<br>
> �� [1]+� Exit 1����������������� gnome-calculator<br>
><br>
> Any ideas?<br>
<br>
</div>That's the error you get when XDG_RUNTIME_DIR isn't set, and possibly when<br>
you don't have write access to it.<br>
<span><font color="#888888"><br>
--<br>
"You may be recognized soon. Hide."<br>
<a href="http://www.ChaosReigns.com" target="_blank">http://www.ChaosReigns.com</a><br>
</font></span></blockquote></div><br>