Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
|
06-19-2003, 08:40 AM
|
#1
|
Member
Registered: Dec 2002
Location: N.W. Pennsylvania
Distribution: Simply Mepis 6.0 Final
Posts: 43
Rep:
|
Switching KDE & Gnome
Mnk 9.1. On boot, I go to KDE desktop. How can I go to Gnome [it *is* installed] w/o logging out? And then can I get back to KDE? Appreciate help on this. Thanks.
|
|
|
06-19-2003, 08:51 AM
|
#2
|
Member
Registered: Feb 2003
Location: Netherlands
Distribution: debian (sid)
Posts: 693
Rep:
|
um.. as far as i know you can not without loggin out..
unless you kill all gnome processes and run the kde
desktop; but that's sloppy and i do not know how.
|
|
|
06-19-2003, 09:30 AM
|
#3
|
Senior Member
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,637
Rep:
|
1. Open a Terminal (e.g. <Ctrl><Alt><F2>).
2. Log in (probably with a different ID).
3. Type startx -- :2 (blanks as shown)
4. Log out after changing your default window manager to Gnome.
5. Goto 2.
At least worth a try...
Oh btw., after you established your sessions, you switch between them with <F1> and <F7> (<F8>?).
|
|
|
06-19-2003, 08:55 PM
|
#4
|
Member
Registered: Jan 2003
Location: Halesowen, West Midlands, UK
Distribution: SuSE 10.0/Mandriva 2006/gentoo
Posts: 89
Rep:
|
I've put a second line in /etc/X11/xdm/Xservers --
:1 /bin/nice -n 10 /usr/X11R6/bin/X :1 vt08 -deferglyphs 32
When X is started up, you are looking at vt7, CTRL-ALT-F8 takes you to a second login screen where you can select GNOME, CTRL-ALT-F7 takes you back to the KDE desktop.
One thing I've just noticed is that I only have a user login and I need to be able to login as root. I think I've seen where to sort it out, but must hunt for it again later.
|
|
|
06-20-2003, 01:39 AM
|
#5
|
Senior Member
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,637
Rep:
|
Interesting. Learned something new .
SuSE doesn't show a root icon. Just type root and your password. I think you can change it to show a root icon with YAST2.
I would appreciate it, if you could explain the options (e.g. -deferglyph 32). It's still early here, and I had no coffee yet .
Last edited by JZL240I-U; 06-20-2003 at 01:42 AM.
|
|
|
06-20-2003, 06:08 AM
|
#6
|
Member
Registered: Jan 2003
Location: Halesowen, West Midlands, UK
Distribution: SuSE 10.0/Mandriva 2006/gentoo
Posts: 89
Rep:
|
I've seen it on Mandrake 9.1, I don't see it in the manpage for X and wonder if it is a way of defining the colour depth (32) that folows it. On my SuSE 8.1 machine, I have ---
:0 local /usr/X11R6/bin/X :0 vt07
:1 local /usr/X11R6/bin/X :1 vt08
On SuSE I can login as root, but on Mandrake you don't get the option to type in the user, it just presents icons. There is somewhere you can allow a root icon to appear, shouldn't be too difficult to find again.
Sid.
|
|
|
06-20-2003, 06:25 AM
|
#7
|
Senior Member
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,637
Rep:
|
That comes form your SuSE /etc/X11/xdm/Xservers I presume? Its nice, that you posted it too, since I use SuSE 8.1, I'll try it soonest.
Sorry, no experience with Mandrake.
|
|
|
06-23-2003, 06:35 PM
|
#8
|
Member
Registered: Jan 2003
Location: Halesowen, West Midlands, UK
Distribution: SuSE 10.0/Mandriva 2006/gentoo
Posts: 89
Rep:
|
Quote:
Originally posted by JZL240I-U
That comes form your SuSE /etc/X11/xdm/Xservers I presume? Its nice, that you posted it too, since I use SuSE 8.1, I'll try it soonest.
Sorry, no experience with Mandrake.
|
OK, the original response was for Mandrake, the latter two lines are for SuSE 8.1. SuSE 8.0 used to have a "Start New Session" in the menu, was missing for 8.1 and is back on 8.2. I worked this out quite a while ago when
I had need for 2 sessions, one GNOME and one KDE or one for root and one for user and figured out that if :0 would start one Xserver, then :1 should start a second, before that, long ago, I used xnest, but laterly that didn't do quite what I wanted. There are a few neat things you can do also, e.g "X :2 -query <hostname/IPaddress> vt09 &" to another Linux box or Sun Server to get a desktop login to that machine; "krfb" also allows you to permit someone to take over your desktop, also permit takeover of keyboard and mouse, while you can follow exactly every move they make, great for some remote support and nicer than straight VNC server.
Sid.
|
|
|
06-23-2003, 06:55 PM
|
#9
|
Member
Registered: Jan 2003
Location: Halesowen, West Midlands, UK
Distribution: SuSE 10.0/Mandriva 2006/gentoo
Posts: 89
Rep:
|
Quote:
Originally posted by JZL240I-U
That comes form your SuSE /etc/X11/xdm/Xservers I presume? Its nice, that you posted it too, since I use SuSE 8.1, I'll try it soonest.
Sorry, no experience with Mandrake.
|
It's the same file on both Mandrake and SuSE 8.1.
I forgot to mention that you can start other Xservers also, I usually amaze colleagues that I can look at 3 Solaris domains (:2 :3 and :4, vt's 9, 11 and 12), that's 3 Solaris workstations if you needed to access them often, or one Solaris workstation, logging out from each and logging in again to the one you want at the time. Just one of many goodies available in Linux that makes you realise Solaris is a dog to administer comparatively.
Sid.
|
|
|
06-30-2003, 08:22 AM
|
#10
|
Senior Member
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,637
Rep:
|
Well, I tried your trick, and it doesn't work .
-----------------------------------------
:0 local /usr/X11R6/bin/X :0 vt07
:1 local /usr/X11R6/bin/X :1 vt08
-----------------------------------------
Just give me a blank (black) screen on <CTRL>+<ALT>+<F8>, with a blinking white block-cursor. No further reactions when I type something...
Everything else works okay. What am I missing, or did you do anything else?
|
|
|
06-30-2003, 04:26 PM
|
#11
|
Member
Registered: Jan 2003
Location: Halesowen, West Midlands, UK
Distribution: SuSE 10.0/Mandriva 2006/gentoo
Posts: 89
Rep:
|
I forgot to add that you need to restart X. You can also do a quick check, "X :2" from a terminal and you'll see it switches to an X screen, no login, just the mouse cursor, then CTRL-ALT-Backspace to kill it and back to the original session or CTRL-F7, CTRL-F8 to switch back to the new X server.
|
|
|
07-01-2003, 04:25 AM
|
#12
|
Senior Member
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,637
Rep:
|
Quote:
Originally posted by sidboyce
I forgot to add that you need to restart X.
...
CTRL-F7, CTRL-F8 to switch back to the new X server.
|
I did not only that, I booted (several times) and still no change from what I wrote above . <CTRL>+<ALT>+<F7> works perfectly like before.
Do you know whether and where there is a message / error log of the xserver? Perhaps I can find any hint there...
Last edited by JZL240I-U; 07-01-2003 at 04:27 AM.
|
|
|
07-01-2003, 08:25 AM
|
#13
|
Member
Registered: Jan 2003
Location: Halesowen, West Midlands, UK
Distribution: SuSE 10.0/Mandriva 2006/gentoo
Posts: 89
Rep:
|
That's strange, I have both servers running and logged in here. /var/log/xdm.errors or /var/log/XFree86.0.log or /var/log/XFree86.1.log perhaps. What do you get if you do "X :1 &", it should switch to vt08 and display an X screen with only the cursor. On SuSE 8.1, it's working fine, on 8.2 "Start New Session" menu item does it fine as it did on 8.0. On 8.1 this is all of my /etc/xdm/Xservers file.
# $XConsortium: Xserv.ws.cpp,v 1.3 93/09/28 14:30:30 gildea Exp $
#
#
# $XFree86: xc/programs/xdm/config/Xserv.ws.cpp,v 1.1.1.1.12.2 1998/10/04 15:23:14 hohndel Exp $
#
# Xservers file, workstation prototype
#
# This file should contain an entry to start the server on the
# local display; if you have more than one display (not screen),
# you can add entries to the list (one per line). If you also
# have some X terminals connected which do not support XDMCP,
# you can add them here as well. Each X terminal line should
# look like:
#
# XTerminalName:0 foreign
#
# Note: The vt07 is required to start the local X server on the virtual
# console 7. This avoids conflicts with gettys of /etc/inittab.
#
:0 local /usr/X11R6/bin/X :0 vt07
:1 local /usr/X11R6/bin/X :1 vt08
--------------------------------------------------------------
With both Xservers running, I did "X :2 &" and it started a third Xserver on vt09.
|
|
|
07-02-2003, 04:33 AM
|
#14
|
Senior Member
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,637
Rep:
|
Well, /var/log/xdm doesn't exist on my machine, /var/log/XFree86.0.log and /var/log/XFree86.1.log show no error (though I don't understand their finer details). My /etc/xdm/XServers file is identical with yours. And yes, I'm using SuSE 8.1.
X :1 & works just like you say, and I get that screen with the cursor. But what then? It's unusable that way ... without that <ALT><F8> just shows a black screen with a white blinking cursor and no further reaction.
Same with X :2 &, just like you describe.
Just for clarity: Is that all that is expected to happen? I thought I would get a second possibility to log in (via kdm) and so establish two graphical sessions (one root and one user)?
|
|
|
07-02-2003, 11:29 AM
|
#15
|
Member
Registered: Jan 2003
Location: Halesowen, West Midlands, UK
Distribution: SuSE 10.0/Mandriva 2006/gentoo
Posts: 89
Rep:
|
That's OK, the only way I've so far found is to do "xterm -display :1 &", then switch CRTL-ALT-F8 and "kde (Enter)" in the xterm there works. I can't explain why it doesn't start with the
:1 local /usr/X11R6/bin/X :1 vt08 line in /etc/X11/xdm/Xservers, I just noticed I said /etc/xdm/Xservers above - it was past my bedtime when I posted perhaps.
|
|
|
All times are GMT -5. The time now is 06:28 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|