SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Sorry, gives me the 'console/screen/descriptor' type error.
Code:
bash-3.1$ startx -- :9
xauth: creating new authority file /home/carl/.serverauth.9876
_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/toaster:9
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
X Window System Version 6.9.0
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 6.9
Build Operating System: Linux 2.4.32 i686 [ELF]
Current Operating System: Linux toaster 2.6.16.20 #5 PREEMPT Mon Jun 26 00:50:32 CDT 2006 i686
Build Date: 02 May 2006
Before reporting problems, check http://wiki.X.Org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.9.log", Time: Sat Jul 29 15:50:33 2006
(==) Using config file: "/etc/X11/xorg.conf"
(EE) I810(0): [dri] DRIScreenInit failed. Disabling DRI.
Synaptics DeviceInit called
SynapticsCtrl called.
Synaptics DeviceOn called
Synaptics DeviceOff called
waiting for X server to shut down FreeFontPath: FPE "/usr/X11R6/lib/X11/fonts/misc/" refcount is 2, should be 1; fixing.
Couldnt get a file descriptor referring to the console
I'm running init 4. init 3 would work, but already know to do that...
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
bash-3.1$ startx -- :1
xauth: creating new authority file /home/carl/.serverauth.14124
_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/toaster:1
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
X Window System Version 6.9.0
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 6.9
Build Operating System: Linux 2.4.32 i686 [ELF]
Current Operating System: Linux toaster 2.6.16.20 #5 PREEMPT Mon Jun 26 00:50:32 CDT 2006 i686
Build Date: 02 May 2006
Before reporting problems, check http://wiki.X.Org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.1.log", Time: Sat Jul 29 19:42:48 2006
(==) Using config file: "/etc/X11/xorg.conf"
(EE) I810(0): [dri] DRIScreenInit failed. Disabling DRI.
Synaptics DeviceInit called
SynapticsCtrl called.
Synaptics DeviceOn called
Synaptics DeviceOff called
waiting for X server to shut down FreeFontPath: FPE "/usr/X11R6/lib/X11/fonts/misc/" refcount is 2, should be 1; fixing.
Couldnt get a file descriptor referring to the console
bash-3.1$
So there is nothing like the 'Switch User' function in KDE?
If you don't know what I'm talking about, try it first.
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]
Encoding=UTF-8
Name=New Login
GenericName=New Login
Comment=Log in as another user without logging out
Exec=kdmctl reserve
Icon=/opt/kde/share/icons/crystalsvg/128x128/apps/kdmconfig.png
Terminal=false
Type=Application
Categories=Application;System;
You may have to logout and login again for this to work.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.