LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-18-2004, 08:44 AM   #1
reddog64
Member
 
Registered: Apr 2004
Posts: 34

Rep: Reputation: 15
Help Getting started


I'm a netowrk admin, but have no clue at linux (flame suit on)

So...

I have a dedicated server.. redhat running.. that's it...

I've set up the firewall.. allowing web and ftp.. and ssh...
I installed vnc so i can actually get to it.. cause i decided typing in ssh is not for me...

but now i cant get to vnc... it is running... but i cant connect...

so the question.. what fricking ports.. well i think it's 5900 tp 5902...

so where do i add these ports to pass them through in tehbuilt in redhat firewall...

cansome one help me please... I'm lost... i've been up all night and i'm off to bed... LOL

i can connect to ssh i can verify it is runnign but it says it cant connect (vnc)

any ideas, what files to add ports to..
A better firewall???

-Aaron
 
Old 04-18-2004, 09:08 AM   #2
reddog64
Member
 
Registered: Apr 2004
Posts: 34

Original Poster
Rep: Reputation: 15
ok...
i completely disabled the firewall..

there is nothign on this server... nothign i care about...
so no it's in no danger...

when i connect to it in ssh.. just fine...
run "setup" and check no firewall... then quit and "reboot now"

it reboots...

i ssh in type "vncserver" it says "vncserver:1" confimrs it started it...

but when i try to connect via my windows machine i get a cannot connect error...

it's lve on dual t-1's... not the ip i'm at now... sorry

anyone...?

I'm off to bed... done for the night.. (well day now)
 
Old 04-18-2004, 09:12 AM   #3
reddog64
Member
 
Registered: Apr 2004
Posts: 34

Original Poster
Rep: Reputation: 15
GOT IT!!!

(i'm good at doing my own reply's, LOL)

well kinda...

i had to do 12.12.12.12:1 i was doing :5900

but all i get is a box with a command line.. i want to start xwindows or somethign.. how do i do that...
 
Old 04-18-2004, 02:06 PM   #4
vdogvictor
Member
 
Registered: Feb 2004
Distribution: Arch
Posts: 498

Rep: Reputation: 31
lol yes you are good at replying to yourself lol.

the command to start x is believe it or not startx lol you may have to type kde or gnome after that
 
Old 04-18-2004, 05:44 PM   #5
reddog64
Member
 
Registered: Apr 2004
Posts: 34

Original Poster
Rep: Reputation: 15
when i do "startx" this is what i get... ideas???


[root@linuxbox root]# startx
Using authority file /root/.Xauthority
Writing authority file /root/.Xauthority
Using authority file /root/.Xauthority
Writing authority file /root/.Xauthority

Fatal server error:
Server is already active for display 0
If this server is no longer running, remove /tmp/.X0-lock
and start again.


If you encounter a server crash, please report the problem by filing a bug
report in the XFree86.org bugzilla at http://bugs.xfree86.org and/or Red Hat
bugzilla at http://bugzilla.redhat.com/bugzilla. When filing your report, it
is very important that you explain your problem in as much detail as possible,
and include a complete description on how to reproduce the problem. After
submitting the bug report, attach the following files as uncompressed
individual file attachments using the bugzilla file attachment feature:
- Kernel log file: /var/log/messages


Xlib: connection to ":0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
giving up.
xinit: unable to connect to X server
xinit: No such process (errno 3): Server error.
 
Old 04-18-2004, 06:22 PM   #6
vdogvictor
Member
 
Registered: Feb 2004
Distribution: Arch
Posts: 498

Rep: Reputation: 31
do you have more than one video card? if so switch to the other video card (switch the BIOS too so that u can still get th ecommand prompt). if not run the command

xf86config

that is a program that will resetup your x window system...you have to know a bit about your monitor and your mouse and your video card and such. run the command

SuperProbe

too find out about your video card. I think you must be root. after that try startx
d
 
Old 04-18-2004, 06:45 PM   #7
reddog64
Member
 
Registered: Apr 2004
Posts: 34

Original Poster
Rep: Reputation: 15
no it's a radeon 7000 it's fine.. if i sit at teh terminal it starts fine... thatis i turn the box on and it's in xwindows....

but when i vnc it goes to a grey screen with a box... but the cursor is the x cursor...
how do i change it to gnome then or kde?

-Aaron
 
Old 04-18-2004, 09:04 PM   #8
vdogvictor
Member
 
Registered: Feb 2004
Distribution: Arch
Posts: 498

Rep: Reputation: 31
try xwmconfig before u start x if that isnt a command try switchdesk gnome (or kde)
 
Old 04-18-2004, 09:29 PM   #9
reddog64
Member
 
Registered: Apr 2004
Posts: 34

Original Poster
Rep: Reputation: 15
it works now.. i like it alot!

i edited a line in teh xstartup to gnome? and now it works... but we did other stuff.. so i'm slowly adding security to it to see where it kill it..

LOL

Thanks Guy's!!!

-Aaron
 
Old 04-18-2004, 10:45 PM   #10
vdogvictor
Member
 
Registered: Feb 2004
Distribution: Arch
Posts: 498

Rep: Reputation: 31
lol you fix your own problem alot lol :-P
 
  


Reply


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
Getting Started mattp Linux - Laptop and Netbook 6 01-08-2005 11:51 PM
Getting started k06878 Linux - Newbie 12 11-19-2004 08:42 AM
Getting Started burningtheory Linux - Distributions 2 09-07-2004 03:32 PM
Getting started.... noclue_menew Linux - Newbie 31 10-03-2003 01:44 PM
getting started ? gsmackay Programming 3 04-15-2003 11:46 AM


All times are GMT -5. The time now is 09:45 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration