Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 10-25-2005, 06:57 PM   #1
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.
Old 10-25-2005, 11:30 PM   #2
Registered: Feb 2005
Location: Canada
Distribution: Debian Etch - Enlightenment E17
Posts: 116

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

Old 10-26-2005, 03:43 AM   #3
Senior Member
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 3,117

Rep: Reputation: 549Reputation: 549Reputation: 549Reputation: 549Reputation: 549Reputation: 549
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, 08:33 AM   #4
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


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

All times are GMT -5. The time now is 02:54 PM.

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