Can anyone tell me how to logout after a VB?
-
ionjolt
- Posts: 2
- Joined: 27. Nov 2011, 10:14
- Primary OS: Ubuntu other
- VBox Version: OSE other
- Guest OSses: win xp
Can anyone tell me how to logout after a VB?
Basically, Ubuntu 11.04 is for my own use and VBox'ed Windows XP for my wife and son's use. I just need them to logout (or maybe shutdown) out of Linux automatically after they finished/shutdown Windows XP?
-
Sasquatch
- Volunteer
- Posts: 17798
- Joined: 17. Mar 2008, 13:41
- Primary OS: Debian other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows XP, Windows 7, Linux
- Location: /dev/random
Re: Can anyone tell me how to logout after a VB?
Run a script that starts the VM and once that process exists, calls forth the session-logout dialogue or appropriate function. I use Xfce4 and found this to be of use. Look for the Gnome equivalent if you use that (most likely):
Code: Select all
xfce4-session-logout -h # shut down
xfce4-session-logout -r # reboot
xfce4-session-logout -l # log outRead the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
-
ionjolt
- Posts: 2
- Joined: 27. Nov 2011, 10:14
- Primary OS: Ubuntu other
- VBox Version: OSE other
- Guest OSses: win xp
Re: Can anyone tell me how to logout after a VB?
Sasquatch wrote:Run a script that starts the VM and once that process exists, calls forth the session-logout dialogue or appropriate function. I use Xfce4 and found this to be of use. Look for the Gnome equivalent if you use that (most likely):Code: Select all
xfce4-session-logout -h # shut down xfce4-session-logout -r # reboot xfce4-session-logout -l # log out
thanks for ur reply, hidden-mountain-walker... sadly, i can't use this -- i'm not sure how to go about finding d gnome equivalent of "that" session (sorry, i'm not that proficient yet at linux, that's why i'm looking for advice from u hardened veterans). is my problem really so hard? only you replied so far. maybe i'm asking a bit much...
-
Sasquatch
- Volunteer
- Posts: 17798
- Joined: 17. Mar 2008, 13:41
- Primary OS: Debian other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows XP, Windows 7, Linux
- Location: /dev/random
Re: Can anyone tell me how to logout after a VB?
Open a terminal through Applications > Accessories > Terminal. Then type in "gnome-" and hit tab a few times. You should see all the commands that start with 'gnome-' in the name. I'm sure that one of them has session in it or controls your session. Then you enter the rest of the command, finish it with tab to ease the typing, and follow it by ' --help', that's space, dash, dash, help. A single space should be between the command and the parameter. With the help output, you can see what parameters or options are accepted and what they do.
Good luck.
Good luck.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
Re: Can anyone tell me how to logout after a VB?
I has the same question
"How do I logout from the Linux VM hosted on VirtualBox after making changes to the user"? rebooting every time is a bit of an over kill.
Well, at the top right corner of the VM screen, there is a "icon" that looks like 3 workstations connected in a network.
I selected on it and it opened a list from which found my login id at the bottom of it. I then selected the arrow to the right of my login id, which gave me the option to logout. Problem Solved.
"How do I logout from the Linux VM hosted on VirtualBox after making changes to the user"? rebooting every time is a bit of an over kill.
Well, at the top right corner of the VM screen, there is a "icon" that looks like 3 workstations connected in a network.
I selected on it and it opened a list from which found my login id at the bottom of it. I then selected the arrow to the right of my login id, which gave me the option to logout. Problem Solved.