LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   cannot quit xfce4 (https://www.linuxquestions.org/questions/linux-desktop-74/cannot-quit-xfce4-591524/)

aherrys 10-13-2007 12:04 PM

cannot quit xfce4
 
Hi all,

I am not sure whether to post this question here or in slackware forum, but since the problem is mostly related to XFCE then I think it is better to put it here.

Anyway I just installed the new Slackware 12.0 and tried out the XFCE window manager.
I installed the packages manually one by one, and got the XFCE up and running. However when I tried to quit xfce it won't do it, it just didn't do anything. I just stayed there, so I have to press Ctrl-Alt-Backspace to get out of the Xwindows.

At first I wasn't sure what happened, the only thing i could see from the command prompt from where I run startx was that there is a message "ICE connection rejected" and something like "session-manager was not running".

I wasn't sure whether this has anything to do with the unable to quit problem that I am having. But it seems the message "session-manager was not running" was not present if I didn't try to quit first but instead just press the Ctrl-Alt-Backspace.

But now when I looked at the Edit Menu window under Desktop Preferences, I found that the Quit button will invoke a command called quit, like for example Terminal button will invoke a command called xfterm4 or the File manager button will invoke Thunar etc.

Now the other commands I found on that Edit Menu can be invoked manually via the terminal window. So when I type xfhelp4 on CLI it will invoke the Xfce Documentation under the web browser, or when I typed thunar it will invoke the file manager etc.

But when I type in quit then it says "command not found". and when I do "which quit" it comes back saying: no quit in (/usr/local/sbin:/usr/sbin.....All of my path here)

So I am missing quit for this XFCE. Does anybody know where can I find quit for XFCE ? Can someone that already have XFCE running and got the Quit button works properly tell me where the quit command is ? or whether the Quit actually invoke quit command or something else ?

Thanks

BTW: I have searched the www.slackware.com packages, and I could not find any quit command that is i think related to XFCE. There is one quit command under fvwm95 package, but don't think this is the one that I want.

Thanks again

farkus888 10-13-2007 12:37 PM

http://wiki.archlinux.org/index.php/...boot_from_Xfce

I know its for arch but it should point you in the right direction. the basic point is you need proper permissions to be able to shutdown from the menu. I know in arch until you set up your account to have the correct permissions all but quit is grayed out in the menu and quit takes you to the display manager you called xfce from. If I am misunderstanding your problem I apologize.

aherrys 10-13-2007 11:10 PM

Thanks for answering. But actually my problem was not shutting down the machine from XFCE. I just want to log out from the GUI and back to the command prompt.
The way my machine was set was that it will boot up to the non GUI login prompt. And after you login you need to start the X windows manually.
Also even when I loggin as root and try to quit the XFCE GUI interface I cannot do that (my Quit button was not greyed out at all), even I know for sure that I have permission to shutdown the machine as root.

BTW. If you use XFCE what command does the QUIT button actually executes ?

Thanks

farkus888 10-14-2007 06:01 AM

I have no idea what command it does. I boot to text console as well and start up X from there, I have my xinitrc file configured to run gdm, gnome display manager, when startx is run. I leave x run forever unless I need to restart it with ctrl-alt-backspace because of a problem. if I want to get back to the text console I just use ctrl-alt-f?. the number on the F key dictates which virtual console your go to, in arch your initial text console is usually 1 or 2 and your X session is on 6 or 7. you can just got through each of the F keys one at a time until you find what you are looking for. its probably not the right way to do it but you should be able to go to the terminal where you started X and ctrl-c to stop the X session that you started.

aherrys 10-14-2007 01:02 PM

OK that is indeed different than the way I used to have my system setup with Slackware. I don't have the Ctrl-Alt-F? thing that I can use to switch to a different login prompt. I don't know whether this is due to the way XFCE was packaged in the slackware.
Also I don't use XFCE to run any other components either from Gnome or KDE or something else, I just use whatever comes with XFCE.
My goal is to run a lightweight Desktop Manager, because my machine is a lowly PIII with 192 mbytes of RAM. On my previous machine I even used Winmaker as the GUI interface and like it a lot, but it doesn't have much of anything, since I got a faster machine I like to try something heavier, and I heard XFCE is good, but so far I have missed my Winmaker...:) There are things there that nice that I haven't found yet how to do it in XFCE. May be I need some time to play with this new Desktop Manager.

So in your machine before you start Xwindows, and you are still in the command prompt, if you type: "which quit" do you get any entry ?

Thanks

farkus888 10-14-2007 01:59 PM

I am not talking about a button. that is a key combination. I mean for you to hold down the control key and the alt key and then hit the F key of your choice. it has nothing to do with xfce of slack or arch or xcfe, that key combination has worked in every distro and desktop I have ever tried.<joke, not to be insulting>if you are unable to do that you need to return your keyboard not post here for software help</joke> I have a feeling if you got slack up and running that was just a brain fart. at the moment I am at work so I can't tell you what you get from "which quit"

aherrys 10-15-2007 01:22 PM

FYI

The problem has been solved here:

http://www.linuxquestions.org/questi...-xfce4-591832/


All times are GMT -5. The time now is 12:46 AM.