LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 05-10-2008, 09:22 PM   #1
theunixwizard
Member
 
Registered: Feb 2008
Distribution: Ubuntu,Fedora,PC-BSD,FreeBSD
Posts: 116

Rep: Reputation: 15
Linux Multitasking


I have just installed the new Ubuntu 8.04 and I was reading about
linux and it mentioned the key command ctrl-alt-f2 and how it can be used
to kill x11 then restart the PC or any other problem.Then I noticed ctrl-alt-f3 done the same thing.I used this combination all the way to f7 which brought me back to my original desktop.I am wondering if f7 is
called tty7.Then I went to tty4 and logged in and tried to startx and
it said x was already running. Is it possible to use something Like
KDE or Xfce to run under a gui

Thanks in advance:]
 
Old 05-10-2008, 10:09 PM   #2
dudeman41465
Member
 
Registered: Jun 2005
Location: Kentucky
Distribution: Ubuntu
Posts: 794

Rep: Reputation: 56
The Ctrl+Alt+F keys toggle you in and out of virtual terminals that are always running in the background. To "kill" and restart X you can press Ctrl+Alt+Backspace and it will restart X, returning to a login screen. To have multipe GUI sessions going at once you could use Xnest. There's an option in the Ubuntu menu already for it I believe you just have to go into the menu editor and check it so it shows up, it says something like "Open a new login in a nested window" or something like that. If it doesn't work you may need to run "sudo apt-get install xnest" or "sudo apt-get install gdmxnest" at a command line to grab the appropriate software. Anyway, after you get your "nested" window up, assuming you have the other desktop environments installed, you could just click "session" and select the other desktop environment and have that other session running in your nested window. Hope this helps.

Last edited by dudeman41465; 05-10-2008 at 10:10 PM.
 
Old 05-10-2008, 10:42 PM   #3
beadyallen
Member
 
Registered: Mar 2008
Location: UK
Distribution: Fedora, Gentoo
Posts: 209

Rep: Reputation: 36
To start another X-server, use
Code:
startx -- :1
. That'll start up a completely new display, which'll probably be accessible with ctrl-alt-f8. To switch back to your old one, ctrl-alt-f7.
Hope this helps.
 
Old 05-10-2008, 11:21 PM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677
I wouldn't recommend running the same desktop environment for the same user on a second session. For example, if you run two kde sessions as the same user, each session may try to update the same files in ~/.kde/.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Linux book chapter: 'Multitasking in Ubuntu' LXer Syndicated Linux News 0 06-02-2007 05:31 AM
is there a way to do multitasking in sh? pyenos Linux - Software 4 03-09-2005 12:27 PM
multitasking better on windows? ganja_guru Linux - Software 16 08-30-2004 10:08 AM
XMMS and/or multitasking issues on linux? jayrearden Linux - Software 2 05-15-2003 01:55 AM
Multitasking hotrodowner Linux - Networking 1 07-25-2002 03:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration