LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 05-25-2005, 01:35 PM   #1
johnnydangerous
Member
 
Registered: Jan 2005
Location: Sofia, Bulgaria
Distribution: Fedora Core 4 Rawhide
Posts: 431

Rep: Reputation: 30
FC4t3 and switching multiple X troubleshooting


ok so after I have more than one X sessions I can switch ONLY between F7 and F1-6... and F8 ... and so on are just blank kind of console screens (console mouse is shown) any comment will be highly appreciated!
 
Old 05-27-2005, 12:39 AM   #2
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
I'm sure that one of these hits from Google in a Linux frame of mind can explain it better than I can.
 
Old 05-27-2005, 02:52 AM   #3
johnnydangerous
Member
 
Registered: Jan 2005
Location: Sofia, Bulgaria
Distribution: Fedora Core 4 Rawhide
Posts: 431

Original Poster
Rep: Reputation: 30
it never happened with FC3 current, but really thanks for the suggestion, I always use google first but since it's a fc4 issue I thought people from here might have seen it... before google..

Last edited by johnnydangerous; 05-27-2005 at 02:55 AM.
 
Old 05-27-2005, 03:02 AM   #4
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
For my working distro, I always stay at least one release behind (except with Gentoo, my "playing around with distro) because of the instability/bugs in the "latest and greatest" release. Usually, all those things are fixed around the time the new version is released, so it is reliable and has previous user experience for getting easier help.

When I get FC3 working just right, my FC1 space will be free for another different distro in my 5-boot settup. I have found that a lot of the config files in Fedora/Red Hat have been replaced by scripts, so I believe that Debian may end up being my preferred distro, but my Gentoo is starting to shine, so I may end up trusting that more than any distro I have tried.

Last edited by fancypiper; 05-27-2005 at 03:09 AM.
 
Old 05-27-2005, 05:25 AM   #5
johnnydangerous
Member
 
Registered: Jan 2005
Location: Sofia, Bulgaria
Distribution: Fedora Core 4 Rawhide
Posts: 431

Original Poster
Rep: Reputation: 30
the thing is I have X:0 then I go to native term and startx -- :1 and I play with it then I press Ctrl+Alt+F7 (:0) play with it and I want to get back to :1 and Ctrl+Alt+F8...9..10.. just can't swith a black screen with mouse cursor... but I can switch to :0 again....
 
Old 05-27-2005, 05:50 AM   #6
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
Have you tried putting this in your .bashrc file
# Allow local users to use my X session
xhost +local:

That shuld allow you to use the current x session to run gui programs from a root x terminal.

You could also try putting this in your .bashrc file, then command:

source ./.bashrc

alias x="startx -- -bpp 24 -quiet &"
alias x2="startx -- :1 -bpp 24 -quiet &"
alias x3="startx -- :2 -bpp 24 -quiet &"
alias x4="startx -- :3 -bpp 24 -quiet &"
alias x5="startx -- :4 -bpp 24 -quiet &"
alias x6="startx -- :5 -bpp 24 -quiet &"

To Export an X Session to another machine:

This tip shows you how to run GUI programs remotely by exporting an X session and tunneling it over SSH. Note that this is heavily dependant on the speed of your network connection. If you're trying to run Mozilla off of a box on the other side of the country on a 56K modem it is probably not going to work very well. The best application for this is running programs over the same LAN or possibly a high-speed WAN. An easy example application is running gvim remotely so you can have a GUI editor.

For this example we assume the local machine has an IP of 192.168.1.2 and the remote machine has an IP of 192.168.1.3. On the local machine you're going to need to give the remote machine access to connect to your X server. Use the command xhost to do this.

Code listing 9.1: Local machine

// This command allows the machine with the IP 192.168.1.3 to connect
# xhost +192.168.1.3

On the remote machine, you need to export the $DISPLAY variable to your local machine. After that, you should be ready to run GUI programs remotely.

Code listing 9.2: Remote machine

# export DISPLAY="192.168.1.2:0.0"
# gvim /etc/passwd
// You should see gvim open on your local machine with the contents
// of the remote machine's /etc/passwd file.

Note: This is very unsecure and not recommended since everything you type including passwords will be transmitted over the network unencrypted.

To tunnel the connection over SSH and thus encrypt the traffic edit your /etc/sshd2_config file.

Code listing 9.3: /etc/sshd2_config

// Add or edit the following line
ForwardX11 yes

Now connect from the local machine to the remote machine via ssh and start your X application.

Code listing 9.4: Remote machine

# gvim /etc/passwd
// You should see gvim open on your local machine with the contents
// of the remote machine's /etc/passwd file.

Notice that you don't have to set the DISPLAY variable, ssh automagically does that for you. You do however have to allow access to your local machine's X server (see above)
 
Old 05-27-2005, 10:09 AM   #7
johnnydangerous
Member
 
Registered: Jan 2005
Location: Sofia, Bulgaria
Distribution: Fedora Core 4 Rawhide
Posts: 431

Original Poster
Rep: Reputation: 30
this is great info but problem seems very complicated because there is no errors from the console I started the :1 ... I don't do this for root apps but for my father to have a separate session and I can't switch.. maybe FC4 final will do the trick or something about my video I haven't put the ATi drivers yet and for intel board from your google referrence said they don't support multiple X sessions great I don't have intel
 
Old 05-27-2005, 10:15 AM   #8
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
ATI doesn't offer very good support for Linux.

You should have considered the nvidia cards for running Linux. Their drivers are much better in Linux.

I have heard scuttlebut that the open source community may be able to reverse engineer support in the kernel, however, so some waiting time may be in order.
 
Old 05-27-2005, 10:20 AM   #9
johnnydangerous
Member
 
Registered: Jan 2005
Location: Sofia, Bulgaria
Distribution: Fedora Core 4 Rawhide
Posts: 431

Original Poster
Rep: Reputation: 30
it's working - Ati perfect I tried World oF warcraft via wineX and rune for linux
 
  


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
KDE 3.3 Bad Monitor Switching on Desktop Switching Inchoate Linux - Software 1 05-25-2005 03:00 PM
Auto Switching between multiple KDE Desktops jhisaac1 Linux - General 0 12-09-2004 02:01 PM
Fast User Switching or Multiple X login screens - How? suslik Slackware 10 08-31-2004 08:50 AM
Switching off a CPU of a multiple CPU machine kravisudhakar Linux - General 1 12-26-2003 11:13 AM
Question about switching to Linux with Multiple Users Whitehat Linux - General 7 04-25-2003 01:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 11:49 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