[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

remove xlogout after changing from fvwm to windowmaker

Posted on 1998-12-08
7
Medium Priority
?
341 Views
Last Modified: 2013-12-16
My sysadmin setup the box to run fvwm window manager and xdm by default and I changed it to windowmaker.

At .xsession file, there's "exec xlogout -confirm" command that will display a logout button which I can press to logout from my session. I don't want to use this button with windowmaker and I prefer to choose "exit session" from windowmaker menu instead. So, I removed "exec xlogout -confirm" command from .xsession and this caused problem. Everytime I tried to login, the windowmaker started for a while, then I was sent back to xdm login&password window again.

How can I remove xlogout button, run windowmaker without any problem, and choose "exit session" from windowmaker menu to logout?

0
Comment
Question by:screwdriver
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1812473
exec xlogout -confirm

didn't have a final  &  , while all other lines befor have one, right?
If so, you must remove the  &  right before the line you removed.
0
 

Author Comment

by:screwdriver
ID: 1812474
Yes, xlogout doesn't have & and I also don't have '&' right before the xlogout line.

Here is my .xsession looks like,

wmaker &
Xmailbox &
wmsetbg ~/picture/God2.jpg
sleep 2
exec xlogout -confirm


0
 
LVL 51

Accepted Solution

by:
ahoffmann earned 200 total points
ID: 1812475
your X session is over when the last command in the .xsession file terminates.
So if you remove xlogout there are no more running programs inside this shell. You need to start at least one program which does not terminate or put itself in background.
See  man xdm  for more details.
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 

Author Comment

by:screwdriver
ID: 1812476
I still have no time to try your solution. If I don't run wmaker in background, will this solve the problem?

What's the different if I put 'exec' and if I don't ?

 
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1812477
exec is not the problem. Exec executes the specified program and replaces the current one (where exec is called).

If you start wmaker in foreground, I suggest to change the order in your .xsession file, 'cause all following lines will only be executed if wmaker terminates.
But this may couse problems with Xmailbox or wmsetbg, check your man-pages for that.

> no time to try ...
Hmm, takes about 2 minutes.
0
 

Author Comment

by:screwdriver
ID: 1812478
Ok, I understand now. Still haven't tried it yet.

> no time to try ...
Hmm, takes about 2 minutes.

Correct! But I have to walk to school for 30 minutes, can't try it from home. :)


0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1812479
.. take bike (if possible) and it gets down to 10 minutes :-))
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question