Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 04-19-07, 11:17 AM   #1
Chuck Law
Registered User
 
Join Date: Mar 2007
Posts: 12
Default Restart X without logging out

In the nvidia xconfig tool there is an apply button where changes are applied without logging out of X. I want to create a script that sets the xorg.conf depending on the user that logs in, so I want to know how do whatever the apply button does from the command line. Anybody know?
Thanks!
Chuck Law is offline   Reply With Quote
Old 04-26-07, 10:38 AM   #2
Chuck Law
Registered User
 
Join Date: Mar 2007
Posts: 12
Default Re: Restart X without logging out

bump
Chuck Law is offline   Reply With Quote
Old 04-26-07, 11:32 AM   #3
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: Restart X without logging out

The source to nvidia-settings is GPL'd.
netllama is offline   Reply With Quote
Old 04-26-07, 05:19 PM   #4
js22
Registered User
 
Join Date: Apr 2007
Posts: 19
Default Re: Restart X without logging out

Quote:
Originally Posted by Chuck Law
In the nvidia xconfig tool there is an apply button where changes are applied without logging out of X. I want to create a script that sets the xorg.conf depending on the user that logs in, so I want to know how do whatever the apply button does from the command line. Anybody know?
Thanks!

Maybe not exctly what you are looking for, but an eay way to do it would be to change your default runlevel to 3 instead of 5. Runlevel 3 (as used in installing nvidia drivers) gives the user a console-based login prompt. Once the user is logged in, a script could determine the user's id and execute startx with the appropriate xorg.conf.

HTH
js22 is offline   Reply With Quote
Old 04-30-07, 10:07 AM   #5
Chuck Law
Registered User
 
Join Date: Mar 2007
Posts: 12
Default Re: Restart X without logging out

Thanks guys,

I'm going to try the source code. We want the resolution to be set depending on the user logging in, and restarting x (using ctl+al+backspace or gdm-restart) after they log in will force them to log in again. Now it's just a matter of finding where in the source code this is done,

Thanks again
Chuck Law is offline   Reply With Quote
Reply


Thread Tools

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
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Nvidia driver stopped working after X restart and Kernel taint msgs during boot mikejuni NVIDIA Linux 10 05-21-12 08:30 PM
poor kde X windows performance after restart HeadStrong NVIDIA Linux 5 08-19-02 07:17 PM

All times are GMT -5. The time now is 11:59 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.