LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Problem to shutdown (https://www.linuxquestions.org/questions/slackware-14/problem-to-shutdown-673819/)

brevleq 10-02-2008 04:07 PM

Problem to shutdown
 
Hi guys,

I'm having a problem when I try to do 3 things in kde: shutdown, restart and close section; and when I try to change terminal session with ctrl+alt+F6 and come back with ctrl+alt+F7. When I do these things, my screen becomes black and I can't do anything, neither kill X with ctrl+alt+backspace. When it happen I have no choice, I just can push power button.
Why is it happening??

TSquaredF 10-02-2008 05:04 PM

I've had this problem on a couple of machines recently. YMMV, but it disappears for me when I make a custom xorg.conf file with xorgsetup. The file seems to work well until it is time to close down the X server.
Regards,
Bill

kcynice 10-02-2008 06:52 PM

1. To kill X, you can hold Ctrl and press BackSpace key.
2. To shutdown, you only can input /sbin/halt with a super account. If not you will have to use chmod +s /sbin/halt with super account, after that you can shutdown you computer use /sbin/halt.
3. To restart, you can try reboot(or reboot -t 0) with a super account.
To avoid using the super accound(i meant use su root), you can use sudo plus what command you want to run.
I am also a newbie for slackware. I just tells you how i do these task.
Have fun!

forum1793 10-02-2008 08:45 PM

TSquaredF probably on right track. That being issue could be graphic card related.

I have 780g integrated and sometimes have locks with open source ATI drivers, particularly if not rebooting after removing fglrx and starting X. I have long delays using fglrx when exiting X. Problem is worse using HDMI port as it seems system is waiting for something to happen. I have rbg cable also hooked up and sometimes can switch from that to hdmi with tv remote and this causes hdmi to also get in sync. I don't know why.

What is your hardware?

brevleq 10-03-2008 07:20 AM

:p I have a ATI card using fglrx too. The tv output is setted in xorg using --force-monitor=tv by aticonfig comand. I'll setup the xorg with xorgconfig and see what happen!

brevleq 10-03-2008 08:35 AM

I've setup xorg with xorgconfig but the problem is still here! At this time I've got some output:

Quote:

Premature end of JPEG file
Premature end of JPEG file
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 6
Minor opcode: 0
Resource id: 0x0
kbluetooth: [DBusMessage* KBluetooth::DBusSignal::newMessage(const QString&)] : org.bluez path: /org/bluez mInterfacE:
org.bluez.Security method: UnregisterDefaultPasskeyAgent
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20
Minor opcode: 0
Resource id: 0x1000008
ksmserver: WARNING: SmsDie timeout, client kwin(10ced7d676000122272042900000042510000)
ksmserver: WARNING: SmsDie timeout, client knotify(10ced7d676000122303962800000039330006)
ksmserver: WARNING: SmsDie WM timeout
startkde: Shutting down...
klauncher: Exiting on signal 1
Session management error: Could not open network socket
Session management error: Could not open network socket
kbuildsycoca running...
kded: Fatal IO error: client killed
kdeinit: Fatal IO error: client killed
klauncher: Exiting on signal 15
FreeFontPath: FPE "/usr/share/fonts/misc" refcount is 3, should be 2; fixing.
xinit: connection to X server lost.
Desconexao
GOT SIGHUP
startkde: Running shutdown scripts...
hudson@brevleq:~$ xprop: unable to open display ':0'
usage: xprop [-options ...] [[format [dformat]] atom] ...

where options include:
-grammar print out full grammar for command line
-display host:dpy the X server to contact
-id id resource id of window to examine
-name name name of window to examine
-font name name of font to examine
-remove propname remove a property
-set propname value set a property to a given value
-root examine the root window
-len n display at most n bytes of any property
-notype do not display the type field
-fs filename where to look for formats for properties
-frame don't ignore window manager frames
-f propname format [dformat] formats to use for property of given name
-spy examine window properties forever

startkde: Done.
I don't understand why he called xprop, and don't know why he called it in the wrong way!!


All times are GMT -5. The time now is 03:07 PM.