LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-25-2005, 05:57 PM   #1
rubendarioportillo
LQ Newbie
 
Registered: Sep 2005
Location: Asuncion, Paraguay
Distribution: Red Hat, SuSE, Ubuntu, Fedora3
Posts: 14

Rep: Reputation: 0
To restart user session.Please Important


We have some machines, like terminals(sun devices).All they are connected to my Server .I wanna kill session for student01 an restart it, when it crash.

What are the processes I shuold kill for that user.

We use ps -fu student01. It shows me the processes for that user(A lot of them).Wich one I have to kill.
Regards
 
Old 10-25-2005, 10:30 PM   #2
NoStop
Member
 
Registered: Feb 2005
Location: Canada
Distribution: Debian Etch - Enlightenment E17
Posts: 116

Rep: Reputation: 15
The bash process for that user should do it.

Cheers.
 
Old 10-26-2005, 02:43 AM   #3
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
init is the parent to all processes. If you can run "/sbin/init 3" on the student's machine, and then "/sbin/init 5" it will restart the graphical part. Or you can hit "ctrl-alt-backspace" to restart the X server.
 
Old 11-01-2005, 07:33 AM   #4
TruongAn
Member
 
Registered: Dec 2004
Location: Vietnam (Việt Nam)
Distribution: Gentoo (desktop), Arch linux (laptop)
Posts: 728

Rep: Reputation: 33
Kill X process and it the gui will be restart automatically
 
  


Reply



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
To restart user session.Gnome environment rubendarioportillo Linux - Enterprise 2 10-31-2005 11:43 PM
Normal User to restart syslog server lier74ok Linux - Security 2 05-12-2005 12:23 AM
Dont restart/shutdown in a Gnome-session? Ytsejammer Linux - Software 5 12-25-2004 01:13 PM
RedHat AS 2.1 : Cluster restart detected. Rereading session ID. sbouhnik1 Red Hat 0 01-06-2004 09:01 AM
Normal User Restart and Shutdown InsaneBob Linux - Software 2 08-23-2003 05:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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