can't power off computer

Asked by k_chupe

i noticed another posted question similar but not the same. i have xcompmgr installed, and awn. i have them selected to start up with the desktop in sessions. when i click on the power off button it will just freeze.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
k_chupe
Solved:
Last query:
Last reply:
Revision history for this message
k_chupe (k-chupe) said :
#1

question # 10782 solved the problem with running the following in the terminal:
$ sudo gedit /usr/local/bin/startxgl.sh

 #!/bin/sh
 Xgl -fullscreen :1 -ac -accel glx:pbuffer -accel xv:pbuffer & sleep 2 && DISPLAY=:1
 cookie="$(xauth -i nextract - :0 | cut -d ' ' -f 9)"
 xauth -i add :1 . "$cookie"
 # Start Gnome
 exec gnome-session
it may ask you to install glx, if so then do it. it will give you a info balloon saying what command to issue if you want to disable the new changes. i just saved the command in the text editor and labeled it "disable glx disable command" .

Revision history for this message
k_chupe (k-chupe) said :
#2

if you don't have glx installed then run this in your terminal:

sudo apt-get install xserver-glx

then you can run the following in a terminal:

$ sudo gedit /usr/local/bin/startxgl.sh

 #!/bin/sh
 Xgl -fullscreen :1 -ac -accel glx:pbuffer -accel xv:pbuffer & sleep 2 && DISPLAY=:1
 cookie="$(xauth -i nextract - :0 | cut -d ' ' -f 9)"
 xauth -i add :1 . "$cookie"
 # Start Gnome
 exec gnome-session

that should get it.