How to start X window?


 
Thread Tools Search this Thread
Operating Systems HP-UX How to start X window?
# 1  
Old 12-27-2011
How to start X window?

hi,
here is a HP workstation C9000 with HP-UX system in my office. couple days ago we shutdown the system. when trying to turn the it on, the system failed to start X window.

my boss ask me fix it, but i am new of unix world.

please be kindly to teach me how to get error message and fix it.

thanks !!

Last edited by ethandaddy; 12-27-2011 at 10:01 PM..
# 2  
Old 12-27-2011
If it couldn't create an X window, that may mean the X server is not running. Check if that service is running.
# 3  
Old 12-27-2011
What's the error message you get when trying to start X windows? There are lock files which prevent starting another X server session. If you powered down the system without gracefully shutting it down, it could be possible that the lock files are still there and causing the issue. Let us know the error message and check logs for X windows to get an idea of what's happening.
# 4  
Old 12-27-2011
thanks for response.

it just stop at console login ,and show no message. ususally X-window will auto start.

check Xerrors is empty.

How to make sure the X-server is running?


[IMG]file:///C:/DOCUME%7E1/00022862/LOCALS%7E1/Temp/moz-screenshot.png[/IMG]
# 5  
Old 12-28-2011
Okay, what happens when you execute "startx". If the X server is running or if it's due to lock files, you will see the error message. If the server is not running, it will start the services automatically. Also, check the run level. X and CDE start in run level 2 by default for HP-UX. To check the run level, execute this:
Code:
who -r

If you are in different run level, execute the below command to go to run level 2:
Code:
init 2

Let us know if this helps.
This User Gave Thanks to admin_xor For This Post:
# 6  
Old 12-28-2011
thanks

use "who -r"
shows " run-level 3 Dec 11 10:47 3 0 S "
use "init 2" ok and chenge level to level 2

then ? shuld I reboot it?

after reboot the workstation. It still stop at console login

Last edited by ethandaddy; 12-28-2011 at 12:25 AM..
# 7  
Old 12-28-2011
still can not start X window..............Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Splitting week start date and end date based on custom period start dates

Below are my custom period start and end dates based on a calender, these dates are placed in a file, for each period i need to split into three weeks for each period row, example is given below. Could you please help out to achieve solution through shell script.. File content: ... (2 Replies)
Discussion started by: nani2019
2 Replies

2. UNIX for Beginners Questions & Answers

Toggle between xterm window and standard terminal window

Is it possible to toggle back and forth between an xterm invoked from one tty, and a shell invoked from a different tty? I am running Centos 7 with KDE and booting in non-graphic mode. After logging in on the default window (/dev/tty1) , I can then use ALT-F2 to access a new window (/dev/tty2),... (1 Reply)
Discussion started by: rhgscty
1 Replies

3. IP Networking

TCP initial congestion window (slow-start)

I have noticed that the initial congestion window in my traces is 8920bytes~=6*1448. rfc3390 states the initial cwand should be max 4000 bytes(around 3*1448). At first i thought it might be because i'm running my server on mac os x, so apple might have modified the tcp stack. Therefore I tried... (2 Replies)
Discussion started by: ddayan
2 Replies

4. Red Hat

Maximizing X window without Window Switcher

Hi everyone! I have a strange situation. I'm running an NX remote Gnome desktop session. On the remote machine, there is a whole load of unsaved data in a window. A problem that I've been having with this NX session is that I can't load Gnome Applets, including the Window Switcher. So.. when I... (0 Replies)
Discussion started by: alexandicity
0 Replies

5. Shell Programming and Scripting

Start program in background (or start crontab ahead of time)

Hey! I'm working on a script that will add a user, create some configfiles, and add a crontab for the user. The crontab looks like the following: @reboot /home/user/program config.conf & I would like for this process to start at the end of my script under the corresponding username by... (0 Replies)
Discussion started by: noratx
0 Replies

6. AIX

Q: how to start a service when system start

As topic, assume we have a service called "blahservice" and we can start it by: startsrc -s blahservice what is the best practice to run such command when system start? - directly use mkitab to add it into /etc/inittab or - drop startup scripts in /etc/rc.d/rcX.d I know they... (4 Replies)
Discussion started by: acerlinux
4 Replies

7. Linux

where to put an application if i want to start it on start up

hi i want to know the way by which i put any file somewhere and it get s started when the system restarts or bots i mean whenever my system starts that application must also start thanks (3 Replies)
Discussion started by: shukla_chanchal
3 Replies

8. HP-UX

how to start the x window system

hi, am new to hp-ux, i just bought an hp-ux with the hp-ux 11.0 os, is very old, and i wnat to start the x window system but it send an error that said that couldn't open the x server, i try startx, xinit, and nothing, and also where i can find tutorials for hp-ux os for beginners (7 Replies)
Discussion started by: nobody
7 Replies

9. Windows & DOS: Issues & Discussions

window 2000 professional not pinging my window 98 system.

Hello, We someone help me resolve this problem. I have window 2000 professional, windows 98 and Unixware 7.0.1 on the network. I was able to establish connection with all. However, l was unable to ping window 98 from window 2000 professional. I was able to ping the window 2000 from the window... (10 Replies)
Discussion started by: kayode
10 Replies

10. UNIX for Dummies Questions & Answers

How do I start a program when I start my Computer?

I'm running MAC OS X and I'm wondering how I start 'nixey programs (not normal apps) on startup? Things like the dnet client and hxd Hotline Server. Anyone know? (1 Reply)
Discussion started by: l008com
1 Replies
Login or Register to Ask a Question