LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 11-06-2005, 08:22 PM   #1
1veedo
Member
 
Registered: Dec 2004
Location: WV, USA
Distribution: Gentoo, Debian
Posts: 186

Rep: Reputation: 34
Ctrl+Alt+Function Key


I've just discovered the coolest thing ever. I was playing wesnoth and died very early. Funnest 2 hours ever: we had diplomatic deals, truces...Anyway, sparing the details, I decided I wanted to watch it as observer and still play my remaining like 10 units. Instead of going to my other computer (running windows) I realized that it might be possible to type startx and get another session going. Whenever I tried it told me a server was already running on that [location]. I read the man pages to find that startx passes arguments to xinit. Specifically in the xinit man pages it says:
Quote:
xinit -- /usr/X11R6/bin/Xqdss :1
This is how one could start a specific type of server on an
alternate display.
So under a diferent account (my "public" account for the ftp server) I did startx -- :1 and boom! Another graphical desktop! And you dont even need another user to do this!

Anyway, I think I know most of what's going on but I have a few questions about this. The sound server will still work if you're logged in as the main (first) user but under another account it gives you the error
Quote:
Sound server informational message:
Error while initializing the sound driver:
device /dev/dsp can't be opened (Permission denied)
The sound server will continue, using the null output device.
Is there a way to use another channel? I know xine says something about the default sound output...And if I do this will I head sounds from both desktops or is there a way to hear it from only one?

Also does it slow down your computer any? It seems to me that the xserver only starts once but you can connect to it over :0 :1 :2 etc and one programm will process calls from all of them?

Oh, another question. Normally F7 is the main desktop anything less 7 is a shell F8 is the startup consol output and anythign greater than that is a little blinking dash. Telling F1 startx will bring the graphical desktop to F9. It seems that you can ctrl z the F1 and the F9 will still run. Are these keys like reserved for this?

And if you have two desktops of an account running(F7 and F8) and log out does it log out for both of them? Or just the F8 one?

Last edited by 1veedo; 11-06-2005 at 08:36 PM.
 
Old 11-08-2005, 06:23 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
wether the sound is or isn't available depends on what sound servers you're using. ideally these days you want to be using alsa underneath it all, with the dmix plugin enabled. this plugin enables as many connections as you want. then you can run multiple high level (waste of space) server like arts in kde or esd in gnome or direct connections to alsa.

does it slow it down? of course it does, you're running twice as much X software.

as for what function key things are on.. they will use the next available one. if you look at /etc/inittab that defines what uses the normal 1-6 consoles, and i assume 8 gets used up after gdm / kdm / xdm has loaded. note that this log output is distro specific, most don't do it.
 
  


Reply



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
How do I get Right-Alt key to be just Alt and not generate special characters? (KDE) KWTm Linux - General 2 06-25-2005 09:26 PM
dark screen when pressing Ctrl + Alt + Backspace or Ctrl + Alt F1-F6 in Gnome or KDE trinoo Slackware 5 01-28-2005 08:13 AM
Switching window focus (like alt+tab in windows) and Ctrl+Alt+F1 X windows problem... DiZASTiX Linux - Software 3 01-20-2005 04:56 PM
loosing alt key function with x2x mritch Linux - Networking 0 09-24-2004 10:06 AM
CTRL and ALT key in NEDIT and XEMACS schukin Linux - Newbie 0 12-12-2001 05:15 PM

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

All times are GMT -5. The time now is 06:31 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
Open Source Consulting | Domain Registration