![]() | #72 | |
First Cup of Ubuntu ![]() Join Date: Apr 2007 Posts: 11 Thanks: 0 Thanked 0 Times in 0 Posts | Re: Shutdown and reboot buttons are missing Quote:
Thanks alot, this is what worked best for me. I had tried the solution of adding a file under /etc/X11/sessions and that worked also, but for some reason this method disabled my icon theme. The above method did only what was wanted, enabled my shutdown/restart. Thanks again AlwaysLearning! | |
![]() | ![]() |
![]() | #73 | |
First Cup of Ubuntu ![]() Join Date: Sep 2006 Posts: 2 Thanks: 0 Thanked 0 Times in 0 Posts | Re: Shutdown and reboot buttons are missing Quote:
My scripts: maverick@maverick:~% cat /usr/share/xsessions/xgl.desktop 3:23 [Desktop Entry] Encoding=UTF-8 Name=Xgl Comment=Start an Xgl Session Exec=/usr/bin/startxgl Icon= Type=XSession maverick@maverick:~% cat /usr/bin/startxgl 3:24 #!/bin/bash Xgl :1 -fullscreen -ac -accel xv ![]() ![]() DISPLAY=:1 export KDEWM="/usr/bin/beryl-manager" cookie="$(xauth -i nextract - :0 | cut -d ' ' -f 9)" xauth -i add :1 . "$cookie" exec startkde Any idea what could be wrong ? Regards, Maciek | |
![]() | ![]() |
![]() | #74 |
First Cup of Ubuntu ![]() Join Date: Sep 2006 Posts: 2 Thanks: 0 Thanked 0 Times in 0 Posts | Re: Shutdown and reboot buttons are missing I found a solution: In /var/run/xdmct directory you should make some symbolic links: (if you xserver is on :0 and xgl on :1) maverick:/var/run/xdmctl# ln -s dmctl-:0 dmctl-:1 maverick:/var/run/xdmctl# ln -s xdmctl-:0 xdmctl-:1 That's all. Regards, Maciek |
![]() | ![]() |
![]() | #75 | |
First Cup of Ubuntu ![]() Join Date: Feb 2007 Location: Belgium Posts: 10 Thanks: 2 Thanked 0 Times in 0 Posts | Re: Shutdown and reboot buttons are missing Quote:
![]() ![]() Thanks Maverick | |
![]() | ![]() |
![]() | #76 | |
5 Cups of Ubuntu ![]() Join Date: Jun 2007 Posts: 43 Thanks: 0 Thanked 0 Times in 0 Posts | Re: Shutdown and reboot buttons are missing Quote:
The other question I have is how exactly and where do I make these links? Can anyone help? Last edited by K_Soze; July 3rd, 2007 at 03:40 PM. Reason: poor grammer | |
![]() | ![]() |
![]() | #77 |
First Cup of Ubuntu ![]() Join Date: Jun 2007 Location: Dominican Republic Posts: 4 Thanks: 0 Thanked 0 Times in 0 Posts | Re: Shutdown and reboot buttons are missing Please help... When I originally instaled beryl i encountered this problem and applying the first solution mentioned could deal with it. But now after some updates or something my two buttons are gone again. i check all the scripts i made the first time and all of them are intact. I tryed the solution on post 62 but it didn't work for me. I couldn't apply the last maverick solution because didn't find the xdmcl directory. __________________ Acer Aspire 5102WLMi, AMD Turion 64x2, Atheros Wireless, ATI Xpress 1100, 1.5 Gb, 100 Gb, Ubuntu 7.04 Feisty, Beryl and a lot of luck. Smile, it confuses people. |
![]() | ![]() |
![]() | #78 | ||
5 Cups of Ubuntu ![]() Join Date: Apr 2007 Location: mumbai Posts: 33 Thanks: 0 Thanked 0 Times in 0 Posts | Re: Shutdown and reboot buttons are missing Quote:
i added the following lines to my "startxgl.sh" script... Code: ln -s /var/run/xdmctl/dmctl-:0 /var/run/xdmctl/dmctl-:1 the symbolic links also disappear every time i reboot... is there any way to make them stay permanently in "/var/run/xdmctl" ? if not, then is there any other script (which is always run with root privelages at startup) that i can append these lines to : Code: ln -s /var/run/xdmctl/dmctl-:0 /var/run/xdmctl/dmctl-:1 is there any way i can add these commands to a script and have them create the symlinks at startup (as root) so that i can see the buttons as any user running xgl? __________________ Quote:
Last edited by sambehera; July 16th, 2007 at 04:34 AM. | ||
![]() | ![]() |
No hay comentarios:
Publicar un comentario