LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 06-14-2007, 02:29 AM   #1
JoSch1337
LQ Newbie
 
Registered: Nov 2006
Posts: 7

Rep: Reputation: 0
Question General X Server / virtual terminal questions


I'm on Ubuntu Feisty and now played a bit with new x servers in my virtual terminals and found out a lot through crawaling the inet but I still have a few questions.

I figured out that by switching to tty1 with STRG+ALT+F1 and doing the following I can create a new X server with a xterm in tty9:
Code:
X :1 &
export DISPLAY=:1
xterm
This way I can even add more than 4 new servers but since there is no F13 key I can use `chvt n` from tty1 to switch to any virtual terminal I created a new Xserver on.

All this gets a little tricky if I want to do this in my existing X session in tty7.
1. To run chvt I need sudo but I did a sudo chmod +s /usr/bin/chvt and now I can chvt without being root.
2. I can not creat a new X server fro the gnome terminal. I found out, that I have to change allowed_users=anybody in /etc/X11/Xwrapper.config and now this works too.
strangly enough this new Xservers wont show up when I do a ps -e | grep Xorg in tty1 - in my gnome terminal they do.
3. I cannot run applications from the gnome terminal in a specific X session. Even after I do a export DISPLAY=:1 this error message will show up:
Code:
X: client 1 rejected from local host (uid 1000)
Xlib: connection to ":1.0" refused by server
Xlib: No protocol specified

xterm Xt error: Can't open display: :1.0
I cannot even do this from tty1 now, if the x session was created by the gnome terminal.
I found the xhost + command but it didn't change anything. Can you help?
 
  


Reply

Tags
terminal, tty, virtual, xorg, xserver



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
linux terminal server questions linuxnoobhelp Linux - Networking 2 12-25-2004 10:56 PM
Webmin Vitualmin SUEXEC Apache Virtual Named Based Server Setup Questions ? Confused! wishiwas Linux - Software 0 12-02-2003 09:47 PM
General Server questions...Not on configurations techrolla Linux - General 11 11-30-2003 11:56 AM
Terminal Server Questions kc8cie Linux - Networking 2 03-10-2003 09:04 PM
Virtual server dns questions linuxwannabe Linux - General 5 05-17-2002 05:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:54 AM.

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