Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Desktop
User Name
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.


  Search this Thread
Old 12-09-2008, 05:25 PM   #1
Registered: Jun 2008
Location: St.-Petersburg, Russia
Distribution: (B)LFS, Ubuntu, SliTaz
Posts: 403

Rep: Reputation: 51
How to restart X without having to close connected applications

How can i restart X server, not losing any running X apps, but having them reconnected to new instance of X server instead?
Old 12-09-2008, 06:16 PM   #2
Senior Member
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,186

Rep: Reputation: 347Reputation: 347Reputation: 347Reputation: 347
You can't.

What you can do is start a new X-session on a different tty (screen) which should leave the apps running in the first session untouched. (This is how some display managers [e.g., KDM] allow multiple log-ins of different users using the the same physical display/keyboard.)

Might one ask what you're trying to accomplish? Your stated goal sounds much like "How can I have my cake after I finished eating it?"
Old 12-10-2008, 07:35 AM   #3
Registered: Jun 2008
Location: St.-Petersburg, Russia
Distribution: (B)LFS, Ubuntu, SliTaz
Posts: 403

Original Poster
Rep: Reputation: 51
Might one ask what you're trying to accomplish?
I want to have an ability to change some X settings which need server restart without restarting applications, connected to that same server. I guess that to realize it i may have to hack Xorg, but i am still interested.
Old 12-12-2008, 06:19 AM   #4
Registered: Apr 2003
Distribution: ANY
Posts: 339

Rep: Reputation: 32
just look at some bugs in X and youll figure it out....
google "tossed event which came in late".
ive personally ran programs in X with X non respondent(Im not lying).
which has led me to believe there is alot of the
xserver that isnt needed...(a whole lot).
let me know what you figure out.

ps...try fluxbox you can reset the session without killling the apps. wont restart X but depending on what your looking for might work.

Last edited by deepsix; 12-12-2008 at 06:32 AM.


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
Urgent : Why cannot i get connected to internet after system restart covaigold Linux - Software 1 02-11-2005 10:56 PM
KDE applications lost their close buttons after upgrade Mrcdm Debian 6 01-14-2005 11:01 AM
Modem connected but unknown host errors from applications. ruse Linux - Distributions 7 09-11-2004 11:25 PM
Applications close automatically, hardware issue Balkman Linux - Hardware 6 04-20-2004 10:44 AM
some applications (games) won't close down TallAmericano Mandriva 6 10-10-2003 01:56 AM > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 06:04 AM.

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