LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 05-23-2009, 07:47 AM   #1
Sm1ler
Member
 
Registered: Apr 2004
Location: UK
Distribution: Fedora Core (all), Knoppix, RHEL, Centos, Debian
Posts: 100

Rep: Reputation: 16
Why can't I open another Xserver on VT7 to 8 in Fedora 10 to start a remote x session


Hi All,

It's been a long time since I have tried this on a Fedora box but it worked perfectly on my RHEL5 box.

Here is the process I followed,

X :1.0 vt8 2>&1 > /dev/null & # opens the Xserver on vt8 (ctrl + Alt +f8)

xauth list # Lists xauth entries and keys

xauth add hostname/unix:1 . HEX VALUE RESULTS FROM Xauth list command for
your hostname
i.e xauth add Ouroboros/unix:1 . 05d810832 etc etc
# adds authorisation for host on server using key

xterm -display :1.0 & # open xterm on display 1 - you can now ssh and start
a session i.e gnome-session


Now I am trying to do this on my Fedora 10 laptop to try and start another Xserver to have a full remote gnome session on a test box, but once I run
X :1.0 vt8 2>&1 > /dev/null & - I cannot get back to vt1 and my own session and the system appears to hang with no errors, I cannot even restart X with ctrl alt and bkspace. When I reboot there are no errors! it just seems to hang fully...

Does anyone have any idea's?
Cheers
Smiler
 
Old 05-24-2009, 08:20 PM   #2
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 82
I think it's because the xserver will only allow one active connection. Can you try using vnc over ssh or some such?
 
Old 05-28-2009, 12:55 PM   #3
Sm1ler
Member
 
Registered: Apr 2004
Location: UK
Distribution: Fedora Core (all), Knoppix, RHEL, Centos, Debian
Posts: 100

Original Poster
Rep: Reputation: 16
Thanks for the reply, Any ideas why this may have been limited and if I can unlimit it?. I don't remember reading anything about it myself.

I always found it to be a great solution to run another xserver on a spare VT and use it to pump a full ssh Xsession from a remote server - I remember in one of my old contracts I used to support a number of SUN and Redhat boxes from my Fedora 7 or 8 machine and used to have their connections from VT8 to 12 - and even the full desktop's when I wanted or I had to show the DBA's anything!
 
Old 05-28-2009, 01:46 PM   #4
Sm1ler
Member
 
Registered: Apr 2004
Location: UK
Distribution: Fedora Core (all), Knoppix, RHEL, Centos, Debian
Posts: 100

Original Poster
Rep: Reputation: 16
Just another thought, why would it kill my system so badly, When I run the first command the VT does change to 8 and I can see the Xserver start (all grey with mouse) - then I try to change back to VT1 to run the next command but I get a blank screen and then cannot change back to any other terminal VT1 to 8 I just get a blank screen and no form of exit works.
 
Old 05-28-2009, 04:16 PM   #5
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 82
I'm not sure exactly why this won't work, but I do know that the xserver in Fedora 10 is similar to the one in ubuntu 8.10, and they both have this type of problem.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Open graphic remote session kermit Linux - Software 2 01-28-2005 06:09 AM
can't start remote X session PAM error felkin Linux - General 6 08-25-2004 08:27 PM
start VNC in remote x session yourEgg Linux - Networking 0 05-17-2004 05:48 PM
Command to start remote KDE session on Debian The_Fed Linux - Newbie 1 04-19-2004 04:31 PM
How to start a remote X session? ejennings_98 Linux - Newbie 2 02-22-2004 10:08 PM


All times are GMT -5. The time now is 07:03 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration