Configuring vncserver to use gnome

It's easy, in theory, to get vnc to launch with a gnome desktop. However, in practice, there are a couple of problems.

The basics of getting gnome to work are to include a call to gnome-session in .vnc/xstartup

$ more .vnc/xstartup
#!/bin/sh
/bin/gnome-session &

This should work, except when a single user is trying to run multiple gnome sessions on the same machine. The symptom of this problem is an error in the log file saying that a session manager is already running. This can be solved by starting the vnc session on a different machine.

The next problem is there's no text displayed - the icons appear, but no captions. Inspecting the log files shows plenty of warning messages about invalid subfonts. The simplest way of dealing with this issue is to use a Solaris 10 system to host the vnc session

Comments:

I recommend you to start /usr/dt/config/Xsession.jds :)

Posted by Yong Sun on June 13, 2007 at 11:54 AM PDT #

Post a Comment:
Comments are closed for this entry.
About

Darryl Gove is a senior engineer in the Solaris Studio team, working on optimising applications and benchmarks for current and future processors. He is also the author of the books:
Multicore Application Programming
Solaris Application Programming
The Developer's Edge

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
5
6
8
9
10
12
13
14
15
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today
Bookmarks
The Developer's Edge
Solaris Application Programming
Publications
Webcasts
Presentations
OpenSPARC Book
Multicore Application Programming
Docs