Starting a new X session from within Xfce4
In KDE, it's easy, just 'logout', 'Switch Users'
But how to do this in Xfce? EDIT*** Running init 4. In other words, how do I spawn a new X11 session? |
Well this works depending on your default in ~/.xinitrc
Code:
startx -- :1 |
Quote:
I feel like such a Homer... |
Sorry, gives me the 'console/screen/descriptor' type error.
Code:
bash-3.1$ startx -- :9 |
ctrl-alt-backspace (all together, now!)
then startx Works for me, but I use runlevel 3... |
No. I need to keep the current session running....
Comparable to 'Switch Users' in KDE. |
Code:
gdmflexiserver |
Nope. Ain't not got it.
|
Actually I don't know how to get a switch users like whats avaliable in init 4. I use init 3 cause 4 disables my direct rendering for some insane reason.
That said I usually do the startx -- :1 thingeee and it maps like this normal X = CTRL+ALT+F7 :1 = CTRL+ALT+F8 :2 = CTRL+ALT+F9 etc |
Here's what I get:
Code:
bash-3.1$ startx -- :1 If you don't know what I'm talking about, try it first. |
Code:
kdmctl reserve |
Cool. That did it. Thanks Shilo...
|
Quote:
|
Quote:
|
I haven't bothered to test this, but it should work for WMs that follow the FDO specs. This will put an entry in the menu for you.
Create a file, /usr/share/applications/kdmctl-reserve.desktop : Code:
[Desktop Entry] You can use this as a base. Change the icon to anything you like. There are likely already some .desktop files in /usr/share/applications that will give you an idea how the files should be structured. One thing to note, the user switching is not dependant on the WM, it is dependant on the login manager. The previous solutions offered in this thread assumed no login manager. "kdmctl reserve" is used when KDM is being used as the login manager. "gdmflexiserver" is used when GDM is the login manager. Haven't bothered to look up the command for when you use XDM as the login manager. |
All times are GMT -5. The time now is 09:00 PM. |