LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-17-2003, 11:41 AM   #1
gauge73
Member
 
Registered: Jan 2003
Location: Dallas, TX
Distribution: Fedora Core 4
Posts: 420

Rep: Reputation: 30
GNOME in VNC?


I'm running VNC per someone's suggestion in an earlier post. I have it running and I'm connected to my home linux box from work. I have three questions:

1) Is there any way I can get GNOME running instead of just X?
2) If yes, then how can I have this done by default instead of having to redo it all the time?
3) Is the VNC connection secure (i.e. encrypted)?

Thanks for the help.
 
Old 04-17-2003, 11:54 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
1) yes
2) run - "echo exec gnome-session > ~/.vnc/xstartup"
3) don't think so by default, but you can add support no doubt.
 
Old 04-17-2003, 11:55 AM   #3
gauge73
Member
 
Registered: Jan 2003
Location: Dallas, TX
Distribution: Fedora Core 4
Posts: 420

Original Poster
Rep: Reputation: 30
Well, I just managed to get GNOME started, kind of. I got an xwindow that was the GNOME desktop, and another that was the GNOME panel (or taskbar). Is there a neater way of doing this? What would be really nice is if I could maximize things. :/
 
Old 04-17-2003, 11:59 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
i really don't get what you mean... screenshot?
 
Old 04-17-2003, 01:20 PM   #5
gauge73
Member
 
Registered: Jan 2003
Location: Dallas, TX
Distribution: Fedora Core 4
Posts: 420

Original Poster
Rep: Reputation: 30
I mean, each part of the desktop is in its own xwindow, that I have to move around and place within VNC.

The desktop itself is in an xwindow that opens when I run the command you gave me (but I had to omit the echo part). Then the "panel" or taskbar, as I call it, is also in its own window that I can move around freely. And then every application and window I open with GNOME also is an xwindow. I can't screenshot it at the moment, and that's about as good of a description as I can give you.

I did get some error messages when I tried to run GNOME...

Xlib: extension "RENDER" missing on display ":1.0".
Xlib: extension "RENDER" missing on display ":1.0".
Window manager warning: Screen 0 on display ":1.0" already has a window manager
Xlib: extension "RENDER" missing on display ":1.0".
Window manager warning: Screen 0 on display ":1.0" already has a window manager
Xlib: extension "RENDER" missing on display ":1.0".
Window manager warning: Screen 0 on display ":1.0" already has a window manager
Xlib: extension "RENDER" missing on display ":1.0".
...

Ideas?
 
Old 04-17-2003, 01:33 PM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
huh? if you "omitted" the echo part then it's a completely different command.....
 
Old 04-17-2003, 01:34 PM   #7
gauge73
Member
 
Registered: Jan 2003
Location: Dallas, TX
Distribution: Fedora Core 4
Posts: 420

Original Poster
Rep: Reputation: 30
Oh, and one other stupid question... how do you start an xterm on the VNC Server if there is nothing but a blank desktop?
 
Old 04-17-2003, 01:36 PM   #8
gauge73
Member
 
Registered: Jan 2003
Location: Dallas, TX
Distribution: Fedora Core 4
Posts: 420

Original Poster
Rep: Reputation: 30
Well, if I typed it as you wrote it, there was no response whatsoever. I had been starting GNOME by simply typing gnome-session previoiusly, so I thought I'd see what it did without the echo command, and it started GNOME.

What should it do when I type it in as you said?

I'm a Linux newbie.
 
Old 04-17-2003, 01:38 PM   #9
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
ok that command will make gnome load automatically when you start a vnc session, as opposed to laoding kde, something else, or nothing at all. you should not need to actually type in gnome-session anywhere if that file is set up corretly
 
Old 04-17-2003, 01:39 PM   #10
gauge73
Member
 
Registered: Jan 2003
Location: Dallas, TX
Distribution: Fedora Core 4
Posts: 420

Original Poster
Rep: Reputation: 30
Ah, okay. So, I need to restart the VNC server then? Or just reconnect?
 
Old 04-17-2003, 01:43 PM   #11
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
kill the vnc server and restart it.
 
Old 04-17-2003, 01:46 PM   #12
gauge73
Member
 
Registered: Jan 2003
Location: Dallas, TX
Distribution: Fedora Core 4
Posts: 420

Original Poster
Rep: Reputation: 30
Bingo. You are the king, AK.

What was the difference between the following two commands?

gnome-session
exec gnome-session

Or was the difference the fact that it was in the xstartup file instead of being run manually?

And I'm still curious about how to open an xterm when you're at a blank desktop. I accidentally closed my shell one time and had to restart the vncserver as a result. :/
 
Old 04-17-2003, 01:49 PM   #13
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
you could open it from a console with something like

xterm --display :1

but generally you wouldn't... you'd load a desktop manager first.
 
Old 04-17-2003, 05:57 PM   #14
azornoz
Member
 
Registered: Apr 2003
Posts: 52

Rep: Reputation: 15
hi, I cannot load my desktop in the vncviewer. Mi xstartscript is:
#!/bin/sh

# Mandrake Linux VNC session startup script
exec /etc/X11/xinit/xinitrc

I only see the blue background of my desktop, no icons no panel nothing at all. I've been triying in the script : kdestart, kdesktop,gnome-session and all I got were lots of errors and anytime a grey desktop.
I've read VNC FAQ q#16 and #21
http://www.uk.research.att.com/vnc/faq.html#q21
as RolledOat suggested me.
Any ideas will be wellcomed.
 
Old 04-17-2003, 08:26 PM   #15
gauge73
Member
 
Registered: Jan 2003
Location: Dallas, TX
Distribution: Fedora Core 4
Posts: 420

Original Poster
Rep: Reputation: 30
I had it all working just fine, and suddenly I'm back to square one. I don't believe that I've changed anything at all. I, too, login to a blank environment now with no shell, no GNOME... nothing.

My xstartup script only had the following line in it:

exec gnome-session

but now that doesn't work. Could anyone at least tell me how to open a shell from a blank background if you can't tell me how to bring GNOME up on startup again?
 
  


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
need VNC to allow 'logout/login' from Gnome (gnome & VNC runs fine) spudler Linux - Networking 3 11-14-2004 10:02 AM
VNC and Gnome Aurga Linux - General 24 11-12-2004 02:16 PM
Gnome and VNC acting up RiR Linux - Software 5 02-27-2004 06:49 PM
Gnome and VNC laurentbon Slackware 3 10-08-2003 09:30 AM
gnome and vnc android1654 Linux - Software 2 07-03-2003 02:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:00 PM.

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